Gentoo Archives: gentoo-dev

From: Thomas de Grenier de Latour <degrenier@×××××××××××.fr>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: RFC: qt.eclass
Date: Thu, 30 Jun 2005 22:14:31
Message-Id: 20050701001237.60f8bf55@eusebe
In Reply to: Re: [gentoo-dev] Re: RFC: qt.eclass by Aron Griffis
1 On Thu, 30 Jun 2005 17:38:32 -0400
2 Aron Griffis <agriffis@g.o> wrote:
3
4 > Well, it's more visible, but it doesn't stop the emerge. I
5 > just put DEPEND="$(die)" into an ebuild to test.
6
7 Something that "works" better (ie., "makes portage stop during
8 metadata caching") is to put a non-zero return code in the
9 function in case of error, and then call die from the ebuild:
10
11 DEPEND="$(qt_min_version 3.3)" \
12 || die "Error in DEPEND"
13
14 And sure, the error messages from the function should go to
15 stderr if you want to see them.
16
17 --
18 TGL.
19 --
20 gentoo-dev@g.o mailing list