pkgsrc/sysutils/p5-Monitoring-Plugin/Makefile
jlam 1dbd21188d 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.
2017-08-23 17:54:52 +00:00

24 lines
864 B
Makefile

# $NetBSD: Makefile,v 1.2 2017/08/23 17:54:52 jlam Exp $
DISTNAME= Monitoring-Plugin-0.39
PKGNAME= p5-${DISTNAME}
CATEGORIES= sysutils perl5
MASTER_SITES= http://search.cpan.org/CPAN/authors/id/N/NI/NIERLEIN/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://metacpan.org/pod/Monitoring::Plugin
COMMENT= family of perl modules for monitoring plugins
LICENSE= ${PERL5_LICENSE}
DEPENDS+= p5-Class-Accessor>=0.34:../../devel/p5-Class-Accessor
DEPENDS+= p5-Config-Tiny>=2.23:../../devel/p5-Config-Tiny
DEPENDS+= p5-Params-Validate>=1.26:../../devel/p5-Params-Validate
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"