EAPI="prefix" is nostalgic, but not reality, make the example read EAPI="3", and...
authorFabian Groffen <grobian@gentoo.org>
Wed, 9 Dec 2009 20:06:21 +0000 (20:06 -0000)
committerFabian Groffen <grobian@gentoo.org>
Wed, 9 Dec 2009 20:06:21 +0000 (20:06 -0000)
svn path=/main/branches/prefix/; revision=14990

man/ebuild.5

index a81bcdcc3ceb4a080cf06972c2768a5b4bdaa61e..d69a18d3bd63921555f5aeace4f1f5d9fb08f654 100644 (file)
@@ -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() {