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

* gnu/packages/perl.scm (perl-unicode-collate)[arguments]: Add
'set-perl-search-path' phase.
* gnu/packages/xorg.scm (perl-x11-xcb)[arguments]: Likewise.
This commit is contained in:
Marius Bakke 2017-08-27 15:01:16 +02:00
parent 88d5889c40
commit ebd181138e
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
2 changed files with 16 additions and 0 deletions

View File

@ -8165,6 +8165,16 @@ common serialisation formats such as JSON or CBOR.")
(base32 (base32
"1lq4p3mqqljhhy8wyiyahris33j4m5qfzpi6iacmcqjzw5g4afbm")))) "1lq4p3mqqljhhy8wyiyahris33j4m5qfzpi6iacmcqjzw5g4afbm"))))
(build-system perl-build-system) (build-system perl-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'configure 'set-perl-search-path
(lambda _
;; Work around "dotless @INC" build failure.
(setenv "PERL5LIB"
(string-append (getcwd) ":"
(getenv "PERL5LIB")))
#t)))))
(propagated-inputs (propagated-inputs
`(("perl-unicode-normalize" ,perl-unicode-normalize))) `(("perl-unicode-normalize" ,perl-unicode-normalize)))
(home-page "http://search.cpan.org/dist/Unicode-Collate") (home-page "http://search.cpan.org/dist/Unicode-Collate")

View File

@ -5764,6 +5764,12 @@ programs that cannot use the window system directly.")
#:parallel-build? #f #:parallel-build? #f
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'configure 'set-perl-search-path
(lambda _
(setenv "PERL5LIB"
(string-append (getcwd) ":"
(getenv "PERL5LIB")))
#t))
(add-before 'build 'patch-Makefile (add-before 'build 'patch-Makefile
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(substitute* "Makefile" (substitute* "Makefile"