3
0
Fork 0
forked from mirrors/nixpkgs

xscreensaver: change patchPhase into preConfigure so that one can use patches, fix a comment

This commit is contained in:
Jan Malakhovski 2015-03-21 12:35:51 +00:00
parent 6258728318
commit 3e15f6a370

View file

@ -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
'';