aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/web.scm
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2017-06-14 10:36:50 -0400
committerLeo Famulari <leo@famulari.name>2017-06-14 11:30:12 -0400
commitf61d39ac0b4392441cbc497791ed5530568fc9d6 (patch)
treeb8b27a9cc11894ec5fe79799962da9fb6d9bcf32 /gnu/packages/web.scm
parent94522776fba2c31cde96b5f0780d0e6995fb8c92 (diff)
downloadpatches-f61d39ac0b4392441cbc497791ed5530568fc9d6.tar
patches-f61d39ac0b4392441cbc497791ed5530568fc9d6.tar.gz
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.
Diffstat (limited to 'gnu/packages/web.scm')
-rw-r--r--gnu/packages/web.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 5f27ef957d..398fdf3ae7 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -1026,6 +1026,13 @@ to perl-code, for faster generation of access_log lines.")
(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)))