me
/
guix
Archived
1
0
Fork 0

gnu: bioinformatics: Work around more "dotless @INC" build failures.

* gnu/packages/bioinformatics.scm (ncbi-vdb, sra-tools)[arguments]: Add
'set-perl-search-path' phase.
master
Ben Woodcroft 2017-08-31 12:37:05 +08:00
parent c959e5a1dc
commit 0691851a64
No known key found for this signature in database
GPG Key ID: 2A6AD9F4AAC20DF6
1 changed files with 14 additions and 0 deletions

View File

@ -4751,6 +4751,13 @@ simultaneously.")
#:tests? #f ; no "check" target #:tests? #f ; no "check" target
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'configure 'set-perl-search-path
(lambda _
;; Work around "dotless @INC" build failure.
(setenv "PERL5LIB"
(string-append (getcwd) "/setup:"
(getenv "PERL5LIB")))
#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")))
@ -5056,6 +5063,13 @@ sequence itself can be retrieved from these databases.")
"/lib32"))) "/lib32")))
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'configure 'set-perl-search-path
(lambda _
;; Work around "dotless @INC" build failure.
(setenv "PERL5LIB"
(string-append (getcwd) "/setup:"
(getenv "PERL5LIB")))
#t))
(replace 'configure (replace 'configure
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
;; The build system expects a directory containing the sources and ;; The build system expects a directory containing the sources and