guix-commits
[Top][All Lists]
Advanced

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

02/02: gnu: perl-gd-securityimage: Fix build with Perl 5.26.0.


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

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

commit 201c0e72768fa92e2035512e16c17c07f308815b
Author: Leo Famulari <address@hidden>
Date:   Thu Jul 27 16:20:46 2017 -0400

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

diff --git a/gnu/packages/gd.scm b/gnu/packages/gd.scm
index aac0f96..b4e6ce4 100644
--- a/gnu/packages/gd.scm
+++ b/gnu/packages/gd.scm
@@ -154,6 +154,11 @@ you can create PNG images on the fly or modify existing 
files.")
         (base32
          "1kaxs67rfd4w46lxgcg3pa05a596l0h1k8n4zk2gwrrar4022wpx"))))
     (build-system perl-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'set-env
+           (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1"))))))
     (native-inputs
      `(("perl-module-build" ,perl-module-build)))
     (propagated-inputs



reply via email to

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