summaryrefslogtreecommitdiff
path: root/databases/db3
diff options
context:
space:
mode:
authorjlam <jlam>2004-03-10 18:06:06 +0000
committerjlam <jlam>2004-03-10 18:06:06 +0000
commit0b39096a1aa0df04dae6456da86428a6aaa6283c (patch)
treedb85246ca11f0ab347f176fdc44b7a6e372b2f41 /databases/db3
parent37d7e491560cb8a202380f393dd7b9130d410a54 (diff)
downloadpkgsrc-0b39096a1aa0df04dae6456da86428a6aaa6283c.tar.gz
bdb.buildlink3.mk is used to select a Berkeley DB implementation for
use by pkgsrc. It will automatically depend on either db, db3, or db4 if the native one isn't sufficient. The two variables that control its behaviour are: BDB_DEFAULT is a user-settable variable whose value is the default Berkeley DB implementation to use. BDB_ACCEPTED is a package-settable list of Berkeley DB implementations that may be used by the package. E.g., if you always want to use DB4 as the Berkeley DB for all of the packages, then you can just set: BDB_DEFAULT= db4 in your /etc/mk.conf. Packages that currently include db*/buildlink3.mk should be made to include bdb.buildlink3.mk instead.
Diffstat (limited to 'databases/db3')
-rw-r--r--databases/db3/buildlink3.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/db3/buildlink3.mk b/databases/db3/buildlink3.mk
index ace68444e77..69bd9f16bff 100644
--- a/databases/db3/buildlink3.mk
+++ b/databases/db3/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2004/03/05 19:25:09 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2004/03/10 18:06:07 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
DB3_BUILDLINK3_MK:= ${DB3_BUILDLINK3_MK}+
@@ -13,6 +13,12 @@ BUILDLINK_PACKAGES+= db3
.if !empty(DB3_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.db3+= db3>=2.9.2
BUILDLINK_PKGSRCDIR.db3?= ../../databases/db3
+
+.if defined(USE_DB185)
+BUILDLINK_INCDIRS.db3?= include/db3
+BUILDLINK_TRANSFORM+= l:db:db3
+.endif
+
.endif # DB3_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}