Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Oct 2015 21:03:36 +0200
From:      Jeremie Le Hen <jlh@FreeBSD.org>
To:        Benjamin Lee <ben@b1c1l1.com>
Cc:        ohauer@freebsd.org, bapt@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: postfix options no honored by poudriere
Message-ID:  <CAGSa5y28jpqKHAM_tKBcYehBS8U54iFGZj--qGe0xV=LNsZKog@mail.gmail.com>
In-Reply-To: <20151016011322.7574d322@b1c1l1.com>
References:  <CAGSa5y2w4-7LwKsytMfGtGVoE_HEYz7Hf8ikp3_o81S2cGGF2A@mail.gmail.com> <20151016011322.7574d322@b1c1l1.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 16, 2015 at 10:13 AM, Benjamin Lee <ben@b1c1l1.com> wrote:
> On Fri, 16 Oct 2015 09:52:33 +0200, Jeremie Le Hen <jlh@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
jlh@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGSa5y28jpqKHAM_tKBcYehBS8U54iFGZj--qGe0xV=LNsZKog>