Le jeudi 01 avril 2010 à 00:56 -0700, Brian Harring a écrit : [snip] > pkg_setup: ran just before the build of the pkg, after the pkg's > DEPENDS are all built. Meaning you *can* do has_version checks, > kernel config checks, etc, because the proceeding deps are now > satisfied. > > pkg_pretend: ran before *every* *single* *build* has been ran, > meaning > the has_version check, the kernel config check, etc, all can > invalidly > die. > > Had they been pkg_setup (check after DEPENDs are satisfied), the > majority of the checks would pass, but because they're ran prior to > DEPENDs satisfied, users will have to wind up breaking what was a > single emerge invocation into multiple to satisfy pkg_pretend being > wrong. >
jumping on the train here, but who said PM would not feed proper data to pkg_pretend so it would behave like the DEPEND were already built. Could some guy involved in a PM development tell us about how this would be handled ? -- Gilles Dartiguelongue <e...@gentoo.org> Gentoo