summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorjlam <jlam>2001-05-14 15:09:02 +0000
committerjlam <jlam>2001-05-14 15:09:02 +0000
commitdc69cf23f9ab702c91b57f9d2dc955093ed93125 (patch)
tree989cd5f84262084970c6895b78ecb87bb32aef04 /databases
parent30e2cdc1ee51224bff8261bd55350701f480cb66 (diff)
downloadpkgsrc-dc69cf23f9ab702c91b57f9d2dc955093ed93125.tar.gz
Set POSTGRES_HOME to correct value regardless of what postgresql packages
are installed.
Diffstat (limited to 'databases')
-rw-r--r--databases/p5-pgsql/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/databases/p5-pgsql/Makefile b/databases/p5-pgsql/Makefile
index f0bc3bedc55..11cade035d5 100644
--- a/databases/p5-pgsql/Makefile
+++ b/databases/p5-pgsql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/05/14 15:04:51 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2001/05/14 15:09:02 jlam Exp $
DISTNAME= pgsql_perl5-1.9.0
PKGNAME= p5-pgsql-1.9.0
@@ -14,11 +14,10 @@ DEPENDS+= postgresql-{6.5.3*,7.0*,lib-*}:../../databases/postgresql-lib
USE_PERL5= # defined
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
-EVAL_PREFIX+= POSTGRES_HOME=postgresql
-
# 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"
+MAKE_PARAMS= POSTGRES_HOME="${LOCALBASE}"
do-configure:
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${MAKE_PARAMS}