How to set unsupported port build options in make.conf with poudriere?

Adam McDougall mcdouga9 at egr.msu.edu
Wed Apr 22 19:59:31 UTC 2015


On 4/22/2015 7:50 AM, Mark Costlow wrote:
> I'm using poudriere on FreeBSD 10.1.  I need to set --enable-drac when
> building mail/milter-greylist.  There is no corresponding option in
> the milter-greylist port.  In the past, I used portconf to achieve this:
>
> mail/milter-greylist: CONFIGURE_ARGS+=--enable-drac
>
> In the new post-portconf world, I tried this in
> /usr/local/etc/poudriere.d/build-make.conf:
>
> milter-greylist_SET="CONFIGURE_ARGS+=--enable-drac"
>
>
Try:
.if ${.CURDIR:M*/mail/milter-greylist}
CONFIGURE_ARGS+=        --enable-drac
.endif

_SET and _UNSET are only for toggling options, an example would be:
mail_spamassassin_SET=DCC DKIM RAZOR PYZOR RELAY_COUNTRY SPF_QUERY


More information about the freebsd-ports mailing list