ioquake3: fix preConfigure phase

Using `makeFlags` doesn't do anything, using the local `Makefile.local` is actually working.
This commit is contained in:
Pol Dellaiera 2023-08-21 21:59:55 +02:00
parent 8bccf2aacd
commit b2871a6ca8
No known key found for this signature in database
GPG Key ID: D476DFE9C67467CA
2 changed files with 11 additions and 1 deletions

View 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

View File

@ -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" ];