--- bobotpp-2.2.2.ebuild.orig 2009-10-15 20:37:51.437286928 +0200 +++ bobotpp-2.2.2.ebuild 2009-10-15 20:36:53.496283511 +0200 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-irc/bobotpp/bobotpp-2.2.2.ebuild,v 1.5 2008/04/18 16:37:46 cla Exp $ -inherit eutils +inherit eutils autotools DESCRIPTION="A flexible IRC bot scriptable in scheme" HOMEPAGE="http://unknownlamer.org/code/bobot.html" @@ -12,13 +12,16 @@ KEYWORDS="ppc x86 ~amd64" IUSE="guile" -DEPEND="guile? ( dev-scheme/guile )" +DEPEND="guile? ( dev-scheme/guile ) + sys-devel/automake:1.7" src_unpack() { unpack ${A} cd "${S}" - epatch "${FILESDIR}/bobotpp-2.2.2-gcc43.patch" + epatch "${FILESDIR}/$P-gcc43.patch" + epatch "${FILESDIR}/$P-as-needed.patch" + eautoreconf } src_compile() {