How to make a port require at least one option?
Torsten Zuehlsdorff
mailinglists at toco-domains.de
Wed Oct 28 13:19:49 UTC 2015
Hello Fonz,
> 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?
Have a look at:
https://www.freebsd.org/doc/en/books/porters-handbook/makefile-options.html
Chapter 5.12.1.2. Syntax. You are looking for multiple-choice.
Ports are for example (randomly picked):
- www/testlink
- audio/libmp3splt
- net/asterisk13
Greetings,
Torsten
More information about the freebsd-ports
mailing list