Fix die() usage in ebuild phase examples. Thanks to Jeremy Olexa
authorZac Medico <zmedico@gentoo.org>
Wed, 11 Mar 2009 03:26:55 +0000 (03:26 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 11 Mar 2009 03:26:55 +0000 (03:26 -0000)
<darkside@g.o> for this patch. (trunk r12556)

svn path=/main/branches/2.1.6/; revision=12842

man/ebuild.5

index bf44de70e7d470edeb596e18f6be680ace98a709..9cb49769406c6887dbae2aa3b949e61b4a398e71 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"