On Friday 01 July 2005 18:14, Jonathan Smith wrote: > - gpg control packet > > Thomas de Grenier de Latour wrote: > > Btw, what's wrong with the `DEPEND="$(your_function)" || die` > > > > i've proposed? Using a return code seems to be the simplest way > > to signal a failure, no? > > calling a function in a global scope is a bad idea. it leads to lots of > unneccessary (and timely) computations Necessary in the case of kde split ebuilds. Take a look at kde-functions.eclass::deprange().
-- Dan Armak Gentoo Linux developer (KDE) Public GPG key: http://dev.gentoo.org/~danarmak/danarmak-gpg-public.key Fingerprint: DD70 DBF9 E3D4 6CB9 2FDD 0069 508D 9143 8D5F 8951
pgpY4Deq30kXt.pgp
Description: PGP signature