summaryrefslogtreecommitdiff
path: root/databases/p5-BerkeleyDB
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-08-04 05:44:12 +0000
committerjlam <jlam@pkgsrc.org>2004-08-04 05:44:12 +0000
commitf50a3b105dd5e4776354b42ce10f0d79377fb655 (patch)
treee5037079bbcd46bc873dcbc75c17e4507fb69099 /databases/p5-BerkeleyDB
parentaf505085b212c968d1e59d67d7e2cb489c101219 (diff)
downloadpkgsrc-f50a3b105dd5e4776354b42ce10f0d79377fb655.tar.gz
Convert to use bdb.buildlink3.mk.
Diffstat (limited to 'databases/p5-BerkeleyDB')
-rw-r--r--databases/p5-BerkeleyDB/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/databases/p5-BerkeleyDB/Makefile b/databases/p5-BerkeleyDB/Makefile
index 01d63ee0da7..325c690680c 100644
--- a/databases/p5-BerkeleyDB/Makefile
+++ b/databases/p5-BerkeleyDB/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2004/06/08 16:38:58 mjl Exp $
+# $NetBSD: Makefile,v 1.5 2004/08/04 05:44:12 jlam Exp $
#
DISTNAME= BerkeleyDB-0.25
@@ -11,16 +11,16 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/BerkeleyDB/
COMMENT= Access Berkeley DB
-DEPENDS+= db3-[0-9]*:../db3
-
-MAKE_ENV+= BERKELEYDB_NAME=-ldb3
-
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= YES
PERL5_REQD+= 5.6.0
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/BerkeleyDB/.packlist
-.include "../db3/buildlink3.mk"
+MAKE_ENV+= BERKELEYDB_INCLUDE="${BDBBASE}/include"
+MAKE_ENV+= BERKELEYDB_LIB="${BDBBASE}/lib"
+MAKE_ENV+= BERKELEYDB_NAME="${BUILDLINK_LIBS.bdb}"
+
+.include "../../mk/bdb.buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"