gnu: perl-authen-sasl: Fix build with Perl 5.26.0.

* gnu/packages/web.scm (perl-authen-sasl)[arguments]: Set PERL_USE_UNSAFE_INC in
'set-env' build phase.
This commit is contained in:
Leo Famulari 2017-06-14 10:36:50 -04:00
parent 94522776fb
commit f61d39ac0b
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -1026,6 +1026,13 @@ (define-public perl-authen-sasl
(base32
"02afhlrdq5hh5g8b32fa79fqq5i76qzwfqqvfi9zi57h31szl536"))))
(build-system perl-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'set-env
;; Fix the build with Perl 5.26.0. Try removing this phase for later
;; versions of perl-authen-sasl.
(lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t)))))
(propagated-inputs
`(("perl-digest-hmac" ,perl-digest-hmac)
("perl-gssapi" ,perl-gssapi)))