[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-dev
Subject: Re: [gentoo-dev] Re: RFC: qt.eclass
From: Thomas de Grenier de Latour <degrenier () easyconnect ! fr>
Date: 2005-06-30 22:12:37
Message-ID: 20050701001237.60f8bf55 () eusebe
[Download RAW message or body]
On Thu, 30 Jun 2005 17:38:32 -0400
Aron Griffis <agriffis@gentoo.org> wrote:
> Well, it's more visible, but it doesn't stop the emerge. I
> just put DEPEND="$(die)" into an ebuild to test.
Something that "works" better (ie., "makes portage stop during
metadata caching") is to put a non-zero return code in the
function in case of error, and then call die from the ebuild:
DEPEND="$(qt_min_version 3.3)" \
|| die "Error in DEPEND"
And sure, the error messages from the function should go to
stderr if you want to see them.
--
TGL.
--
gentoo-dev@gentoo.org mailing list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic