summaryrefslogtreecommitdiff
path: root/databases/p5-pgsql
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 /databases/p5-pgsql
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 'databases/p5-pgsql')
-rw-r--r--databases/p5-pgsql/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/databases/p5-pgsql/Makefile b/databases/p5-pgsql/Makefile
index 581e31d3497..b19f83988f0 100644
--- a/databases/p5-pgsql/Makefile
+++ b/databases/p5-pgsql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2000/08/27 10:37:02 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2000/08/29 20:48:12 jlam Exp $
#
DISTNAME= pgsql_perl5-1.8.1
@@ -16,7 +16,11 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
MAKE_ENV+= POSTGRES_HOME="${PREFIX}"
+# 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}
.include "../../mk/bsd.pkg.mk"