--- geos-3.1.1.ebuild.orig 2009-09-29 15:54:29.000000000 +0200 +++ geos-3.1.1.ebuild 2009-09-29 15:53:40.000000000 +0200 @@ -3,6 +3,7 @@ # $Header: /var/cvsroot/gentoo-x86/sci-libs/geos/geos-3.1.1.ebuild,v 1.4 2009/09/27 14:36:12 nixnut Exp $ EAPI=2 +inherit eutils DESCRIPTION="Geometry engine library for Geographic Information Systems" HOMEPAGE="http://geos.refractions.net" @@ -20,6 +21,10 @@ ruby? ( dev-lang/swig ) python? ( dev-lang/swig )" +src_prepare() { + epatch "${FILESDIR}/$P-missing-includes.patch" +} + src_configure() { econf $(use_enable python) $(use_enable ruby) }