--- gmyth-0.7.ebuild.orig 2010-01-09 17:13:17.844496231 +0100 +++ gmyth-0.7.ebuild 2010-01-09 17:13:54.441491585 +0100 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-libs/gmyth/gmyth-0.7.ebuild,v 1.7 2009/05/21 19:01:52 ranger Exp $ -inherit libtool +inherit libtool autotools eutils IUSE="debug" LICENSE="LGPL-2" @@ -20,6 +20,13 @@ S="${WORKDIR}/${PN}" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-as-needed.patch" + AT_M4DIR="m4" eautoreconf +} + src_compile() { econf $(use_enable debug) emake || die "emake failed."