--- gwave-20090213.ebuild.orig 2010-02-06 18:38:10.000000000 +0100 +++ gwave-20090213.ebuild 2010-02-06 18:38:27.000000000 +0100 @@ -1,10 +1,10 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sci-electronics/gwave/gwave-20090213.ebuild,v 1.1 2009/11/29 07:06:23 calchan Exp $ EAPI="2" -inherit eutils fdo-mime gnome2-utils +inherit autotools eutils fdo-mime gnome2-utils MY_PN="gwave2" MY_P="${MY_PN}-${PV}" @@ -29,8 +29,8 @@ S="${WORKDIR}/${MY_P}" src_prepare() { - # --as-needed fix - sed -i -e 's/_LDADD = /_LDADD = -lX11 /' remote/Makefile.in || die "sed failed" + epatch "${FILESDIR}"/$P-as-needed.patch + eautoreconf } src_install() {