--- /var/repositories/gentoo-x86/net-p2p/amule/amule-2.2.0_pre20080204.ebuild 2008-02-04 17:51:50.000000000 +0100 +++ amule-2.2.0_pre20080204.ebuild 2008-02-17 01:30:09.000000000 +0100 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/amule-2.2.0_pre20080204.ebuild,v 1.1 2008/02/04 16:51:50 armin76 Exp $ -inherit eutils flag-o-matic wxwidgets +inherit eutils flag-o-matic wxwidgets autotools MY_P=${PN/m/M}-CVS-${PV/2.2.0_pre/} S="${WORKDIR}/${PN}-cvs" @@ -44,6 +44,13 @@ fi } +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/2.2.0-as_needed.patch" + eautoconf +} + pkg_preinst() { if use daemon || use remote; then enewgroup p2p