summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrh <rh>2001-06-13 15:23:14 +0000
committerrh <rh>2001-06-13 15:23:14 +0000
commitd111feb946cfc3651d5cd143ab2be360babdba20 (patch)
treec7f58951eddfc3bd1e0665779d6f8f5093ae1351
parenta3f6edbff1059d332105bdf8f6a2e9c472cfca64 (diff)
downloadpkgsrc-d111feb946cfc3651d5cd143ab2be360babdba20.tar.gz
Set POSTGRES_INCLUDE and POSTGRES_LIB to appropriate values for building.
-rw-r--r--databases/p5-postgresql/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/databases/p5-postgresql/Makefile b/databases/p5-postgresql/Makefile
index 77a5e3dba7b..68ea9ed23ca 100644
--- a/databases/p5-postgresql/Makefile
+++ b/databases/p5-postgresql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2001/05/14 15:13:41 jlam Exp $
+# $NetBSD: Makefile,v 1.2 2001/06/13 15:23:14 rh Exp $
DISTNAME= pgsql_perl5-1.9.0
PKGNAME= p5-postgresql-1.9.0
@@ -18,6 +18,8 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
# to look like an older perl.
MAKE_PARAMS= DEFINE="-DPERL_POLLUTE=1"
MAKE_PARAMS= POSTGRES_HOME="${LOCALBASE}"
+MAKE_ENV+= POSTGRES_INCLUDE="${LOCALBASE}/include/pgsql"
+MAKE_ENV+= POSTGRES_LIB="${LOCALBASE}/lib"
do-configure:
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${MAKE_PARAMS}