summaryrefslogtreecommitdiff
path: root/comms/p5-pilot-link/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2000-08-29 20:48:08 +0000
committerjlam <jlam>2000-08-29 20:48:08 +0000
commit3124513b07d00a6281f0a9c64a8b08999710e62b (patch)
tree2baa0d94f35cb70d3f5d7150e791b78f4c3f8c11 /comms/p5-pilot-link/Makefile
parent0e491cdedb49d7b4ada62b39b36c658a0759f2bd (diff)
downloadpkgsrc-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 'comms/p5-pilot-link/Makefile')
-rw-r--r--comms/p5-pilot-link/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/comms/p5-pilot-link/Makefile b/comms/p5-pilot-link/Makefile
index 0ca8440177d..edea0f34854 100644
--- a/comms/p5-pilot-link/Makefile
+++ b/comms/p5-pilot-link/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2000/08/27 07:11:00 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2000/08/29 20:48:08 jlam Exp $
DISTNAME= pilot-link.0.9.3
PKGNAME= p5-pilot-link-0.9.3
@@ -22,6 +22,10 @@ CONFIGURE_ARGS= --with-perl5=${PERL5} --without-tcl \
MAKE_ENV+= OTHERLDFLAGS="${LDFLAGS}"
WRKSRC= ${WRKDIR}/${DISTNAME}/Perl5
+# 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"
+
pre-configure:
@cd ${WRKSRC} && \
${RM} -f configure && \
@@ -30,6 +34,6 @@ pre-configure:
${CHMOD} ${BINMODE} configure
post-configure:
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${MAKE_PARAMS}
.include "../../mk/bsd.pkg.mk"