summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-01-25 01:27:30 +0000
committerZac Medico <zmedico@gentoo.org>2009-01-25 01:27:30 +0000
commit5b1d653ae0f85814b3c633f2579608646ac5122e (patch)
tree54caa9781c2bc6586332aac6c04dca98e79507c4
parent50a8e9afffccf88c77021c426491681e80c914aa (diff)
downloadportage-5b1d653ae0f85814b3c633f2579608646ac5122e.tar.gz
portage-5b1d653ae0f85814b3c633f2579608646ac5122e.tar.bz2
portage-5b1d653ae0f85814b3c633f2579608646ac5122e.zip
Fix die() usage in ebuild phase examples. Thanks to Jeremy Olexa
<darkside@g.o> for this patch. svn path=/main/trunk/; revision=12556
-rw-r--r--man/ebuild.57
1 files changed, 3 insertions, 4 deletions
diff --git a/man/ebuild.5 b/man/ebuild.5
index 0c5a07e28..a98f6e36e 100644
--- a/man/ebuild.5
+++ b/man/ebuild.5
@@ -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"