gnu: ioquake3: Deduplicate make flags.

* gnu/packages/game-development.scm (ioquake3)[arguments]:
Honour #:make-flags in the 'install phase.
This commit is contained in:
Tobias Geerinckx-Rice 2022-08-14 02:00:00 +02:00
parent 466021fb90
commit 5456a144c7
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -2178,12 +2178,12 @@ (define-public ioquake3
#~(modify-phases %standard-phases
(delete 'configure) ; no configure-script
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(invoke "make" "copyfiles" "CC=gcc"
"USE_INTERNAL_LIBS=0"
(string-append "COPYDIR="
(assoc-ref outputs "out")
"/bin")))))))
(lambda* (#:key make-flags outputs #:allow-other-keys)
(apply invoke "make" "copyfiles"
(string-append "COPYDIR="
(assoc-ref outputs "out")
"/bin")
make-flags))))))
(home-page "https://ioquake3.org/")
(synopsis "FPS game engine based on Quake 3")
(description "ioquake3 is a free software first person shooter engine