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.
This commit is contained in:
Leo Famulari 2017-07-27 16:20:46 -04:00
parent 70629b6d9a
commit 201c0e7276
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08

View File

@ -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