New options: options dependencies feature?

Baptiste Daroussin bapt at FreeBSD.org
Fri Sep 14 13:37:29 UTC 2012


On Fri, Sep 14, 2012 at 08:14:33AM -0500, Bryan Drewery wrote:
> On 9/14/2012 7:27 AM, Lev Serebryakov wrote:
> > Hello, Freebsd-ports.
> > 
> >   Is it possible to express options' dependencies in new options
> > framework?
> > 
> >   I need option, which could be set if and only if some other option
> > is already selected.
> > 
> >   Now such situations are resolved via IGNORE which is set
> >  conditionally, but it is old-style, maybe now here is better method?
> > 
> 
> Beyond simple SINGLE/MULTI dependencies (adding the SINGLE/MULTI as an
> option and requiring it be selected to pick from the list), no, we still
> need to use IGNORE and other ways of requiring dependent options.

The framework doesn't support the options interdependencies, as Brian said you
can cheat with SINGLE/MULTI for simple cases.

Shouldn't be that complicated to add the feature you want, I don't have time to
work on this now, but I'll be happy to review propositions :)

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20120914/c18e8cfb/attachment.pgp


More information about the freebsd-ports mailing list