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

next in thread | previous in thread | raw e-mail | index | archive | help
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

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


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151016011322.7574d322>