How do I specify port opt1 requires opt2

Mathieu Arnold mat at FreeBSD.org
Fri Apr 3 18:51:58 UTC 2015



+--On 3 avril 2015 05:46:45 +0000 Ben Woods <woodsb02 at gmail.com> wrote:
| I am working on modifying a port, and was wondering how do I specify that
| selecting port option1 requires that option2 is also selected?
| 
| Note that in my example it is perfectly acceptable to have option2
| selected without option1.

This functionnality is coming, it's being discussed in
<https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191144> but for now,
you'll have to do some testing in your Makefile and either add an IGNORE or
force the other option.

-- 
Mathieu Arnold


More information about the freebsd-ports mailing list