Why does security/amavisd-new depend on db3?

Jiawei Ye leafy7382 at gmail.com
Mon Nov 14 22:01:27 PST 2005


On 11/15/05, Michael C. Shultz <ringworm01 at gmail.com> wrote:
> Looking at security/amavisd-new and databases/p5-BerkeleyDB it looks like
> you have to make sure WITH_BDB_VER=42 is applied to databases/p5-BerkeleyDB,
> not security/amavisd-new, is this the case?
in pkgtools.conf:
  MAKE_ARGS = {
        'databases/p5-BerkeleyDB' => 'WITH_BDB_VER=42',

in pm-020.conf
databases/p5-BerkeleyDB|WITH_BDB_VER=42|

>
> WITH_BDB_VER=42 changes nothing I can see for amavisd-new:
>
> amavisd-new>make -V RUN_DEPENDS WITH_BDB_VER=42
>
> /usr/ports/databases/p5-BerkeleyDB
>
> amavisd-new>make -V RUN_DEPENDS
>
> but for p5-BerkeleyDB it does:
>
> p5-BerkeleyDB>make -V LIB_DEPENDS WITH_BDB_VER=42
>
>         db-4.2.2:/usr/ports/databases/db42
>
> p5-BerkeleyDB>make -V LIB_DEPENDS
>
>        db3.3:/usr/ports/databases/db3
>
> -Mike
It is correct when you invoke it manually, but I rebuilt p5-BerkeleyDB
numerous times already and still get wrong dependancies for
amavisd-new.


Jiawei

--
"Without the userland, the kernel is useless."
               --inspired by The Tao of Programming


More information about the freebsd-ports mailing list