[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: bioinformatics: Work around more "dotless @INC" build failur
From: |
Ben Woodcroft |
Subject: |
01/01: gnu: bioinformatics: Work around more "dotless @INC" build failures. |
Date: |
Thu, 31 Aug 2017 00:39:36 -0400 (EDT) |
benwoodcroft pushed a commit to branch master
in repository guix.
commit 0691851a64382090c6deb30b967217725bdaaad6
Author: Ben Woodcroft <address@hidden>
Date: Thu Aug 31 12:37:05 2017 +0800
gnu: bioinformatics: Work around more "dotless @INC" build failures.
* gnu/packages/bioinformatics.scm (ncbi-vdb, sra-tools)[arguments]: Add
'set-perl-search-path' phase.
---
gnu/packages/bioinformatics.scm | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index e372953..70418cd 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -4751,6 +4751,13 @@ simultaneously.")
#:tests? #f ; no "check" target
#: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
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
@@ -5056,6 +5063,13 @@ sequence itself can be retrieved from these databases.")
"/lib32")))
#: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
(lambda* (#:key inputs outputs #:allow-other-keys)
;; The build system expects a directory containing the sources and