How to make a port require at least one option?

A.J. "Fonz" van Werven freebsd at
Wed Oct 28 11:42:07 UTC 2015

Hi all,

I'm working on a port that has two options, of which at least one must be
selected, but selecting both is OK too. Can somebody please point me to an
existing port (surely there must be some already) that has this, so I can
see how to use the options framework in this case?

Thanks in advance.


I'm not completely useless, I can be used as a bad example.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <>

More information about the freebsd-ports mailing list