guix-commits
[Top][All Lists]
Advanced

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

01/02: gnu: openttd-engine: Use INVOKE.


From: guix-commits
Subject: 01/02: gnu: openttd-engine: Use INVOKE.
Date: Sat, 26 Jan 2019 15:59:18 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 369a91d9317374d107b509bfe83456e5ce83b1f8
Author: Ricardo Wurmus <address@hidden>
Date:   Sat Jan 26 21:57:38 2019 +0100

    gnu: openttd-engine: Use INVOKE.
    
    * gnu/packages/games.scm (openttd-engine)[arguments]: Use INVOKE in 
configure
    phase.
---
 gnu/packages/games.scm | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 5aa8fe6..edd7a1d 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -2346,15 +2346,14 @@ world}, @uref{http://evolonline.org, Evol Online} and
                      #:allow-other-keys)
              (let ((out (assoc-ref outputs "out"))
                    (lzo (assoc-ref inputs "lzo")))
-               (zero?
-                (apply system* "./configure"
-                       (string-append "--prefix=" out)
-                       ;; Provide the "lzo" path.
-                       (string-append "--with-liblzo2="
-                                      lzo "/lib/liblzo2.a")
-                       ;; Put the binary in 'bin' instead of 'games'.
-                       "--binary-dir=bin"
-                       configure-flags))))))))
+               (apply invoke "./configure"
+                      (string-append "--prefix=" out)
+                      ;; Provide the "lzo" path.
+                      (string-append "--with-liblzo2="
+                                     lzo "/lib/liblzo2.a")
+                      ;; Put the binary in 'bin' instead of 'games'.
+                      "--binary-dir=bin"
+                      configure-flags)))))))
     (native-inputs `(("pkg-config" ,pkg-config)))
     (inputs
      `(("allegro" ,allegro)



reply via email to

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