summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2017-08-23 17:54:52 +0000
committerjlam <jlam@pkgsrc.org>2017-08-23 17:54:52 +0000
commit5d8da09c98909e18268a11a346099c2f4540213b (patch)
tree4b145b9d4bcb45748ecb2584bfe0241999b26274 /www
parentda3274f420be13dfa984678acb193dc66aae1454 (diff)
downloadpkgsrc-5d8da09c98909e18268a11a346099c2f4540213b.tar.gz
Add PERL_USE_UNSAFE_INC=1 to a few Perl module Makefiles.
The following packages fail to build due to "." not being in @INC: devel/p5-PPI-PowerToys sysutils/p5-Monitoring-Plugin textproc/p5-Text-Xslate www/SpeedyCGI Pass PERL_USE_UNSAFE_INC=1 through MAKE_ENV to allow the configure and build to proceed. This needs to be revisited when perl-5.30.0 is released and that environment variable is removed from Perl.
Diffstat (limited to 'www')
-rw-r--r--www/SpeedyCGI/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/www/SpeedyCGI/Makefile b/www/SpeedyCGI/Makefile
index 98cd19bdac1..5f91338c535 100644
--- a/www/SpeedyCGI/Makefile
+++ b/www/SpeedyCGI/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2017/02/07 12:13:12 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2017/08/23 17:54:53 jlam Exp $
DISTNAME= CGI-SpeedyCGI-2.22
PKGNAME= SpeedyCGI-2.22
@@ -12,7 +12,10 @@ COMMENT= Speed up perl scripts by running them persistently
MAKE_JOBS_SAFE= no
-PERL5_PACKLIST= auto/CGI/SpeedyCGI/.packlist
+PERL5_PACKLIST= auto/CGI/SpeedyCGI/.packlist
+
+# XXX Kick can down the road and hope the developer fixes this issue.
+MAKE_ENV+= PERL_USE_UNSAFE_INC=1
SUBST_CLASSES+= run
SUBST_STAGE.run= post-patch