diff options
author | jlam <jlam@pkgsrc.org> | 2017-08-23 17:54:52 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2017-08-23 17:54:52 +0000 |
commit | 5d8da09c98909e18268a11a346099c2f4540213b (patch) | |
tree | 4b145b9d4bcb45748ecb2584bfe0241999b26274 | |
parent | da3274f420be13dfa984678acb193dc66aae1454 (diff) | |
download | pkgsrc-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.
-rw-r--r-- | devel/p5-PPI-PowerToys/Makefile | 5 | ||||
-rw-r--r-- | sysutils/p5-Monitoring-Plugin/Makefile | 5 | ||||
-rw-r--r-- | textproc/p5-Text-Xslate/Makefile | 5 | ||||
-rw-r--r-- | www/SpeedyCGI/Makefile | 7 |
4 files changed, 17 insertions, 5 deletions
diff --git a/devel/p5-PPI-PowerToys/Makefile b/devel/p5-PPI-PowerToys/Makefile index 87262e19bfe..a3990a10ad4 100644 --- a/devel/p5-PPI-PowerToys/Makefile +++ b/devel/p5-PPI-PowerToys/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2017/06/05 14:23:25 ryoon Exp $ +# $NetBSD: Makefile,v 1.12 2017/08/23 17:54:52 jlam Exp $ # DISTNAME= PPI-PowerToys-0.14 @@ -25,5 +25,8 @@ USE_LANGUAGES= # empty PERL5_PACKLIST= auto/PPI/PowerToys/.packlist PERL5_MODULE_TYPE= Module::Install::Bundled +# XXX Kick can down the road and hope the developer fixes this issue. +MAKE_ENV+= PERL_USE_UNSAFE_INC=1 + .include "../../lang/perl5/module.mk" .include "../../mk/bsd.pkg.mk" diff --git a/sysutils/p5-Monitoring-Plugin/Makefile b/sysutils/p5-Monitoring-Plugin/Makefile index 92be0b192b1..c717458072a 100644 --- a/sysutils/p5-Monitoring-Plugin/Makefile +++ b/sysutils/p5-Monitoring-Plugin/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2017/07/03 16:29:43 bsiegert Exp $ +# $NetBSD: Makefile,v 1.2 2017/08/23 17:54:52 jlam Exp $ DISTNAME= Monitoring-Plugin-0.39 PKGNAME= p5-${DISTNAME} @@ -17,5 +17,8 @@ DEPENDS+= p5-Math-Calc-Units>=1.07:../../math/p5-Math-Calc-Units PERL5_PACKLIST= auto/Monitoring/Plugin/.packlist +# XXX Kick can down the road and hope the developer fixes this issue. +MAKE_ENV+= PERL_USE_UNSAFE_INC=1 + .include "../../lang/perl5/module.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/p5-Text-Xslate/Makefile b/textproc/p5-Text-Xslate/Makefile index f86ee2245a4..82105ba7b64 100644 --- a/textproc/p5-Text-Xslate/Makefile +++ b/textproc/p5-Text-Xslate/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2017/06/05 14:24:53 ryoon Exp $ +# $NetBSD: Makefile,v 1.28 2017/08/23 17:54:53 jlam Exp $ DISTNAME= Text-Xslate-3.4.0 PKGNAME= p5-${DISTNAME} @@ -24,5 +24,8 @@ DEPENDS+= p5-Test-LeakTrace>=0:../../devel/p5-Test-LeakTrace PERL5_PACKLIST= auto/Text/Xslate/.packlist USE_LANGUAGES= c +# XXX Kick can down the road and hope the developer fixes this issue. +MAKE_ENV+= PERL_USE_UNSAFE_INC=1 + .include "../../lang/perl5/module.mk" .include "../../mk/bsd.pkg.mk" 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 |