diff options
author | jlam <jlam> | 2000-08-29 20:48:08 +0000 |
---|---|---|
committer | jlam <jlam> | 2000-08-29 20:48:08 +0000 |
commit | 3124513b07d00a6281f0a9c64a8b08999710e62b (patch) | |
tree | 2baa0d94f35cb70d3f5d7150e791b78f4c3f8c11 /net/p5-SNMP | |
parent | 0e491cdedb49d7b4ada62b39b36c658a0759f2bd (diff) | |
download | pkgsrc-3124513b07d00a6281f0a9c64a8b08999710e62b.tar.gz |
Until the sources for these packages catch up to the current (post-5.6.0)
Perl API, we need to pass -DPERL_POLLUTE=1 to the build process to look
like an older perl.
Diffstat (limited to 'net/p5-SNMP')
-rw-r--r-- | net/p5-SNMP/Makefile | 11 | ||||
-rw-r--r-- | net/p5-SNMP/pkg/PLIST | 4 |
2 files changed, 9 insertions, 6 deletions
diff --git a/net/p5-SNMP/Makefile b/net/p5-SNMP/Makefile index 355fe1d16e2..eb8caa75fa4 100644 --- a/net/p5-SNMP/Makefile +++ b/net/p5-SNMP/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2000/08/27 07:11:17 jlam Exp $ +# $NetBSD: Makefile,v 1.7 2000/08/29 20:48:14 jlam Exp $ # FreeBSD Id: Makefile,v 1.1.1.1 1997/06/27 01:53:13 jfitz Exp # @@ -14,11 +14,14 @@ DEPENDS= ucd-snmp>=4.0.1:../../net/ucd-snmp USE_PERL5= # defined PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/SNMP/.packlist +# Until the source catches up to the current Perl API, we need PERL_POLLUTE +# to look like an older perl. +MAKE_PARAMS= DEFINE="-DPERL_POLLUTE=1" + do-configure: - @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${MAKE_PARAMS} post-install: - @${INSTALL_DATA} ${WRKSRC}/README \ - ${PREFIX}/lib/perl5/site_perl/README.SNMP + @${INSTALL_DATA} ${WRKSRC}/README ${PERL5_SITELIB}/README.SNMP .include "../../mk/bsd.pkg.mk" diff --git a/net/p5-SNMP/pkg/PLIST b/net/p5-SNMP/pkg/PLIST index e52964024e4..4204921d87f 100644 --- a/net/p5-SNMP/pkg/PLIST +++ b/net/p5-SNMP/pkg/PLIST @@ -1,2 +1,2 @@ -@comment $NetBSD: PLIST,v 1.1 2000/08/27 07:11:18 jlam Exp $ -lib/perl5/site_perl/README.SNMP +@comment $NetBSD: PLIST,v 1.2 2000/08/29 20:48:14 jlam Exp $ +${PERL5_SITELIB}/README.SNMP |