summaryrefslogtreecommitdiff
path: root/databases/p5-gdbm
diff options
context:
space:
mode:
authorjlam <jlam>2000-08-27 10:37:00 +0000
committerjlam <jlam>2000-08-27 10:37:00 +0000
commit4a00c430ab0149d115fa091c087cead33f0bc4c1 (patch)
tree2f68a284f4e804aa3774ec66587daa928a61d931 /databases/p5-gdbm
parent7e77f9c91be5964b7ca690ec83717ce4f1570a21 (diff)
downloadpkgsrc-4a00c430ab0149d115fa091c087cead33f0bc4c1.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-gdbm')
-rw-r--r--databases/p5-gdbm/Makefile9
-rw-r--r--databases/p5-gdbm/pkg/PLIST9
2 files changed, 6 insertions, 12 deletions
diff --git a/databases/p5-gdbm/Makefile b/databases/p5-gdbm/Makefile
index bca2547889d..eaeef445e92 100644
--- a/databases/p5-gdbm/Makefile
+++ b/databases/p5-gdbm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2000/06/13 10:40:24 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2000/08/27 10:37:02 jlam Exp $
DISTNAME= perl5.004_04
PKGNAME= p5-gdbm-5.4.4
@@ -10,11 +10,12 @@ MAINTAINER= packages@netbsd.org
DEPENDS+= gdbm>=1.7.3:../../databases/gdbm
-USE_PERL5= YES
-EXTRACT_ELEMENTS= perl5.004_04/ext/GDBM_File
+USE_PERL5= # defined
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/GDBM_File/.packlist
+EXTRACT_ELEMENTS= ${DISTNAME}/ext/GDBM_File
WRKSRC= ${WRKDIR}/${EXTRACT_ELEMENTS}
do-configure:
- @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/p5-gdbm/pkg/PLIST b/databases/p5-gdbm/pkg/PLIST
index f56729ed68e..6c6a2ac379e 100644
--- a/databases/p5-gdbm/pkg/PLIST
+++ b/databases/p5-gdbm/pkg/PLIST
@@ -1,8 +1 @@
-@comment $NetBSD: PLIST,v 1.2 1999/04/08 18:51:49 agc Exp $
-lib/perl5/site_perl/GDBM_File.pm
-lib/perl5/site_perl/auto/GDBM_File/autosplit.ix
-lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/GDBM_File/.packlist
-lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/GDBM_File/GDBM_File.bs
-lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/GDBM_File/GDBM_File.so
-@dirrm lib/perl5/site_perl/${MACHINE_ARCH}-${LOWER_OPSYS}/auto/GDBM_File
-@dirrm lib/perl5/site_perl/auto/GDBM_File
+@comment $NetBSD: PLIST,v 1.3 2000/08/27 10:37:02 jlam Exp $