On Thursday 30 June 2005 02:58 pm, Donnie Berkholz wrote: > Caleb Tennis wrote: > > DEPEND="$(qt_min_version 3.0)" > > or > > DEPEND="qt? ( $(qt_min_version 3.1.2-r2) )" > > > > And the eclass will expand out all Qt3 ebuilds which satisfy the > > statement. > > I'm no expert on portage, but running random functions in DEPEND sounds > like a bad idea.
it depends on the information that the function acts upon ... if the results depend on stuff that is installed (i.e. things in /var/db/pkg) or env vars the user manipulates (like $SOME_FOO), then that's bad ... if the results depend on a variable that changes across ebuilds but retains the same value in a specific ebuild (like $PN or $PV), that is OK -mike -- gentoo-dev@gentoo.org mailing list