guix-commits
[Top][All Lists]
Advanced

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

01/02: gnu: perl-feed-find: Fix build with Perl 5.26.0.


From: Leo Famulari
Subject: 01/02: gnu: perl-feed-find: Fix build with Perl 5.26.0.
Date: Thu, 27 Jul 2017 16:22:29 -0400 (EDT)

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

commit 70629b6d9a7fc48fdbe4667f99d004c9a99ba703
Author: Leo Famulari <address@hidden>
Date:   Thu Jul 27 16:18:07 2017 -0400

    gnu: perl-feed-find: Fix build with Perl 5.26.0.
    
    * gnu/packages/web.scm (perl-feed-find)[arguments]: Set PERL_USE_UNSAFE_INC 
in
    new 'set-env' phase.
---
 gnu/packages/web.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index e9c5021..7baee03 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -1980,7 +1980,11 @@ with Encode::decode(locale => $string).")
     (build-system perl-build-system)
     (arguments
      ;; Tests expect to query files at http://stupidfool.org/perl/feeds/
-     `(#:tests? #f))
+     `(#:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'set-env
+           (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1"))))))
     (inputs
      `(("perl-class-errorhandler" ,perl-class-errorhandler)
        ("perl-html-parser" ,perl-html-parser)



reply via email to

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