From dd54d3d5dafefc5845cec118538d1e07469ca8b3 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 27 Jul 2017 10:20:23 +0200 Subject: gnu: po4a: Work around "dotless @INC" build issues. * gnu/packages/gettext.scm (po4a)[arguments]: Add build phase "set-search-path". --- gnu/packages/gettext.scm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm index 44535859cb..76c01b1e09 100644 --- a/gnu/packages/gettext.scm +++ b/gnu/packages/gettext.scm @@ -144,6 +144,13 @@ translated messages from the catalogs. Nearly all GNU packages use Gettext.") (arguments `(#:phases (modify-phases %standard-phases + (add-before 'configure 'set-search-path + (lambda _ + ;; Work around "dotless @INC" build failure. + (setenv "PERL5LIB" + (string-append (getcwd) ":" + (getenv "PERL5LIB"))) + #t)) ;; FIXME: One test fails as we don't have SGMLS.pm (add-before 'check 'disable-sgml-test (lambda _ -- cgit v1.2.3