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
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to