--- rpc2-2.0.ebuild.orig 2009-10-20 20:16:47.273234243 +0200 +++ rpc2-2.0.ebuild 2009-10-20 20:15:43.581986855 +0200 @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-libs/rpc2/rpc2-2.0.ebuild,v 1.3 2007/03/27 18:48:20 armin76 Exp $ +inherit eutils + DESCRIPTION="Remote procedure call package for IP/UDP (used by Coda)" HOMEPAGE="http://www.coda.cs.cmu.edu/" SRC_URI="http://www.coda.cs.cmu.edu/pub/rpc2/src/${P}.tar.gz" @@ -18,6 +20,13 @@ sys-apps/grep sys-devel/libtool" +src_unpack() { + unpack ${A} + + cd "${S}" + epatch "${FILESDIR}"/${P}-as-needed.patch +} + src_install() { make DESTDIR=${D} install || die "make install failed"