summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/p5-DBD-postgresql/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/databases/p5-DBD-postgresql/Makefile b/databases/p5-DBD-postgresql/Makefile
index 45ea0b650cb..e32fdc19644 100644
--- a/databases/p5-DBD-postgresql/Makefile
+++ b/databases/p5-DBD-postgresql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2002/08/21 23:10:38 mjl Exp $
+# $NetBSD: Makefile,v 1.19 2002/09/20 01:45:27 grant Exp $
#
VER= 1.13
@@ -13,20 +13,19 @@ MAINTAINER= jwise@netbsd.org
HOMEPAGE= http://www.postgresql.org/
COMMENT= perl DBI/DBD driver for PostgreSQL databases
-DEPENDS+= p5-DBI>=1.08:../../databases/p5-DBI
-
-USE_BUILDLINK_ONLY= YES
-PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/DBD/Pg/.packlist
+USE_BUILDLINK2= YES
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/DBD/Pg/.packlist
PGUSER?= pgsql
PGPREFIX= ${PREFIX}/${PGUSER}
-MAKE_ENV+= POSTGRES_INCLUDE=${BUILDLINK_DIR}/include/pgsql
-MAKE_ENV+= POSTGRES_LIB=${BUILDLINK_DIR}/lib
+MAKE_ENV+= POSTGRES_INCLUDE=${BUILDLINK_PREFIX.postgresql-lib}/include/pgsql
+MAKE_ENV+= POSTGRES_LIB=${BUILDLINK_PREFIX.postgresql-lib}/lib
do-configure:
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
-.include "../../databases/postgresql-lib/buildlink.mk"
-.include "../../lang/perl5/buildlink.mk"
+.include "../../databases/p5-DBI/buildlink2.mk"
+.include "../../databases/postgresql-lib/buildlink2.mk"
+.include "../../lang/perl5/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"