From: | Aron Griffis <agriffis@g.o> | ||
---|---|---|---|
To: | gentoo-dev@l.g.o | ||
Subject: | Re: [gentoo-dev] Re: RFC: qt.eclass | ||
Date: | Fri, 01 Jul 2005 14:00:29 | ||
Message-Id: | 20050701135636.GA6611@olive.flatmonk | ||
In Reply to: | Re: [gentoo-dev] Re: RFC: qt.eclass by Dan Armak |
1 | Dan Armak wrote: [Fri Jul 01 2005, 03:42:22AM EDT] |
2 | > ...OK, so deprange() needs to signal errors out-of-band. Like setting a |
3 | > KM_ERROR variable which causes the eclass to abort later on. |
4 | |
5 | Heh, doesn't work for the same reason you can't exit. It's |
6 | a subshell. |
7 | |
8 | How about this? |
9 | |
10 | ebuild: |
11 | DEPEND="some stuff" |
12 | qt_min_dep "3.3" |
13 | |
14 | eclass: |
15 | qt_min_dep() { |
16 | if cool; then |
17 | DEPEND="${DEPEND} new stuff" |
18 | else |
19 | die "..." |
20 | fi |
21 | } |
22 | |
23 | Regards, |
24 | Aron |
25 | |
26 | -- |
27 | Aron Griffis |
28 | Gentoo Linux Developer |
Subject | Author |
---|---|
Re: [gentoo-dev] Re: RFC: qt.eclass | Dan Armak <danarmak@g.o> |
Re: [gentoo-dev] Re: RFC: qt.eclass | Caleb Tennis <caleb@g.o> |