On Thu, 30 Jun 2005 17:38:32 -0400
Aron Griffis <[EMAIL PROTECTED]> 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

Reply via email to