forked from mirrors/nixpkgs
xscreensaver: change patchPhase into preConfigure so that one can use patches, fix a comment
This commit is contained in:
parent
6258728318
commit
3e15f6a370
|
@ -18,12 +18,13 @@ stdenv.mkDerivation rec {
|
|||
libXxf86misc intltool
|
||||
];
|
||||
|
||||
patchPhase =
|
||||
preConfigure =
|
||||
''
|
||||
# Fix build error in version 5.18. Remove this patch when updating
|
||||
# to a later version.
|
||||
#sed -i -e '/AF_LINK/d' hacks/glx/sonar-icmp.c
|
||||
# Fix path to GTK.
|
||||
|
||||
# Fix installation paths for GTK resources.
|
||||
sed -e 's%@GTK_DATADIR@%@datadir@% ; s%@PO_DATADIR@%@datadir@%' \
|
||||
-i driver/Makefile.in po/Makefile.in.in
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue