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

man/ebuild.5

index 6dad244d7c06db98a531c25b504767e4c60b3fed..1ae981b8b6633ac6293219ffe2f53db283d26cfd 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}