--- /usr/portage/gnome-extra/gcalctool/gcalctool-5.9.14.ebuild 2007-09-22 03:36:49.000000000 -0500 +++ gcalctool-5.9.14.ebuild 2007-09-28 09:57:31.000000000 -0500 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/gcalctool/gcalctool-5.9.14.ebuild,v 1.10 2007/09/22 08:06:24 tgall Exp $ -inherit gnome2 +inherit eutils gnome2 autotools DESCRIPTION="A calculator application for GNOME" HOMEPAGE="http://calctool.sourceforge.net/" @@ -28,6 +28,13 @@ DOCS="AUTHORS ChangeLog* MAINTAINERS NEWS README TODO" +src_unpack() { + gnome2_src_unpack ${A} + cd ${S} + epatch "${FILESDIR}/${PN}-gtk+-2.12.0-compat.patch" + AT_M4DIR="m4" eautoreconf +} + pkg_setup() { G2CONF="${G2CONF} --enable-gnome" }