On Thursday 30 June 2005 02:37 pm, Michael Sterrett -Mr. Bones.- wrote: > Why use a function then? Why not just supply a variable in the eclass that > is put in the DEPEND?
Because you need to be able to specify what the minimum version of Qt you want is. I suppose we could have 50 variables : QT_MINIMUM_VERSION_3_0_0_RC_3="|| (x11-libs/qt-3.3.4-r5 x11-libs/qt-3.3.4-r4 ... )" QT_MINIMUM_VERSION_3_0_0_RC_2=... DEPEND="$QT_MINIMUM_VERSION_3_0_0_RC_2" A function seems a bit nicer. -- gentoo-dev@gentoo.org mailing list