Subject: Re: HEADS UP: postfix-2.1.5nb1 and .db tables
To: None <martti.kuparinen@iki.fi>
From: Takahiro Kambe <taca@back-street.net>
List: tech-pkg
Date: 12/02/2004 17:26:26
In message <41AECE0E.5020808@iki.fi>
on Thu, 02 Dec 2004 10:10:54 +0200,
Martti Kuparinen <martti.kuparinen@iki.fi> wrote:
> In this case this is not true as I'm only adding pcre support and it
> does not need db4. So clearly db4 dependency is not required.
>
> ROOT inside:/usr/pkgsrc/mail/postfix> grep postfix /etc/mk.conf
> PKG_OPTIONS.postfix= inet6 pcre
You are right.
In postfix/options.mk:
.if empty(PKG_OPTIONS:Mbdb)
PKG_OPTIONS+= bdb # "hash" map type is mandatory
.endif
.if !empty(PKG_OPTIONS:Mbdb)
USE_DB185= no
. include "../../mk/bdb.buildlink3.mk"
CCARGS+= -DHAS_DB
AUXLIBS+= ${BUILDLINK_LDFLAGS.${BDB_TYPE}} ${BDB_LIBS}
.endif
bdb is always aded to PKG_OPTIONS and it cause includes of
"../../mk/bdb.buildlink3.mk" and it seems to results use of db4.
(I don't know further...)
--
Takahiro Kambe <taca@back-street.net>