Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Nov 2003 15:35:09 -0000
From:      Matthias Andree <ma@dt.e-technik.uni-dortmund.de>
To:        Oliver Eikemeier <eikemeier@fillmore-labs.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: RFC: FreeBSD DB Port Reform
Message-ID:  <m3oevpo6hn.fsf@merlin.emma.line.org>
In-Reply-To: <3FAA5C96.4080804@fillmore-labs.com> (Oliver Eikemeier's message of "Thu, 06 Nov 2003 15:37:10 %2B0100")
References:  <m365hxoh65.fsf@merlin.emma.line.org> <3FAA3B77.7090002@fillmore-labs.com> <20031106141924.GA11241@merlin.emma.line.org> <3FAA5C96.4080804@fillmore-labs.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Oliver Eikemeier <eikemeier@fillmore-labs.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m3oevpo6hn.fsf>