summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-01-24 21:16:29 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-01-24 21:18:11 +0100
commit6e59d91af19370fa75a681ebc34556fa677a8cbf (patch)
treef0c752ac3049efb32bd60b625a25a334e10416d4
parentbdd914af004951be927efbd1f944f7f4b21e2963 (diff)
downloadguix-6e59d91af19370fa75a681ebc34556fa677a8cbf.tar.gz
gnu: clamav: Unconditionally return #T from build phase.
* gnu/packages/antivirus.scm (clamav)[arguments]: Use INVOKE.
-rw-r--r--gnu/packages/antivirus.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/antivirus.scm b/gnu/packages/antivirus.scm
index 95749761bd..c3f11865e2 100644
--- a/gnu/packages/antivirus.scm
+++ b/gnu/packages/antivirus.scm
@@ -112,8 +112,10 @@
        ;; install sample .conf files to %output/etc rather than /etc/clamav
        #:make-flags (list (string-append "sysconfdir=" %output "/etc"))
        #:phases (modify-phases %standard-phases
+                  ;; Regenerate configure script.  Without this we don't get
+                  ;; the correct value for LLVM linker variables.
                   (add-after 'unpack 'reconf
-                    (lambda _ (zero? (system* "autoreconf" "-vfi"))))
+                    (lambda _ (invoke "autoreconf" "-vfi")))
                   (add-before 'configure 'patch-llvm-config
                     (lambda _
                       (substitute* '("libclamav/c++/detect.cpp"