Fix die() usage in ebuild phase examples. Thanks to Jeremy Olexa
authorZac Medico <zmedico@gentoo.org>
Sun, 25 Jan 2009 01:27:30 +0000 (01:27 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 25 Jan 2009 01:27:30 +0000 (01:27 -0000)
<darkside@g.o> for this patch.

svn path=/main/trunk/; revision=12556

man/ebuild.5

index 0c5a07e285662d0046723b8398f5e9e51a6138bf..a98f6e36e7e54fe75129de91114ac1b4ea1a2860 100644 (file)
@@ -23,7 +23,7 @@ inherit some_eclass another_eclass
 
 DESCRIPTION="Super\-useful stream editor (sed)"
 HOMEPAGE="http://www.gnu.org/software/sed/sed.html"
-SRC_URI="ftp://alpha.gnu.org/pub/gnu/sed/${P}.tar.gz"
+SRC_URI="ftp://alpha.gnu.org/pub/gnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL\-2"
 SLOT="0"
@@ -35,14 +35,13 @@ DEPEND="nls? ( sys-devel/gettext )"
 
 src_compile() {
        econf \\
-               \-\-bindir=/bin \\
-               || die "could not configure"
+               \-\-bindir=/bin
        emake || die "emake failed"
 }
 
 src_install() {
        emake install DESTDIR="${D}" || die "Install failed"
-       dodoc NEWS README* THANKS AUTHORS BUGS ChangeLog
+       dodoc NEWS README* THANKS AUTHORS BUGS ChangeLog || die "dodoc failed"
 }
 .fi
 .SH "VARIABLES"