[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: gnu: perl-authen-sasl: Fix build with Perl 5.26.0.
From: |
Leo Famulari |
Subject: |
03/03: gnu: perl-authen-sasl: Fix build with Perl 5.26.0. |
Date: |
Wed, 14 Jun 2017 11:42:27 -0400 (EDT) |
lfam pushed a commit to branch core-updates
in repository guix.
commit f61d39ac0b4392441cbc497791ed5530568fc9d6
Author: Leo Famulari <address@hidden>
Date: Wed Jun 14 10:36:50 2017 -0400
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.
---
gnu/packages/web.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 5f27ef9..398fdf3 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)))