--- gai-0.5.6.ebuild 2004-10-08 13:37:54.000000000 -0300 +++ gai-0.5.6.ebuild 2005-04-09 20:45:21.000000000 -0300 @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-libs/gai/gai-0.5.6.ebuild,v 1.1 2004/10/08 16:37:54 lordvan Exp $ +inherit eutils + IUSE="opengl gnome" MY_P=${P/_/} @@ -11,7 +13,7 @@ SLOT="0" LICENSE="LGPL-2" -KEYWORDS="~x86 ppc" +KEYWORDS="~x86 ~ppc" DEPEND=">=x11-libs/gtk+-2.0.0 opengl? ( >=x11-libs/gtkglext-1.0.5 ) @@ -19,6 +21,11 @@ S=${WORKDIR}/${MY_P} +src_unpack(){ + unpack ${A} + epatch ${FILESDIR}/${P}-gcc4.diff +} + src_compile() { # works with just set prefix (doesn't hardcode the prefix anywhere)! local myconf