1 |
On Sat, 18 Jun 2011 14:18:28 +0200 |
2 |
justin <jlec@g.o> wrote: |
3 |
> The reason why it would be beneficial to use is the pkg_pretend phase |
4 |
> is simply that the checks would run at the beginning of a emerge and |
5 |
> it would fail directly instead somewhere in the middle. For a single |
6 |
> package it won't change much but for a huge emerge it changes the |
7 |
> things. |
8 |
|
9 |
Hang on... What happens if someone doesn't have a fortran compiler |
10 |
installed, but installs one and then installs a fortran-using package |
11 |
all as part of the same group of packages? Then your pkg_pretend will |
12 |
fail incorrectly. |
13 |
|
14 |
Also, you appear to be assuming that environment variable saving |
15 |
carries over from pkg_pretend to later phases. It doesn't. |
16 |
|
17 |
-- |
18 |
Ciaran McCreesh |