New OPTIONS structure - deselect all

Jason Helfman jgh at
Sat Oct 6 05:07:48 UTC 2012

On Fri, Oct 5, 2012 at 8:52 PM, Paul Schmehl <pschmehl_lists at>wrote:

> I'm working on updating the barnyard2 port, and I'm changing the port to
> use the new OPTIONS structure.  It seems no matter what I do, the first
> port OPTION is automatically selected.
> I've tried OPTIONS_DEFAULT=, OPTIONS_DEFAULT= none, and not using
> OPTIONS_DEFAULT at all.  I do not want the first OPTION selected.  I want
> them all deselected so the person installing can choose the appropriate
> ones for their situation.
> What's the secret sauce for this?  I've looked through,
> but I can't see it.
> Paul Schmehl, Senior Infosec Analyst
> As if it wasn't already obvious, my opinions
> are my own and not those of my employer.
> *********************************************
> "It is as useless to argue with those who have
> renounced the use of reason as to administer
> medication to the dead." Thomas Jefferson
> "There are some ideas so wrong that only a very
> intelligent person could believe in them." George Orwell
> ______________________________**_________________
> freebsd-ports at mailing list
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@**<freebsd-ports-unsubscribe at>
> "

If you want no option selected, you would define them all, and set nothing

Here is an example.

OPTIONS1_DESC= My first option
OPTIONS2_DESC= My second option

do something

Additionally, the documentation on Options in the Handbook has been updated
and should be helpful, as well. If it isn't we can clean it up.



Jason Helfman          | FreeBSD Committer
jgh at     |  | The Power to Serve

More information about the freebsd-ports mailing list