pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/p5-BerkeleyDB Convert to use bdb.buildlink3.mk.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/af5b65aab37f
branches:  trunk
changeset: 479036:af5b65aab37f
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Aug 04 05:44:12 2004 +0000

description:
Convert to use bdb.buildlink3.mk.

diffstat:

 databases/p5-BerkeleyDB/Makefile |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (31 lines):

diff -r 8c5a203e2933 -r af5b65aab37f databases/p5-BerkeleyDB/Makefile
--- a/databases/p5-BerkeleyDB/Makefile  Wed Aug 04 03:33:40 2004 +0000
+++ b/databases/p5-BerkeleyDB/Makefile  Wed Aug 04 05:44:12 2004 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index