Date: Mon, 26 Feb 2007 18:44:41 -0600 From: "Scot Hetzel" <swhetzel@gmail.com> To: "Chuck Swiger" <cswiger@mac.com> Cc: FreeBSD <freebsd-ports@freebsd.org>, Anders Troback <freebsd@troback.com> Subject: Re: Python and gramps... Message-ID: <790a9fff0702261644r2f616971u89f7b1458be05479@mail.gmail.com> In-Reply-To: <45E18F69.8080009@mac.com> References: <20070223232142.11fe263f@devil.troback.com> <6669CD12-8C90-4CB4-92B8-CB673B8A502E@mac.com> <20070224083317.79ebd5fa@devil.troback.com> <45E18F69.8080009@mac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2/25/07, Chuck Swiger <cswiger@mac.com> wrote: > Anders Troback wrote: > > On Fri, 23 Feb 2007 14:58:21 -0800 > > Chuck Swiger <cswiger@mac.com> wrote: > [ ... ] > >> I think you need to choose a particular flavor of BDB which is > >> recent enough to support these log capabilities; try setting > >> something like these in /etc/make.conf: > >> > >> WITH_BERKELEYDB=db42 > >> WITH_BDB_VER=42 > >> > >> ...or choose some other recent 4.x version, and then try > >> reinstalling /usr/ports/databases/py-bsddb. > > > > Yes, thanks that did it! > > Ah, very good. You're welcome. > > > How do I reflect this in my port? > > Many ports do something like check whether WITH_BDB_VER is defined to > something in order to register a properly dependency. If you can figure out > which versions of BDB are supported with your software, then you error with a > warning if too old a version is chosen, or you can do something like choose a > reasonable default value if none is already set.... > All you need to do is add the following to the port: USE_BDB= 42+ INVALID_BDB_VER= 2 3 40 41 And it will give an error if WITH_BDB_VER is set to a value lower than 42. Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0702261644r2f616971u89f7b1458be05479>