summaryrefslogtreecommitdiff
path: root/databases/p5-DBD-postgresql/Makefile
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-08-27 10:37:00 +0000
committerjlam <jlam@pkgsrc.org>2000-08-27 10:37:00 +0000
commitc70c96f2c8a7334e846f10c5d965fd3ce9d0aef4 (patch)
tree2f68a284f4e804aa3774ec66587daa928a61d931 /databases/p5-DBD-postgresql/Makefile
parent1d7f8907a285a58a577d75dfba6665aee192879e (diff)
downloadpkgsrc-c70c96f2c8a7334e846f10c5d965fd3ce9d0aef4.tar.gz
Convert packages to use PERL5_PACKLIST (part 2). These are the database and
Apache perl modules, and each compiled and installed/de-installed apparently correctly. As a side effect of the dynamic PLIST, we no longer need to to have separate -static and -shared PLISTs. It's now easier than ever to make a perl5 package for NetBSD :)
Diffstat (limited to 'databases/p5-DBD-postgresql/Makefile')
-rw-r--r--databases/p5-DBD-postgresql/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/databases/p5-DBD-postgresql/Makefile b/databases/p5-DBD-postgresql/Makefile
index 28a979c478b..4bb50aaebb5 100644
--- a/databases/p5-DBD-postgresql/Makefile
+++ b/databases/p5-DBD-postgresql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2000/05/24 10:35:54 rh Exp $
+# $NetBSD: Makefile,v 1.5 2000/08/27 10:37:00 jlam Exp $
#
DISTNAME= DBD-Pg-0.93
@@ -12,15 +12,16 @@ HOMEPAGE= http://www.postgresql.org/
DEPENDS+= postgresql>=6.5.3:../../databases/postgresql
DEPENDS+= p5-DBI>=1.08:../../databases/p5-DBI
-USE_PERL5= YES
+USE_PERL5= # defined
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/DBD/Pg/.packlist
-PGUSER?= pgsql
-PGPREFIX= ${PREFIX}/${PGUSER}
+PGUSER?= pgsql
+PGPREFIX= ${PREFIX}/${PGUSER}
-CONFIGURE_ENV+= POSTGRES_INCLUDE=${PREFIX}/include/pgsql
-CONFIGURE_ENV+= POSTGRES_LIB=${PREFIX}/lib
+MAKE_ENV+= POSTGRES_INCLUDE=${PREFIX}/include/pgsql
+MAKE_ENV+= POSTGRES_LIB=${PREFIX}/lib
do-configure:
- @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${MAKE_ENV} ${LOCALBASE}/bin/perl Makefile.PL
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
.include "../../mk/bsd.pkg.mk"