Subject: Re: Allowing per-pkg BDB_DEFAULt values
To: Martin Husemann <martin@duskware.de>
From: matthew sporleder <msporleder@gmail.com>
List: tech-pkg
Date: 11/18/2007 08:23:23
On Nov 17, 2007 7:03 PM, Martin Husemann <martin@duskware.de> wrote:
> I have a machine with no builtin db1.85, on which I want to run postfix
> (using db4) and webalizer, which can only use db1 or db2. Since db2 and
> db4 do not conflict, this should be possible.
>
> However, bdb.buildlink3.mk does not deal with this.
>
> A very simple possible solution would be to allow specifying pkg specific
> values for the default:
>
>   BDB_DEFAULT.webalizer = db2
>
> This, maybe accompanied by a slightly more helpful message when the default
> db version is not in BDB_ACCEPTED, would allow the user to work around
> the problem (i.e. manually resolve the conflichts).
>
> What do you think?
>

I think this is a very good idea (and not just for bdb).

fyi- I think bdb4 has a bdb1-compat flag.