ioquake3: fix preConfigure
phase
Using `makeFlags` doesn't do anything, using the local `Makefile.local` is actually working.
This commit is contained in:
parent
8bccf2aacd
commit
b2871a6ca8
6
pkgs/games/quake3/ioquake/Makefile.local
Normal file
6
pkgs/games/quake3/ioquake/Makefile.local
Normal file
|
@ -0,0 +1,6 @@
|
|||
USE_CURL = 1
|
||||
USE_CURL_DLOPEN = 0
|
||||
USE_FREETYPE = 1
|
||||
USE_INTERNAL_LIBS = 0
|
||||
USE_OPENAL = 1
|
||||
USE_OPENAL_DLOPEN = 0
|
|
@ -16,6 +16,7 @@
|
|||
, libjpeg
|
||||
, makeDesktopItem
|
||||
, freetype
|
||||
, mumble
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
@ -47,11 +48,14 @@ stdenv.mkDerivation {
|
|||
libvorbis
|
||||
libjpeg
|
||||
freetype
|
||||
mumble
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
makeFlags = [ "USE_INTERNAL_LIBS=0" "USE_FREETYPE=1" "USE_OPENAL_DLOPEN=0" "USE_CURL_DLOPEN=0" ];
|
||||
preConfigure = ''
|
||||
cp ${./Makefile.local} ./Makefile.local
|
||||
'';
|
||||
|
||||
installTargets = [ "copyfiles" ];
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user