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