On Sat, 18 Jun 2011 14:18:28 +0200 justin <[email protected]> wrote: > The reason why it would be beneficial to use is the pkg_pretend phase > is simply that the checks would run at the beginning of a emerge and > it would fail directly instead somewhere in the middle. For a single > package it won't change much but for a huge emerge it changes the > things.
Hang on... What happens if someone doesn't have a fortran compiler installed, but installs one and then installs a fortran-using package all as part of the same group of packages? Then your pkg_pretend will fail incorrectly. Also, you appear to be assuming that environment variable saving carries over from pkg_pretend to later phases. It doesn't. -- Ciaran McCreesh
signature.asc
Description: PGP signature
