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

commit 3d77ecfed4aab76fbd1a4b6718e44f42f482a70b
Author: Mark H Weaver <[email protected]>
Date:   Fri Mar 23 01:36:49 2018 -0400

    gnu: apr-util: Use invoke.
    
    * gnu/packages/apr.scm (apr-util)[arguments]: Use invoke in the custom
    configure phase.
---
 gnu/packages/apr.scm | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/apr.scm b/gnu/packages/apr.scm
index 62af24f..8ccec08 100644
--- a/gnu/packages/apr.scm
+++ b/gnu/packages/apr.scm
@@ -1,6 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2013 Cyril Roelandt <[email protected]>
-;;; Copyright © 2014, 2015 Mark H Weaver <[email protected]>
+;;; Copyright © 2014, 2015, 2018 Mark H Weaver <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -87,11 +87,10 @@ around or take advantage of platform-specific deficiencies 
or features.")
                    (apr   (assoc-ref inputs  "apr"))
                    (expat (assoc-ref inputs  "expat")))
                (setenv "CONFIG_SHELL" (which "bash"))
-               (zero?
-                (system* "./configure"
-                         (string-append "--prefix=" out)
-                         (string-append "--with-apr=" apr)
-                         (string-append "--with-expat=" expat)))))))
+               (invoke "./configure"
+                       (string-append "--prefix=" out)
+                       (string-append "--with-apr=" apr)
+                       (string-append "--with-expat=" expat))))))
 
        ;; There are race conditions during 'make check'.  Typically, the
        ;; 'testall' executable is not built yet by the time 'make check' tries

Reply via email to