guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: po4a: Work around "dotless @INC" build issues.


From: Ricardo Wurmus
Subject: 01/01: gnu: po4a: Work around "dotless @INC" build issues.
Date: Thu, 27 Jul 2017 04:21:23 -0400 (EDT)

rekado pushed a commit to branch core-updates
in repository guix.

commit dd54d3d5dafefc5845cec118538d1e07469ca8b3
Author: Ricardo Wurmus <address@hidden>
Date:   Thu Jul 27 10:20:23 2017 +0200

    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(+)

diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm
index 4453585..76c01b1 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 _



reply via email to

[Prev in Thread] Current Thread [Next in Thread]