summaryrefslogtreecommitdiff
path: root/net/p5-SNMP
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-08-29 20:48:08 +0000
committerjlam <jlam@pkgsrc.org>2000-08-29 20:48:08 +0000
commitcc2672fd874a85794c29fc6e39f7e4e775589357 (patch)
tree2baa0d94f35cb70d3f5d7150e791b78f4c3f8c11 /net/p5-SNMP
parentfaeeab4d350ecd58856082ea9cb0c2746b3853b0 (diff)
downloadpkgsrc-cc2672fd874a85794c29fc6e39f7e4e775589357.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/Makefile11
-rw-r--r--net/p5-SNMP/pkg/PLIST4
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