gnu: ncbi-vdb: Update to 2.9.6.

* gnu/packages/bioinformatics.scm (ncbi-vdb): Update to 2.9.6.
[arguments]: Pass HAVE_HDF5 make flag; add build phase "patch-krypto-flags".
This commit is contained in:
Ricardo Wurmus 2019-06-20 14:02:27 +02:00
parent b46a9b9a5e
commit 7cb44fb571
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 10 additions and 2 deletions

View File

@ -5582,7 +5582,7 @@ simultaneously.")
(define-public ncbi-vdb (define-public ncbi-vdb
(package (package
(name "ncbi-vdb") (name "ncbi-vdb")
(version "2.9.3") (version "2.9.6")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
@ -5591,11 +5591,12 @@ simultaneously.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1l4ny67nxwv1lagk9wwjbrgm7ln7adci6dnpc7k1yaln6shj0qpm")))) "0knkj1sq34hlivgv5qd6jlczqrs3ldmfgn6vbbw7p4mqxvb9mirk"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:parallel-build? #f ; not supported `(#:parallel-build? #f ; not supported
#:tests? #f ; no "check" target #:tests? #f ; no "check" target
#:make-flags '("HAVE_HDF5=1")
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'make-files-writable (add-after 'unpack 'make-files-writable
@ -5607,6 +5608,13 @@ simultaneously.")
(string-append (getcwd) "/setup:" (string-append (getcwd) "/setup:"
(getenv "PERL5LIB"))) (getenv "PERL5LIB")))
#t)) #t))
;; See https://github.com/ncbi/ncbi-vdb/issues/14
(add-after 'unpack 'patch-krypto-flags
(lambda _
(substitute* "libs/krypto/Makefile"
(("-Wa,-march=generic64\\+aes") "")
(("-Wa,-march=generic64\\+sse4") ""))
#t))
(replace 'configure (replace 'configure
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))) (let ((out (assoc-ref outputs "out")))