mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 07:01:54 +00:00
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
|
||||
];
|
||||
|
||||
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
|
||||
-i driver/Makefile.in po/Makefile.in.in
|
||||
'';
|
||||
|
||||
configureFlags =
|
||||
|
Loading…
Reference in New Issue
Block a user