From 201c0e72768fa92e2035512e16c17c07f308815b Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Thu, 27 Jul 2017 16:20:46 -0400 Subject: 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 aac0f9664c..b4e6ce435b 100644 --- a/gnu/packages/gd.scm +++ b/gnu/packages/gd.scm @@ -154,6 +154,11 @@ (define-public perl-gd-securityimage (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 -- cgit v1.2.3