summaryrefslogtreecommitdiff
path: root/databases
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 /databases
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 'databases')
-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"