Bart Smaalders wrote:

> On 01/22/10 09:59, Shawn Walker wrote:
> 
> >line 860: so this else case handles both 'optional' and exclude deps?
> >I'm probably missing something here.
> 
> optional and exclude dependencies are just mirror images of each other:
> 
> optional @2.0 means that if present, fmri version must be at 2.0 or
> greater.
> 
> exclude @2.0 means that if present, fmri version must be less than 2.0

It would probably be useful to have a comment in that else clause, then,
noting that optional dependencies are handled by this case, too, as well as
what in the code causes it -- I presume that match/unmatch are transposed
between the two cases?

Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to