guix-commits
[Top][All Lists]
Advanced

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

07/08: gnu: aalib: Use invoke.


From: Mark H. Weaver
Subject: 07/08: gnu: aalib: Use invoke.
Date: Tue, 27 Mar 2018 21:37:06 -0400 (EDT)

mhw pushed a commit to branch core-updates
in repository guix.

commit 3595e83dc5e0a8540c93340bf3039c46269b1155
Author: Mark H Weaver <address@hidden>
Date:   Tue Mar 27 00:55:28 2018 -0400

    gnu: aalib: Use invoke.
    
    * gnu/packages/video.scm (aalib)[arguments]: Use invoke in the custom
    configure phase.
---
 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 df91f94..f148a07 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -153,22 +153,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]