aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/image.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-08-05 00:11:41 +0200
committerLudovic Courtès <ludo@gnu.org>2017-08-05 00:31:26 +0200
commita56bf101c603aac3c7e2fc47bd8bd025f2ed44a6 (patch)
tree1458ec8e51c4e58ed6b0dfde0ed1a18f7ed0cdf6 /gnu/packages/image.scm
parent240d3ceff78464a160d099adfb6463f4f17d6616 (diff)
downloadguix-a56bf101c603aac3c7e2fc47bd8bd025f2ed44a6.tar
guix-a56bf101c603aac3c7e2fc47bd8bd025f2ed44a6.tar.gz
gnu: perl: Work around more "dotless @INC" build issues.
* gnu/packages/web.scm (perl-www-curl)[arguments]: Add 'set-search-path' phase. * gnu/packages/bioinformatics.scm (ngs-sdk)[arguments]: Augment 'configure' phase to set PERL5LIB. * gnu/packages/image.scm (steghide)[arguments]: Add #:phases argument.
Diffstat (limited to 'gnu/packages/image.scm')
-rw-r--r--gnu/packages/image.scm11
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 1b230b5700..5bc9a77174 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -986,7 +986,16 @@ differences in file encoding, image quality, and other small variations.")
("libjpeg" ,libjpeg)
("zlib" ,zlib)))
(arguments
- `(#:make-flags '("CXXFLAGS=-fpermissive"))) ;required for MHashPP.cc
+ `(#:make-flags '("CXXFLAGS=-fpermissive") ;required for MHashPP.cc
+
+ #:phases (modify-phases %standard-phases
+ (add-before 'configure 'set-perl-search-path
+ (lambda _
+ ;; Work around "dotless @INC" build failure.
+ (setenv "PERL5LIB"
+ (string-append (getcwd) "/tests:"
+ (getenv "PERL5LIB")))
+ #t)))))
(home-page "http://steghide.sourceforge.net")
(synopsis "Image and audio steganography")
(description