gnu: clamav: Unconditionally return #T from build phase.

* gnu/packages/antivirus.scm (clamav)[arguments]: Use INVOKE.
This commit is contained in:
Ricardo Wurmus 2019-01-24 21:16:29 +01:00
parent bdd914af00
commit 6e59d91af1
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -112,8 +112,10 @@ (define-public clamav
;; 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"