--- /usr/portage/dev-db/hyperdex/hyperdex-1.5.0.ebuild 2014-11-23 07:01:04.000000000 -0700 +++ hyperdex-1.5.0.ebuild 2015-01-13 22:27:23.598772961 -0700 @@ -7,7 +7,7 @@ RESTRICT="test" PYTHON_COMPAT=( python2_7) -inherit eutils python-r1 autotools +inherit eutils python-single-r1 autotools DESCRIPTION="A searchable distributed Key-Value Store" @@ -35,11 +35,16 @@ REQUIRED_USE="test? ( python )" +pkg_setup() { + use python && python-single-r1_pkg_setup +} + src_prepare() { cp "${WORKDIR}/"*.m4 m4/ sed -i -e 's~json/json.h~json-c/json.h~' configure.ac common/datatype_document.cc daemon/index_document.cc || die "Blergh!" eautoreconf } + src_configure() { econf --disable-static \ $(use_enable python python-bindings)