1 |
El lun, 14-02-2011 a las 13:41 +0000, Ciaran McCreesh escribió: |
2 |
> On Mon, 14 Feb 2011 14:33:52 +0100 |
3 |
> Pacho Ramos <pacho@g.o> wrote: |
4 |
> > > You should be able to -* them out... -* is fine (assuming Portage |
5 |
> > > handles it) since we know what the null set is; it's just * that's |
6 |
> > > the problem. |
7 |
> > |
8 |
> > Yeah, portage handles it, but thought -* also had the same problem, |
9 |
> > thanks for clarifying, anyway, latest approach on only enable ptp2 by |
10 |
> > default looks fine for me |
11 |
> |
12 |
> No, -* is fine, so long as Portage doesn't pass it through literally. |
13 |
> |
14 |
> The problem, specifically, is that things like this are totally legal |
15 |
> and are done by some packages: |
16 |
> |
17 |
> IUSE="linguas_en linguas_fr" |
18 |
> |
19 |
> if use linguas_de ; then |
20 |
> |
21 |
> if has linguas_de $LINGUAS ; then |
22 |
> |
23 |
> if has linguas_de $USE ; then |
24 |
> |
25 |
> So if you were to set LINGUAS="*", there would have to be some magic |
26 |
> way for the package mangler to know that linguas_de exists, even if |
27 |
> there's no mention of it anywhere in any user config files or in IUSE |
28 |
> (and no, the desc files aren't a complete list either). |
29 |
> |
30 |
> The reason for this, historically, was that IUSE was used purely for |
31 |
> display purposes by Portage, whilst USE was worked out from everything |
32 |
> in config files, regardless of whether or not the ebuild claimed to use |
33 |
> it. That meant there was absolutely nothing stopping you from making |
34 |
> IUSE incomplete... |
35 |
> |
36 |
|
37 |
Ah, thanks for the explanation. Regards |