urbanterror: fix configurePhase
phase
Use `preConfigure` and external file instead.
This commit is contained in:
parent
b2871a6ca8
commit
8f508af8dc
5
pkgs/games/urbanterror/Makefile.local
Normal file
5
pkgs/games/urbanterror/Makefile.local
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
USE_CURL = 1
|
||||||
|
USE_CURL_DLOPEN = 0
|
||||||
|
USE_FREETYPE = 1
|
||||||
|
USE_OPENAL = 1
|
||||||
|
USE_OPENAL_DLOPEN = 0
|
|
@ -56,15 +56,8 @@ stdenv.mkDerivation {
|
||||||
SDL
|
SDL
|
||||||
];
|
];
|
||||||
|
|
||||||
configurePhase = ''
|
preConfigure = ''
|
||||||
runHook preConfigure
|
cp ${./Makefile.local} ./Makefile.local
|
||||||
|
|
||||||
echo "USE_OPENAL = 1" > Makefile.local
|
|
||||||
echo "USE_OPENAL_DLOPEN = 0" >> Makefile.local
|
|
||||||
echo "USE_CURL = 1" >> Makefile.local
|
|
||||||
echo "USE_CURL_DLOPEN = 0" >> Makefile.local
|
|
||||||
|
|
||||||
runHook postConfigure
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installTargets = [ "copyfiles" ];
|
installTargets = [ "copyfiles" ];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user