guix-commits
[Top][All Lists]
Advanced

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

32/38: gnu: transfig: Return #t from phases.


From: Tobias Geerinckx-Rice
Subject: 32/38: gnu: transfig: Return #t from phases.
Date: Mon, 25 Jun 2018 22:24:26 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 6c91c0f3462207ff331e1caf3ba32304be218727
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Mon Jun 25 00:09:32 2018 +0200

    gnu: transfig: Return #t from phases.
    
    * gnu/packages/xfig.scm (transfig)[arguments]: Substitute INVOKE for
    SYSTEM*. Return #t rather than undefined from phases.
---
 gnu/packages/xfig.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/xfig.scm b/gnu/packages/xfig.scm
index 86fbd91..9c1f285 100644
--- a/gnu/packages/xfig.scm
+++ b/gnu/packages/xfig.scm
@@ -119,7 +119,7 @@ selected in various ways.  For text, 35 fonts are 
available.")
                  (("/usr/local/lib/fig2dev") (string-append out "/lib")))
                ;; The -a argument is required in order to pick up the correct 
paths
                ;; to several X header files.
-               (zero? (system* "xmkmf" "-a"))
+               (invoke "xmkmf" "-a")
                (substitute* '("Makefile"
                               "fig2dev/Makefile"
                               "transfig/Makefile")
@@ -130,10 +130,11 @@ selected in various ways.  For text, 35 fonts are 
available.")
                  (("(MANPATH = )[[:graph:]]*" _ front)
                   (string-append front out "/share/man"))
                  (("(CONFDIR = )([[:graph:]]*)" _ front default)
-                  (string-append front out default))))))
+                  (string-append front out default)))
+               #t)))
          (add-after 'install 'install/doc
            (lambda _
-             (zero? (system* "make" "install.man")))))))
+             (invoke "make" "install.man"))))))
     (home-page "http://mcj.sourceforge.net/";)
     (synopsis "Create portable LaTeX figures")
     (description



reply via email to

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