From 64098a164adb4485abebd79202e13561e4a3f720 Mon Sep 17 00:00:00 2001
From: Zac Medico <zmedico@gentoo.org>
Date: Sun, 3 May 2009 20:28:51 +0000
Subject: [PATCH] Bug #268398 - Document econf's automatic die behavior. (trunk
 r13600)

svn path=/main/branches/2.1.6/; revision=13606
---
 man/ebuild.5 | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/man/ebuild.5 b/man/ebuild.5
index 6dad244d7..1ae981b8b 100644
--- a/man/ebuild.5
+++ b/man/ebuild.5
@@ -738,11 +738,12 @@ ${\fIECONF_SOURCE\fR:-.}/configure \\
 	\-\-sysconfdir=/etc \\
 	\-\-localstatedir=/var/lib \\
 	\fI${EXTRA_ECONF}\fR \\
-	\fIconfigure options\fR
+	\fIconfigure options\fR || die "econf failed"
 .fi
 Note that the \fIEXTRA_ECONF\fR is for users only, not for ebuild
 writers.  If you wish to pass more options to configure, just pass the
-extra arguements to \fBeconf\fR.
+extra arguements to \fBeconf\fR. Also note that \fBeconf\fR automatically
+calls \fBdie\fR if the configure script fails.
 .TP
 \fBemake\fR \fI[make options]\fR
 This is used as a replacement for make.  Performs 'make ${MAKEOPTS}
-- 
2.26.2