From owner-freebsd-ports@FreeBSD.ORG Wed Feb 1 16:45:48 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 62B8716A420 for ; Wed, 1 Feb 2006 16:45:48 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AD0243D7C for ; Wed, 1 Feb 2006 16:45:42 +0000 (GMT) (envelope-from swhetzel@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so128777wxc for ; Wed, 01 Feb 2006 08:45:41 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YFxomrMpSIg+kTAA+fEHzbNDVZss2tORRNxjyx+vQSJswRMkWqkqs3SrHai+vW8XLR6sEkcMyWbYl1POROs+eso1l+AWENlAGQ8slQTtdpMRdjCLdmgLV1kRFq6osn23ffs+1dO2uWD55LB+KVjokzGSuFDidgmWuNB/VVSBA5g= Received: by 10.70.108.19 with SMTP id g19mr10376911wxc; Wed, 01 Feb 2006 08:45:41 -0800 (PST) Received: by 10.70.53.11 with HTTP; Wed, 1 Feb 2006 08:45:41 -0800 (PST) Message-ID: <790a9fff0602010845m21b6ace4n4c373ff10cfae464@mail.gmail.com> Date: Wed, 1 Feb 2006 10:45:41 -0600 From: Scot Hetzel To: Vivek Khera , Stijn Hoop In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200511111029.jABATMW9087903@repoman.freebsd.org> <20051111133654.53679f43@it.buh.tecnik93.com> <20060131132103.GC91568@pcwin002.win.tue.nl> Cc: ports@freebsd.org Subject: Re: USE_BDB inconsistency X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2006 16:45:48 -0000 On 2/1/06, Vivek Khera wrote: > On Jan 31, 2006, at 8:21 AM, Stijn Hoop wrote: > > I ran into this today. At the very least create a WITH_BDB=3D42+ instea= d > > of the USE_BDB=3D42+ that it is now, because I'm still not sure that I > > should set a USE_* variable myself; I think this is the only one for > > which that is allowed. > > There are several ports that already use a "WITH_BDB_VERSION=3DNN" > flag. I'd like to see something like that be formalized in > bsd.database.mk too. Right now it is up to the port author to decide > which version gets used, which is not always desirable. > I had submitted PR 89023 (Jan 12th) which fixes Mk/bsd.database.mk so that it will provide the library name, and include path for Berkeley DB. http://www.freebsd.org/cgi/query-pr.cgi?pr=3D89023 The patch also updates most of the ports that use Berkeley DB. With the patch in the PR applied, to select a version of Berkeley DB (supported by the port), all you need to specify is WITH_BDB_VER or _WITH_BDB_VER on the command line, in /etc/make.conf, or the pkg management tools conf file. cd dns/bind9-dlz make WITH_BDB_VER=3D43 build Currently, the PR is waiting for approval from the various port maintainers and a commiter to commit it. I have received approvals from about 75% of the maintainers. Scot PS. The patch also warns if obsolete variables are being used to select a version of Berkeley DB. -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.