guix-commits
[Top][All Lists]
Advanced

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

04/18: gnu: libtocc: Return #t from all phases.


From: Tobias Geerinckx-Rice
Subject: 04/18: gnu: libtocc: Return #t from all phases.
Date: Fri, 22 Jun 2018 17:22:17 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 9947dcd746deaacf239f51eff06cf6faa523060b
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Fri Jun 22 21:28:16 2018 +0200

    gnu: libtocc: Return #t from all phases.
    
    * gnu/packages/search.scm (libtocc)[arguments]: Substitute INVOKE for
    SYSTEM*. Return #t rather than undefined from phases. Re-indent.
---
 gnu/packages/search.scm | 36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm
index e176fd1..e9e7481 100644
--- a/gnu/packages/search.scm
+++ b/gnu/packages/search.scm
@@ -126,24 +126,24 @@ rich set of boolean query operators.")
     (inputs `(("unqlite" ,unqlite)))
     (arguments
      `(#:phases (modify-phases %standard-phases
-                  (add-before
-                   'configure 'chdir-source
-                   (lambda _ (chdir "libtocc/src")))
-                  (replace
-                   'check
-                   (lambda _
-                     (with-directory-excursion "../tests"
-                       (and (zero? (system* "./configure"
-                                            (string-append "CONFIG_SHELL="
-                                                           (which "sh"))
-                                            (string-append "SHELL="
-                                                           (which "sh"))
-                                            "CPPFLAGS=-I../src"
-                                            (string-append
-                                             "LDFLAGS=-L../src/.libs "
-                                             "-Wl,-rpath=../src/.libs")))
-                            (zero? (system* "make"))
-                            (zero? (system* "./libtocctests")))))))))
+                  (add-before 'configure 'chdir-source
+                    (lambda _
+                      (chdir "libtocc/src")
+                      #t))
+                  (replace 'check
+                    (lambda _
+                      (with-directory-excursion "../tests"
+                        (invoke "./configure"
+                                (string-append "CONFIG_SHELL="
+                                               (which "sh"))
+                                (string-append "SHELL="
+                                               (which "sh"))
+                                "CPPFLAGS=-I../src"
+                                (string-append
+                                 "LDFLAGS=-L../src/.libs "
+                                 "-Wl,-rpath=../src/.libs"))
+                        (invoke "make")
+                        (invoke "./libtocctests")))))))
     (home-page "https://t-o-c-c.com/";)
     (synopsis "Tool for Obsessive Compulsive Classifiers")
     (description



reply via email to

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