--- /usr/portage/app-admin/realpath/realpath-1.14.ebuild 2009-05-11 22:36:48.000000000 +0200 +++ realpath-1.14.ebuild 2009-05-15 03:01:36.000000000 +0200 @@ -2,7 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-admin/realpath/realpath-1.14.ebuild,v 1.2 2009/05/11 20:29:15 loki_val Exp $ -EAPI=2 +EAPI="2" + inherit eutils toolchain-funcs DESCRIPTION="Return the canonicalized absolute pathname" @@ -15,8 +16,6 @@ IUSE="" RDEPEND="!sys-freebsd/freebsd-bin" -DEPEND="${RDEPEND} - app-text/po4a" src_prepare() { epatch "${FILESDIR}"/${P}-build.patch @@ -24,10 +23,12 @@ src_compile() { tc-export CC - emake VERSION="${PV}"|| die "emake failed" + emake VERSION="${PV}" -C src || die "bin emake failed" + emake VERSION="${PV}" -C man || die "man emake failed" } src_install() { - emake VERSION="${PV}" DESTDIR="${D}" install || die "emake install failed" + emake VERSION="${PV}" DESTDIR="${D}" -C src install || die "bin install failed" + emake VERSION="${PV}" DESTDIR="${D}" -C man install || die "man install failed" newdoc debian/changelog ChangeLog.debian }