Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 514124
Collapse All | Expand All

(-)/usr/portage/dev-db/hyperdex/hyperdex-1.5.0.ebuild (-1 / +6 lines)
Lines 7-13 Link Here
7
RESTRICT="test"
7
RESTRICT="test"
8
8
9
PYTHON_COMPAT=( python2_7)
9
PYTHON_COMPAT=( python2_7)
10
inherit eutils python-r1 autotools
10
inherit eutils python-single-r1 autotools
11
11
12
DESCRIPTION="A searchable distributed Key-Value Store"
12
DESCRIPTION="A searchable distributed Key-Value Store"
13
13
Lines 35-45 Link Here
35
35
36
REQUIRED_USE="test? ( python )"
36
REQUIRED_USE="test? ( python )"
37
37
38
pkg_setup() {
39
	use python && python-single-r1_pkg_setup
40
}
41
38
src_prepare() {
42
src_prepare() {
39
	cp "${WORKDIR}/"*.m4 m4/
43
	cp "${WORKDIR}/"*.m4 m4/
40
	sed -i -e 's~json/json.h~json-c/json.h~' configure.ac common/datatype_document.cc daemon/index_document.cc || die "Blergh!"
44
	sed -i -e 's~json/json.h~json-c/json.h~' configure.ac common/datatype_document.cc daemon/index_document.cc || die "Blergh!"
41
	eautoreconf
45
	eautoreconf
42
}
46
}
47
43
src_configure() {
48
src_configure() {
44
	econf --disable-static \
49
	econf --disable-static \
45
		$(use_enable python python-bindings)
50
		$(use_enable python python-bindings)

Return to bug 514124