dev-libs/libprelude has a configure flag for enabling what they call "easy bindings" (useful in perl and python devel). included is the patch. Reproducible: Always should look something like this: --- ebuild 2009-09-29 19:04:31.000000000 +0000 +++ ebuild-new 2009-09-29 19:08:30.000000000 +0000 @@ -11,7 +11,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~sparc ~x86" -IUSE="doc perl python swig" +IUSE="doc perl python swig easy-bindings" RDEPEND=">=net-libs/gnutls-1.0.17 !net-analyzer/prelude-nids" @@ -35,6 +35,7 @@ $(use_with swig) \ $(use_with perl) \ $(use_with python) \ + $(use_enable easy-bindings) \ || die "econf failed" emake OTHERLDFLAGS="${LDFLAGS}" || die "emake failed" ./configure --help `configure' configures this package to adapt to many kinds of systems. Usage: ./configure [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: ... optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) --enable-ltdl-install install libltdl --enable-easy-bindings Enable support for high level binding [default=no] --disable-rpath do not hardcode runtime library paths --enable-relocatable install a package that can be moved in the filesystem --enable-gtk-doc use gtk-doc to build documentation [default=no] I don't have a gentoo system to test and verify this on (for a friend of mine); but the patch should be simple to test and add.
Added, thanks.