pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Add PERL_USE_UNSAFE_INC=1 to a few Perl module Makefiles.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/811a5663aff0
branches:  trunk
changeset: 367086:811a5663aff0
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Aug 23 17:54:52 2017 +0000

description:
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:

 devel/p5-PPI-PowerToys/Makefile        |  5 ++++-
 sysutils/p5-Monitoring-Plugin/Makefile |  5 ++++-
 textproc/p5-Text-Xslate/Makefile       |  5 ++++-
 www/SpeedyCGI/Makefile                 |  7 +++++--
 4 files changed, 17 insertions(+), 5 deletions(-)

diffs (75 lines):

diff -r bf78ed9cbb3c -r 811a5663aff0 devel/p5-PPI-PowerToys/Makefile
--- a/devel/p5-PPI-PowerToys/Makefile   Wed Aug 23 17:54:34 2017 +0000
+++ b/devel/p5-PPI-PowerToys/Makefile   Wed Aug 23 17:54:52 2017 +0000
@@ -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 @@
 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 -r bf78ed9cbb3c -r 811a5663aff0 sysutils/p5-Monitoring-Plugin/Makefile
--- a/sysutils/p5-Monitoring-Plugin/Makefile    Wed Aug 23 17:54:34 2017 +0000
+++ b/sysutils/p5-Monitoring-Plugin/Makefile    Wed Aug 23 17:54:52 2017 +0000
@@ -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 @@
 
 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 -r bf78ed9cbb3c -r 811a5663aff0 textproc/p5-Text-Xslate/Makefile
--- a/textproc/p5-Text-Xslate/Makefile  Wed Aug 23 17:54:34 2017 +0000
+++ b/textproc/p5-Text-Xslate/Makefile  Wed Aug 23 17:54:52 2017 +0000
@@ -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 @@
 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 -r bf78ed9cbb3c -r 811a5663aff0 www/SpeedyCGI/Makefile
--- a/www/SpeedyCGI/Makefile    Wed Aug 23 17:54:34 2017 +0000
+++ b/www/SpeedyCGI/Makefile    Wed Aug 23 17:54:52 2017 +0000
@@ -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 @@
 
 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



Home | Main Index | Thread Index | Old Index