On Fri, Oct 16, 2015 at 10:13 AM, Benjamin Lee <b...@b1c1l1.com> wrote:
> On Fri, 16 Oct 2015 09:52:33 +0200, Jeremie Le Hen <j...@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@eclipse ~ $ make -C /usr/ports/mail/postfix -V OPTIONS_NAME
> mail_postfix

That made it!  Thanks!

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

Yeah I kind of invariably miss reading it.  I should try to think of
some way to automate this.


-- 
Jeremie Le Hen
j...@freebsd.org
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to