Bug #268398 - Document econf's automatic die behavior.
authorZac Medico <zmedico@gentoo.org>
Sun, 3 May 2009 20:02:46 +0000 (20:02 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 3 May 2009 20:02:46 +0000 (20:02 -0000)
svn path=/main/trunk/; revision=13600

man/ebuild.5

index b541b404881901ab81115b9eae34056670527c2c..e116ea249eefaabd85f3fab3da11b3e4ca0d572f 100644 (file)
@@ -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}