How to set unsupported port build options in make.conf with poudriere?
Mark Costlow
cheeks at swcp.com
Wed Apr 22 22:24:11 UTC 2015
On Wed, Apr 22, 2015 at 09:53:25AM -1000, Adam McDougall wrote:
> 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
Thank you! That worked perfectly.
> _SET and _UNSET are only for toggling options, an example would be:
> mail_spamassassin_SET=DCC DKIM RAZOR PYZOR RELAY_COUNTRY SPF_QUERY
That certainly explains why I couldn't find any examples of _SET being
used that way.
Mark
--
Mark Costlow | Southwest Cyberport | Fax: +1-505-232-7975
cheeks at swcp.com | Web: www.swcp.com | Voice: +1-505-232-7992
Mail Minder - Intelligent Push Notifications for Email on the iPhone
http://mailminderapp.com/download or in the App Store
More information about the freebsd-ports
mailing list