On pią, 2017-06-09 at 14:35 +0200, Jason A. Donenfeld wrote: > On Mon, May 29, 2017 at 5:33 PM, Michał Górny <mgo...@gentoo.org> wrote: > > > > Secondly, it might be reasonable to provide configurable priorities for > > solving multi-flag constraints. For example, we could use rightmost- > > preferred logic for package.use, e.g.: > > > > */* PROVIDER_SSL: openssl gnutls > > dev-util/foo PROVIDER_SSL: polarssl > > > > which would mean that for all packages, gnutls is preferred over openssl > > (i.e. if ?? or ^^ applies, openssl will be disabled and gnutls will be > > used), and polarssl is additionally preferred over everything else for > > dev-util/foo. > > Please, leftmost instead of rightmost?
How about the following: dev-util/xxx foo dev-util/xxx bar should foo or bar be preferred? Leftmost may seem logical at first but when you have to deal with multiple entries and stacking, it occurs to you that latter entries usually override the former. -- Best regards, Michał Górny
signature.asc
Description: This is a digitally signed message part