From owner-freebsd-ports@FreeBSD.ORG Tue Oct 14 06:34:22 2003 Return-Path: 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 5188916A4B3 for ; Tue, 14 Oct 2003 06:34:22 -0700 (PDT) Received: from mail.dt.e-technik.uni-dortmund.de (mail.dt.e-technik.Uni-Dortmund.DE [129.217.163.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FAA243F93 for ; Tue, 14 Oct 2003 06:34:19 -0700 (PDT) (envelope-from matthias.andree@gmx.de) Received: from m2a2.dyndns.org (krusty.dt.e-technik.uni-dortmund.de [129.217.163.1])65A7F8C0C for ; Tue, 14 Oct 2003 15:34:18 +0200 (CEST) Received: by merlin.emma.line.org (Postfix, from userid 500) id EACE59845B; Tue, 14 Oct 2003 15:34:16 +0200 (CEST) Date: Tue, 14 Oct 2003 15:34:16 +0200 From: Matthias Andree To: ports@freebsd.org Message-ID: <20031014133416.GB18925@merlin.emma.line.org> References: <20031014112134.GA18306@merlin.emma.line.org> <4689165E-FE3E-11D7-91DA-000393B64262@oav.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4689165E-FE3E-11D7-91DA-000393B64262@oav.net> User-Agent: Mutt/1.5.4i Subject: Re: READ PLEASE if your port uses BerkeleyDB (db3, db4, db41) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Oct 2003 13:34:22 -0000 On Tue, 14 Oct 2003, Xavier Beaudouin wrote: > I think that we should get a "easy" way to know if db3 / db4 / db41 / > db41-nocrypto is installed during the port generation. > > Idealy a > > USE_DB= > > with can be : 3, 4, 41, 41-nocrypto can help to get the > good dependency with all db ports users. Well, these libraries are not API compatible. A software package needs to _support_ db4 and db41, so "just pick any" isn't going to fly. I assume there is a lot of software around that will break with db41. OTOH, something like conjunctive dependencies ("use DB 3 or DB 4 or DB 4.1 whatever is already there") might be useful. > One thing I didn't get a clue is how to detect the current installation > of a db package (a clean, neat, and if possible automagicaly way) ? What you ask is something that Debian offers: "Requires db3 or db4 or db41". Some standard documented in the porter's handbook might however be an interim solution. My real concern is putting away with the incompatibility the DB renaming causes. All systems except for some BSD-ish ones link against -ldb - FreeBSD wants -ldb4 instead. As written before, I am chary to change the package to install into the upstream standard /usr/local/BerkeleyDB.N.M without discussion - software would have to have the library path linked in. -- Matthias Andree Encrypt your mail: my GnuPG key ID is 0x052E7D95