optionsng and tinderbox?

Baptiste Daroussin bapt at FreeBSD.org
Wed Jun 20 06:11:39 UTC 2012


On Tue, Jun 19, 2012 at 10:02:21PM -0400, Michael Scheidell wrote:
> I have my favorite options set in tinderbox with
> /tb/scripts/etc/env/build*
> 
> things like:
> export NOPORTDOCS=true
> export NOPORTEXAMPLES=true
> 
> (which seems to translate over just fine)
> 
> but, on clamav I need: WITH_ICONV=yes

Now that we have options ng WITHOUT_/WITH_ are gone because inconsistent.

User needs to do:
OPTIONS_SET=	ICONV
To get iconv activated everywhere
OPTIONS_UNSET=	ICONV

To get iconv deactivated everywhere

nginx_UNSET=	ICONV
will deactivate ICONV for nginx only

> 
> and on nginx I need WITHOUT_ICONV=yes
> (it used to be WITHOUT_ICONV_MODULE, which didn't conflict, but now does)
> 
> anyone understand how this works in the ../script/etc/env/build* files? 
> (if you don't, please don't speculate!)
> 
> Q:
> pretend this is a /etc/make.conf (that doesn't seem to honor if 
> ${.CURDIR:M*www/nginx} )

Because it doesn't exists anymore. yes it honors it but nginx has been converted
to optionsng so it doesn't check anymore for the old inconsistent WITH_/WITHOUT
> 
> so, other than if ${.CURDIR..) how can I set options in 'make.conf'?
> if I do it this way, and the maintainer has not converted to optionsng, 
> are they honored?

http://wiki.freebsd.org/Ports/Options/OptionsNG#What_users_need_to_know
> 
> (I need WITH_MYSQL=yes in postfix/barnyard2, but don't need it in 
> snort.. I put up with it in snort, but, since  WITH_ICONV means 
> something different in clamav and nginx, I want to set them this way)
> 
> oh, this is a shared tinderbox, I can't see these globally, but have to 
> do them by build* files.
> 
> 
> -- 
> Michael Scheidell, CTO
>  >*| * SECNAP Network Security Corporation
> d: +1.561.948.2259
> w: http://people.freebsd.org/~scheidell
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20120620/7d8ee3ea/attachment.pgp


More information about the freebsd-ports mailing list