Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 176419 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/dev-libs/xapian-bindings/xapian-bindings-1.2.7.ebuild (-1 / +8 lines)
Lines 11-17 Link Here
11
PHP_EXT_NAME="xapian"
11
PHP_EXT_NAME="xapian"
12
PHP_EXT_INI="yes"
12
PHP_EXT_INI="yes"
13
13
14
inherit java-pkg-opt-2 mono php-ext-source-r2 python
14
inherit java-pkg-opt-2 mono php-ext-source-r2 python eutils autotools
15
15
16
DESCRIPTION="SWIG and JNI bindings for Xapian"
16
DESCRIPTION="SWIG and JNI bindings for Xapian"
17
HOMEPAGE="http://www.xapian.org/"
17
HOMEPAGE="http://www.xapian.org/"
Lines 36-41 Link Here
36
	java? ( >=virtual/jre-1.3 )"
36
	java? ( >=virtual/jre-1.3 )"
37
37
38
pkg_setup() {
38
pkg_setup() {
39
	java-pkg-opt-2_pkg_setup
39
	if use python; then
40
	if use python; then
40
		python_pkg_setup
41
		python_pkg_setup
41
	fi
42
	fi
Lines 46-51 Link Here
46
		-e 's:\(^pkgpylib_DATA = xapian/__init__.py\).*:\1:' \
47
		-e 's:\(^pkgpylib_DATA = xapian/__init__.py\).*:\1:' \
47
		-e 's|\(^xapian/__init__.py: modern/xapian.py\)|\1 xapian/_xapian$(PYTHON_SO)|' \
48
		-e 's|\(^xapian/__init__.py: modern/xapian.py\)|\1 xapian/_xapian$(PYTHON_SO)|' \
48
		-i python/Makefile.{am,in} || die "sed failed"
49
		-i python/Makefile.{am,in} || die "sed failed"
50
	java-pkg-opt-2_src_prepare
51
	if use java; then
52
		epatch "${FILESDIR}"/${P}-javacflags.patch
53
		eautoreconf
54
		
55
	fi
49
}
56
}
50
57
51
src_configure() {
58
src_configure() {

Return to bug 176419