summaryrefslogtreecommitdiff
path: root/databases/p5-DBD-postgresql
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-01-21 09:35:08 +0000
committerjlam <jlam@pkgsrc.org>2004-01-21 09:35:08 +0000
commit9e4957ec9582027b8065d5cd28a79aca3254292a (patch)
tree2d81ef7ae2412a56eee54f2fce0d2f2a7fcbb487 /databases/p5-DBD-postgresql
parentaefa4467773abdb0d1dfa42746253c386ad38052 (diff)
downloadpkgsrc-9e4957ec9582027b8065d5cd28a79aca3254292a.tar.gz
Put back MAKE_ENV settings lost in previous commit that told Makefile.PL
where the PostgreSQL headers and libraries were located.
Diffstat (limited to 'databases/p5-DBD-postgresql')
-rw-r--r--databases/p5-DBD-postgresql/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/databases/p5-DBD-postgresql/Makefile b/databases/p5-DBD-postgresql/Makefile
index aade1f2ea80..1a8df146ad5 100644
--- a/databases/p5-DBD-postgresql/Makefile
+++ b/databases/p5-DBD-postgresql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2004/01/05 22:16:24 jlam Exp $
+# $NetBSD: Makefile,v 1.27 2004/01/21 09:35:08 jlam Exp $
#
VER= 1.22
@@ -20,6 +20,11 @@ PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/DBD/Pg/.packlist
PGUSER?= pgsql
PGPREFIX= ${PREFIX}/${PGUSER}
+POSTGRES_INCLUDE= ${BUILDLINK_PREFIX.postgresql-lib}/include/postgresql
+POSTGRES_LIB= ${BUILDLINK_PREFIX.postgresql-lib}/lib
+MAKE_ENV+= POSTGRES_INCLUDE="${POSTGRES_INCLUDE}"
+MAKE_ENV+= POSTGRES_LIB="${POSTGRES_LIB}"
+
.include "../../databases/p5-DBI/buildlink3.mk"
.include "../../databases/postgresql-lib/buildlink3.mk"
.include "../../lang/perl5/module.mk"