Gentoo Archives: gentoo-dev

From: Aron Griffis <agriffis@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: RFC: qt.eclass
Date: Thu, 30 Jun 2005 20:39:02
Message-Id: 20050630203635.GB18239@kaf.zko.hp.com
In Reply to: Re: [gentoo-dev] Re: RFC: qt.eclass by Dan Armak
1 Dan Armak wrote: [Thu Jun 30 2005, 04:06:03PM EDT]
2 > Because the function takes a parameter - the minimal version
3 > required from which to start the list in the ||.
4
5 Makes sense.
6
7 > Any everyone who thinks functions inside $DEPEND are iffy should
8 > look at deprange() and deprange-dual()... /me hides
9
10 They're definitely iffy. Try this at a bash prompt:
11
12 DEPEND="$(exit 1)"
13
14 See the problem? It didn't exit. That's what will happen if
15 a function in DEPEND fails: nothing. Except that yours will currently
16 stick this in DEPEND:
17
18 !!! error: qt_min_version called with invalid parameter: \"$1\",
19 please report bug
20
21 Regards,
22 Aron
23
24 --
25 Aron Griffis
26 Gentoo Linux Developer

Replies

Subject Author
Re: [gentoo-dev] Re: RFC: qt.eclass Caleb Tennis <caleb@g.o>
Re: [gentoo-dev] Re: RFC: qt.eclass Dan Armak <danarmak@g.o>