Subject: CVS commit: pkgsrc
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 03/10/2004 18:06:08
Module Name:	pkgsrc
Committed By:	jlam
Date:		Wed Mar 10 18:06:08 UTC 2004

Modified Files:
	pkgsrc/databases/db: buildlink3.mk
	pkgsrc/databases/db3: buildlink3.mk
	pkgsrc/databases/db4: buildlink3.mk
Added Files:
	pkgsrc/mk: bdb.buildlink3.mk

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 pkgsrc/databases/db/buildlink3.mk
cvs rdiff -r1.5 -r1.6 pkgsrc/databases/db3/buildlink3.mk
cvs rdiff -r1.7 -r1.8 pkgsrc/databases/db4/buildlink3.mk
cvs rdiff -r0 -r1.1 pkgsrc/mk/bdb.buildlink3.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.