Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Aug 2007 14:27:08 -0500
From:      "Scot Hetzel" <swhetzel@gmail.com>
To:        "Hajimu UMEMOTO" <ume@freebsd.org>
Cc:        krion@freebsd.org, Xin LI <delphij@delphij.net>, freebsd-questions@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: request add db45/db46 support to mail/exim port
Message-ID:  <790a9fff0708111227u35ce4b42w50b10a2a87eb9e66@mail.gmail.com>
In-Reply-To: <ygezm0yc4ni.wl%ume@mahoroba.org>
References:  <70f41ba20708110931i4262c224kd0479290616c4fa8@mail.gmail.com> <46BDEA06.9030503@delphij.net> <70f41ba20708111013g296134ecw57bf152846718e91@mail.gmail.com> <790a9fff0708111037m1d25e164ma760a286f6d70cb8@mail.gmail.com> <yge1weadkp7.wl%ume@mahoroba.org> <790a9fff0708111103y2c178125iacc5d4ec1395bb07@mail.gmail.com> <ygezm0yc4ni.wl%ume@mahoroba.org>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 8/11/07, Hajimu UMEMOTO <ume@freebsd.org> wrote:
> Hi,
> 
> >>>>> On Sat, 11 Aug 2007 13:03:32 -0500
> >>>>> "Scot Hetzel" <swhetzel@gmail.com> said:
> 
> swhetzel> I believe when I made the change to bsd.database.mk, and then
> patched
> swhetzel> all of the BDB using ports, I had put the lowest version that the
> port
> swhetzel>  supported into USE_BDB.
> 
> swhetzel> USE_BDB=yes would also work and allow the port to show a
> dependancy on
> swhetzel> the default BDB version instead of the lowest BDB version.  Also,
> swhetzel> INVALID_BDB_VER takes care of excluding BDB versions that the port
> swhetzel> doesn't work with.
> 
> Yes, it is same as my understanding.  So, I think a user doesn't
> specify WITH_BSD_VER explicitly, exim will use db40, while other ports
> which use bsd.database.mk use db41.
> 
That would be true, except that the exim port is setting WITH_BDB_VER?=1 to use the system BDB by default.

I have now fixed it so that the exim port doesn't need to set WITH_BDB_VER?=1 anymore.  Instead setting either WITH_BDB or WITH_BDB_VER > 1 will make the port use Mk/bsd.database.mk to choose the version of BDB to use, otherwise it will default to the system BDB.

The updated patch is in PR 115427:

 http://www.freebsd.org/cgi/query-pr.cgi?pr=115427

Scot
-- 
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?790a9fff0708111227u35ce4b42w50b10a2a87eb9e66>