summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2017-07-27 15:38:12 -0400
committerLeo Famulari <leo@famulari.name>2017-07-27 16:14:54 -0400
commitf27954a077244b783f47095710b48375dcc9b2ee (patch)
treeef6253706c2405cea3c55934429ff4abc1d65e6e /gnu
parentdd54d3d5dafefc5845cec118538d1e07469ca8b3 (diff)
gnu: perl-encode-hanextra: Fix build with Perl 5.26.0.
* gnu/packages/perl.scm (perl-encode-hanextra)[arguments]: Set PERL_USE_UNSAFE_INC in new 'set-env' phase.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/perl.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 02670724ed..1d485c4843 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2561,6 +2561,11 @@ also known as JIS 2000.")
(base32
"0fj4vd8iva2i0j6s2fyhwgr9afrvhr6gjlzi7805h257mmnb1m0z"))))
(build-system perl-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'set-env
+ (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1"))))))
(home-page "http://search.cpan.org/dist/Encode-HanExtra")
(synopsis "Additional Chinese encodings")
(description "This Perl module provides Chinese encodings that are not