pkgsrc/textproc/p5-Text-Xslate/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

31 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.28 2017/08/23 17:54:53 jlam Exp $
DISTNAME= Text-Xslate-3.4.0
PKGNAME= p5-${DISTNAME}
PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/S/SY/SYOHEX/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Text-Xslate/
COMMENT= Scalable template engine for Perl5
LICENSE= ${PERL5_LICENSE}
MAKE_JOBS_SAFE= no
DEPENDS+= p5-Data-MessagePack>=0.38:../../devel/p5-Data-MessagePack
#DEPENDS+= {perl>=5.10.1,p5-parent>=0.221}:../../devel/p5-parent
DEPENDS+= p5-Mouse>=2.4.5:../../devel/p5-Mouse
DEPENDS+= p5-Test-Requires>=0:../../devel/p5-Test-Requires
# only for regress test
DEPENDS+= p5-File-Copy-Recursive>=0:../../sysutils/p5-File-Copy-Recursive
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"