postfix options no honored by poudriere

Benjamin Lee ben at b1c1l1.com
Fri Oct 16 08:13:35 UTC 2015


On Fri, 16 Oct 2015 09:52:33 +0200, Jeremie Le Hen <jlh at FreeBSD.org> wrote:
> (Please don't reply only to -ports@, as I'm not subscribed to this list.)
> 
> Hi Olli,
> 
> I recently realized that my postfix port wasn't compiled with the options I set.
> 
> After a bit of debugging it seems to be a problem specific to
> mail/postfix.  The options I set for this other ports are honored
> correctly.
> 
> It seems the options declared in the port are not "seen":
> 
> ports# make -V OPTIONS_DEFINE -C mail/postfix
> BDB CDB DOCS INST_BASE LDAP LDAP_SASL LMDB MYSQL  NIS PCRE PGSQL SASL
> SPF SQLITE TEST TLS VDA
> 
> 
> poudriere# cat data/cache/10amd64-default-caravan/postfix-2.11.7,1.txz/1444980973/options
> DOCS PCRE TLS
> 
> 
> poudriere.d# egrep '^(OPTIONS|postfix)' *
> 10amd64-caravan-make.conf:postfix_SET+= DOVECOT2
> make.conf:OPTIONS_UNSET=        X11 GUI TK
> make.conf:postfix_SET=  SPF TLS SQLITE BDB
> 
> 
> Any idea what's happening?
> Thanks!

The syntax for specifying port options in make.conf has changed from
using UNIQUENAME to OPTIONS_NAME.  You should change "postfix_SET" to
"mail_postfix_SET".  To get the relevant name for a port:

blee at eclipse ~ $ make -C /usr/ports/mail/postfix -V OPTIONS_NAME
mail_postfix

There was a quiet notice in /usr/ports/UPDATING 20150817.


-- 
Benjamin Lee
http://www.b1c1l1.com/


More information about the freebsd-ports mailing list