guix-commits
[Top][All Lists]
Advanced

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

25/31: gnu: aalib: Use INVOKE.


From: Tobias Geerinckx-Rice
Subject: 25/31: gnu: aalib: Use INVOKE.
Date: Wed, 30 May 2018 22:55:36 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 3103101ec91ebb8a9d9d15362211fecc660ab459
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Sun Apr 1 07:56:45 2018 +0200

    gnu: aalib: Use INVOKE.
    
    * gnu/packages/video.scm (aalib)[arguments]: Substitute INVOKE for
    SYSTEM*.
---
 gnu/packages/video.scm | 32 ++++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 03bde3f..5f04527 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -160,22 +160,22 @@
                     (let ((out     (assoc-ref outputs "out"))
                           (ncurses (assoc-ref inputs "ncurses")))
                       (setenv "CONFIG_SHELL" (which "bash"))
-                      (zero? (system* "./configure"
-                                      (string-append "--prefix=" out)
-                                      (string-append "--build=" build)
-                                      ;; The ancient config.guess is unable to
-                                      ;; guess the host triplet on mips64el.
-                                      ,@(if (string=? "mips64el-linux"
-                                                      (%current-system))
-                                            
'("--host=mips64el-unknown-linux-gnu")
-                                            '())
-                                      ;; The same is also true with aarch64.
-                                      ,@(if (string=? "aarch64-linux"
-                                                      (%current-system))
-                                            
'("--host=aarch64-unknown-linux-gnu")
-                                            '())
-                                      (string-append "--with-ncurses="
-                                                     ncurses)))))))))
+                      (invoke "./configure"
+                              (string-append "--prefix=" out)
+                              (string-append "--build=" build)
+                              ;; The ancient config.guess is unable to
+                              ;; guess the host triplet on mips64el.
+                              ,@(if (string=? "mips64el-linux"
+                                              (%current-system))
+                                    '("--host=mips64el-unknown-linux-gnu")
+                                    '())
+                              ;; The same is also true with aarch64.
+                              ,@(if (string=? "aarch64-linux"
+                                              (%current-system))
+                                    '("--host=aarch64-unknown-linux-gnu")
+                                    '())
+                              (string-append "--with-ncurses="
+                                             ncurses))))))))
     (home-page "http://aa-project.sourceforge.net/aalib/";)
     (synopsis "ASCII-art library")
     (description



reply via email to

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