gnu: blast+: Use INVOKE and return #T unconditionally.
* gnu/packages/bioinformatics.scm (blast+)[arguments]: Use INVOKE and return #T unconditionally.
This commit is contained in:
parent
f8b697a385
commit
f45093429c
|
@ -1071,15 +1071,12 @@ package provides command line tools using the Bio++ library.")
|
|||
#:parallel-build? #f ; not supported
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before
|
||||
'configure 'set-HOME
|
||||
(add-before 'configure 'set-HOME
|
||||
;; $HOME needs to be set at some point during the configure phase
|
||||
(lambda _ (setenv "HOME" "/tmp") #t))
|
||||
(add-after
|
||||
'unpack 'enter-dir
|
||||
(add-after 'unpack 'enter-dir
|
||||
(lambda _ (chdir "c++") #t))
|
||||
(add-after
|
||||
'enter-dir 'fix-build-system
|
||||
(add-after 'enter-dir 'fix-build-system
|
||||
(lambda _
|
||||
(define (which* cmd)
|
||||
(cond ((string=? cmd "date")
|
||||
|
@ -1127,8 +1124,7 @@ package provides command line tools using the Bio++ library.")
|
|||
(("action=/bin/") "action=")
|
||||
(("export PATH") ":"))
|
||||
#t))
|
||||
(replace
|
||||
'configure
|
||||
(replace 'configure
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out"))
|
||||
(lib (string-append (assoc-ref outputs "lib") "/lib"))
|
||||
|
@ -1136,7 +1132,7 @@ package provides command line tools using the Bio++ library.")
|
|||
"/include/ncbi-tools++")))
|
||||
;; The 'configure' script doesn't recognize things like
|
||||
;; '--enable-fast-install'.
|
||||
(zero? (system* "./configure.orig"
|
||||
(invoke "./configure.orig"
|
||||
(string-append "--with-build-root=" (getcwd) "/build")
|
||||
(string-append "--prefix=" out)
|
||||
(string-append "--libdir=" lib)
|
||||
|
@ -1151,7 +1147,8 @@ package provides command line tools using the Bio++ library.")
|
|||
;; with "-static" in its name, and again
|
||||
;; without.
|
||||
"--without-static"
|
||||
"--with-dll"))))))))
|
||||
"--with-dll")
|
||||
#t))))))
|
||||
(outputs '("out" ; 21 MB
|
||||
"lib" ; 226 MB
|
||||
"include")) ; 33 MB
|
||||
|
|
Loading…
Reference in New Issue