xscreensaver: change patchPhase into preConfigure so that one can use patches, fix a comment
This commit is contained in:
parent
6258728318
commit
3e15f6a370
|
@ -18,14 +18,15 @@ stdenv.mkDerivation rec {
|
||||||
libXxf86misc intltool
|
libXxf86misc intltool
|
||||||
];
|
];
|
||||||
|
|
||||||
patchPhase =
|
preConfigure =
|
||||||
''
|
''
|
||||||
# Fix build error in version 5.18. Remove this patch when updating
|
# Fix build error in version 5.18. Remove this patch when updating
|
||||||
# to a later version.
|
# to a later version.
|
||||||
#sed -i -e '/AF_LINK/d' hacks/glx/sonar-icmp.c
|
#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@%' \
|
sed -e 's%@GTK_DATADIR@%@datadir@% ; s%@PO_DATADIR@%@datadir@%' \
|
||||||
-i driver/Makefile.in po/Makefile.in.in
|
-i driver/Makefile.in po/Makefile.in.in
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags =
|
configureFlags =
|
||||||
|
|
Loading…
Reference in New Issue