summaryrefslogtreecommitdiff
path: root/databases/p5-DBD-postgresql
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-11-26 06:49:36 +0000
committerjlam <jlam@pkgsrc.org>2001-11-26 06:49:36 +0000
commitcc4128d97eccc9414734e8749acafd66857c3da4 (patch)
treeadb2df37f293a2d032459855304d52364a29788d /databases/p5-DBD-postgresql
parenta137e40e1317433623228a945894303669603833 (diff)
downloadpkgsrc-cc4128d97eccc9414734e8749acafd66857c3da4.tar.gz
Buildlinkify, in the sense that only the perl headers are found in
${PREFIX} -- everything else is pickup up from ${BUILDLINK_DIR}.
Diffstat (limited to 'databases/p5-DBD-postgresql')
-rw-r--r--databases/p5-DBD-postgresql/Makefile13
-rw-r--r--databases/p5-DBD-postgresql/distinfo3
2 files changed, 9 insertions, 7 deletions
diff --git a/databases/p5-DBD-postgresql/Makefile b/databases/p5-DBD-postgresql/Makefile
index 810e2bd3912..c1eb7f4ae44 100644
--- a/databases/p5-DBD-postgresql/Makefile
+++ b/databases/p5-DBD-postgresql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2001/10/18 15:20:08 veego Exp $
+# $NetBSD: Makefile,v 1.14 2001/11/26 06:49:41 jlam Exp $
#
VER= 1.01
@@ -12,19 +12,20 @@ MAINTAINER= jwise@netbsd.org
HOMEPAGE= http://www.postgresql.org/
COMMENT= perl DBI/DBD driver for PostgreSQL databases
-DEPENDS+= postgresql-{6.5.3*,7.0*,lib-[0-9]*}:../../databases/postgresql-lib
DEPENDS+= p5-DBI>=1.08:../../databases/p5-DBI
-USE_PERL5= # defined
-PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/DBD/Pg/.packlist
+USE_BUILDLINK_ONLY= YES
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/DBD/Pg/.packlist
PGUSER?= pgsql
PGPREFIX= ${PREFIX}/${PGUSER}
-MAKE_ENV+= POSTGRES_INCLUDE=${PREFIX}/include/pgsql
-MAKE_ENV+= POSTGRES_LIB=${PREFIX}/lib
+MAKE_ENV+= POSTGRES_INCLUDE=${BUILDLINK_DIR}/include/pgsql
+MAKE_ENV+= POSTGRES_LIB=${BUILDLINK_DIR}/lib
do-configure:
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+.include "../../databases/postgresql-lib/buildlink.mk"
+.include "../../lang/perl5/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/p5-DBD-postgresql/distinfo b/databases/p5-DBD-postgresql/distinfo
index 4a0af048145..c26f97dc10d 100644
--- a/databases/p5-DBD-postgresql/distinfo
+++ b/databases/p5-DBD-postgresql/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.5 2001/08/10 11:53:15 mjl Exp $
+$NetBSD: distinfo,v 1.6 2001/11/26 06:49:41 jlam Exp $
SHA1 (DBD-Pg-1.01.tar.gz) = ce5d91dab31fa70150a3d96fe8a8555a02c2c2e1
Size (DBD-Pg-1.01.tar.gz) = 43072 bytes
+SHA1 (patch-aa) = a85d54d216c5aeae54ca22b608d0d3a08eaec36a