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