From owner-freebsd-ports@FreeBSD.ORG Thu Nov 6 07:35:09 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 76EFF16A4CE for ; Thu, 6 Nov 2003 07:35:09 -0800 (PST) Received: from mail.dt.e-technik.uni-dortmund.de (krusty.dt.e-technik.Uni-Dortmund.DE [129.217.163.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5821E43FB1 for ; Thu, 6 Nov 2003 07:35:08 -0800 (PST) (envelope-from ma@dt.e-technik.uni-dortmund.de) Received: from m2a2.dyndns.org (krusty.dt.e-technik.uni-dortmund.de [129.217.163.1])8063613AEE for ; Thu, 6 Nov 2003 16:35:07 +0100 (CET) Received: by merlin.emma.line.org (Postfix, from userid 500) id 6D5B69D1AF; Thu, 6 Nov 2003 16:35:02 +0100 (CET) To: Oliver Eikemeier In-Reply-To: <3FAA5C96.4080804@fillmore-labs.com> (Oliver Eikemeier's message of "Thu, 06 Nov 2003 15:37:10 +0100") References: <3FAA3B77.7090002@fillmore-labs.com> <20031106141924.GA11241@merlin.emma.line.org> <3FAA5C96.4080804@fillmore-labs.com> From: Matthias Andree Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: Matthias Andree cc: freebsd-ports@freebsd.org Subject: Re: RFC: FreeBSD DB Port Reform 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: , Date: Thu, 06 Nov 2003 15:35:09 -0000 X-Original-Date: Thu, 06 Nov 2003 16:35:00 +0100 X-List-Received-Date: Thu, 06 Nov 2003 15:35:09 -0000 Oliver Eikemeier writes: > You still don't address the problem that PREFIX/BerkeleyDB.N.M violates > hier(7), see also: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/dads-subdirs.html I don't see how I could avoid using files like these: $PREFIX/BerkeleyDB.N.M/libdb-N.so $PREFIX/BerkeleyDB.N.M/libdb.so When multiple versions (3.3, 4.0, 4.1) are installed at the same time. Obviously, applications will expect to link against their favourite version of BDB as libdb.so - libdb.so can be 2.7, 3.3, 4.0, 4.1 whatever, it must work. > And, could you name a sample port that would benefit from the changes, i.e. > post a sample patch for net/openldap22-server or whatever port you like to > demonstrate the improvements. To show the full benefit, we'd need to work out the bsd.port.mk stuff first, which has not been done yet. It should ideally avoid all the .if ${WITH_DB_VER} == 4 ... .else ... .endif stuff in ports' individual Makefiles. I'll post a sample once I got around to that and have an idea how to implement the bsd.port.mk changes. -- Matthias Andree Encrypt your mail: my GnuPG key ID is 0x052E7D95