Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Nov 2005 00:52:11 -0600
From:      Craig Boston <craig@yekse.gank.org>
To:        Jiawei Ye <leafy7382@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Why does security/amavisd-new depend on db3?
Message-ID:  <20051115065211.GB35001@nowhere>
In-Reply-To: <c21e92e20511142201o70752d66p20b4ef233612d6e@mail.gmail.com>
References:  <c21e92e20511130557g4ad76176l85beb6ceee078886@mail.gmail.com> <200511142145.05316.ringworm01@gmail.com> <c21e92e20511142201o70752d66p20b4ef233612d6e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 15, 2005 at 02:01:26PM +0800, Jiawei Ye wrote:
> in pkgtools.conf:
>   MAKE_ARGS = {
>         'databases/p5-BerkeleyDB' => 'WITH_BDB_VER=42',
> 
> in pm-020.conf
> databases/p5-BerkeleyDB|WITH_BDB_VER=42|

Does it work if you also set WITH_BDB_VER for security/amavisd-new?

I suspect that the dependencies being registered at install time for
amavisd-new are being calculated based on the environment at that time,
by recursing the ports tree rather than looking at installed packages.

A quick glance looks like:

cd /usr/ports/security/amavisd-new && make package-depends-list

shows bdb3 normally, and changes to bdb42 when WITH_BDB_VER=42 is set.
IIRC portupgrade and portmanager both install ports one at a time, so if
the list is created in this way you may need to make sure the options
are consistent for all the ones affected by them...

If that works, it's not necessarily portmanager's fault but rather a bug
(feature?) in the ports system.

Craig



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