From: Fabian Groffen Date: Wed, 9 Dec 2009 20:06:21 +0000 (-0000) Subject: EAPI="prefix" is nostalgic, but not reality, make the example read EAPI="3", and... X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=39e74e55f803d10bb2d06f056a1a221fc793052f;p=portage.git EAPI="prefix" is nostalgic, but not reality, make the example read EAPI="3", and update it accordingly svn path=/main/branches/prefix/; revision=14990 --- diff --git a/man/ebuild.5 b/man/ebuild.5 index a81bcdcc3..d69a18d3b 100644 --- a/man/ebuild.5 +++ b/man/ebuild.5 @@ -19,7 +19,7 @@ Here's a simple example ebuild: # Distributed under the terms of the GNU General Public License v2 # $Header: $ -EAPI="prefix" +EAPI="3" inherit some_eclass another_eclass @@ -35,10 +35,9 @@ IUSE="" RDEPEND="" DEPEND="nls? ( sys-devel/gettext )" -src_compile() { +src_configure() { econf \\ \-\-bindir="${EPREFIX}"/bin - emake || die "emake failed" } src_install() {