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

(-)sphinx-0.9.9-r1.ebuild (-1 / +8 lines)
Lines 18-24 Link Here
18
18
19
LICENSE="GPL-2"
19
LICENSE="GPL-2"
20
SLOT="0"
20
SLOT="0"
21
KEYWORDS="~amd64 ~x86 ~ppc-macos"
21
KEYWORDS="~amd64 ~x86 ~ppc-macos ~amd64-linux"
22
IUSE="debug id64 mysql postgres stemmer test"
22
IUSE="debug id64 mysql postgres stemmer test"
23
23
24
RDEPEND="mysql? ( virtual/mysql )
24
RDEPEND="mysql? ( virtual/mysql )
Lines 39-44 Link Here
39
src_prepare() {
39
src_prepare() {
40
	# drop nasty hardcoded search path breaking Prefix
40
	# drop nasty hardcoded search path breaking Prefix
41
	sed -i -e '/\/usr\/local\//d' configure.ac || die
41
	sed -i -e '/\/usr\/local\//d' configure.ac || die
42
	# fix for upstream building bug #468
43
	sed -i -e '270,290s/void sock_close/static void sock_close/' \
44
		api/libsphinxclient/sphinxclient.c || die
42
	eautoreconf
45
	eautoreconf
43
}
46
}
44
47
Lines 50-59 Link Here
50
		$(use_with mysql) \
53
		$(use_with mysql) \
51
		$(use_with postgres pgsql) \
54
		$(use_with postgres pgsql) \
52
		$(use_with stemmer libstemmer)
55
		$(use_with stemmer libstemmer)
56
	cd api/libsphinxclient || die
57
	econf STRIP=:
53
}
58
}
54
59
55
src_compile() {
60
src_compile() {
56
	emake || die "emake failed"
61
	emake || die "emake failed"
62
	emake -j1 -C api/libsphinxclient || die "emake libsphinxclient failed"
57
}
63
}
58
64
59
src_test() {
65
src_test() {
Lines 63-68 Link Here
63
69
64
src_install() {
70
src_install() {
65
	emake DESTDIR="${D}" install || die "install failed"
71
	emake DESTDIR="${D}" install || die "install failed"
72
	emake -C api/libsphinxclient DESTDIR="${D}" install || die "install failed"
66
	dodoc doc/*
73
	dodoc doc/*
67
74
68
	dodir /var/lib/sphinx
75
	dodir /var/lib/sphinx

Return to bug 328213