From: Zac Medico <zmedico@gentoo.org>
Date: Sun, 3 May 2009 20:28:51 +0000 (-0000)
Subject: Bug #268398 - Document econf's automatic die behavior. (trunk r13600)
X-Git-Tag: v2.1.6.13~2
X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=64098a164adb4485abebd79202e13561e4a3f720;p=portage.git

Bug #268398 - Document econf's automatic die behavior. (trunk r13600)

svn path=/main/branches/2.1.6/; revision=13606
---

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}