El lun, 14-02-2011 a las 13:41 +0000, Ciaran McCreesh escribió:
> On Mon, 14 Feb 2011 14:33:52 +0100
> Pacho Ramos <[email protected]> wrote:
> > > You should be able to -* them out... -* is fine (assuming Portage
> > > handles it) since we know what the null set is; it's just * that's
> > > the problem.
> > 
> > Yeah, portage handles it, but thought -* also had the same problem,
> > thanks for clarifying, anyway, latest approach on only enable ptp2 by
> > default looks fine for me 
> 
> No, -* is fine, so long as Portage doesn't pass it through literally.
> 
> The problem, specifically, is that things like this are totally legal
> and are done by some packages:
> 
>     IUSE="linguas_en linguas_fr"
> 
>     if use linguas_de ; then
> 
>     if has linguas_de $LINGUAS ; then
> 
>     if has linguas_de $USE ; then
> 
> So if you were to set LINGUAS="*", there would have to be some magic
> way for the package mangler to know that linguas_de exists, even if
> there's no mention of it anywhere in any user config files or in IUSE
> (and no, the desc files aren't a complete list either).
> 
> The reason for this, historically, was that IUSE was used purely for
> display purposes by Portage, whilst USE was worked out from everything
> in config files, regardless of whether or not the ebuild claimed to use
> it. That meant there was absolutely nothing stopping you from making
> IUSE incomplete...
> 

Ah, thanks for the explanation. Regards

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to