guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/13: gnu: ioquake3: Deduplicate make flags.


From: guix-commits
Subject: 05/13: gnu: ioquake3: Deduplicate make flags.
Date: Sat, 20 Aug 2022 20:59:41 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 5456a144c70ec11723b7400d9c47ea3abdcf8eed
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Aug 14 02:00:00 2022 +0200

    gnu: ioquake3: Deduplicate make flags.
    
    * gnu/packages/game-development.scm (ioquake3)[arguments]:
    Honour #:make-flags in the 'install phase.
---
 gnu/packages/game-development.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/game-development.scm 
b/gnu/packages/game-development.scm
index 774564ed2a..0a78ec6ad2 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -2178,12 +2178,12 @@ of the others")
         #~(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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]