В Птн, 01/07/2011 в 09:09 +0100, Ciaran McCreesh пишет: > On Fri, 01 Jul 2011 12:03:41 +0400 > Peter Volkov <p...@gentoo.org> wrote: > > > pkg_setup() { > > > if use scripts && use !xmlrpc && use !metalink; then > > > > This really calls for REQUIRED_USE from EAPI="4". > > > > REQUIRED_USE="scripts? ( ^^ ( xmlrpc metalink ) )" > > That's not the same condition as the one in the pkg_setup.
Ah, yea. I guess any of xmlrpc or metalink are required for scripts. So, correct one should be: REQUIRED_USE="scripts? ( || ( xmlrpc metalink ) )" -- Peter.