Caleb Tennis wrote:[Fri Jul 01 2005, 10:48:38AM EDT] > On Friday 01 July 2005 08:56 am, Aron Griffis wrote: > > How about this? > > > > ebuild: > > DEPEND="some stuff" > > qt_min_dep "3.3" > > How do you handle the ebuilds which use the qt use flag to determine whether > or not that qt is a dependency?
Bah, good point. I knew it was too easy. :-) It seems like at this point there is one good suggestion on the table for an immediate fix: DEPEND="..." || die Of course we all want more flexible DEPEND processing in portage, but another avenue of research for somebody is to read the ebuilds (not necessarily execute the functions) with "set -e". That doesn't solve the problem quickly enough for you, since it requires a portage change, but it would solve the general problem of calling functions from strings (so long as you only call one!) Regards, Aron -- Aron Griffis Gentoo Linux Developer
pgpOnRcudN3AM.pgp
Description: PGP signature