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

Collapse All | Expand All

(-)file_not_specified_in_diff (-4 / +21 lines)
Line  Link Here
0
-- tdb-1.2.1-r1.ebuild
0
++ tdb-1.2.1-r1.ebuild
Lines 3-8 Link Here
3
# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/tdb-1.2.1-r1.ebuild,v 1.3 2010/09/27 16:26:05 leio Exp $
3
# $Header: /var/cvsroot/gentoo-x86/sys-libs/tdb/tdb-1.2.1-r1.ebuild,v 1.3 2010/09/27 16:26:05 leio Exp $
4
4
5
EAPI="2"
5
EAPI="2"
6
PYTHON_DEPEND="python? 2"
6
7
7
inherit autotools python
8
inherit autotools python
8
9
Lines 15-26 Link Here
15
IUSE="python static-libs tools tdbtest"
16
IUSE="python static-libs tools tdbtest"
16
17
17
RDEPEND=""
18
RDEPEND=""
18
DEPEND="python? ( dev-lang/python )
19
DEPEND="!<net-fs/samba-libs-3.4
19
	!<net-fs/samba-libs-3.4
20
	!<net-fs/samba-3.3
20
	!<net-fs/samba-3.3
21
	app-text/docbook-xsl-stylesheets
21
	app-text/docbook-xsl-stylesheets
22
	dev-libs/libxslt"
22
	dev-libs/libxslt"
23
23
24
pkg_setup() {
25
	if use python; then
26
		python_set_active_version 2
27
		python_pkg_setup
28
	fi
29
}
30
24
src_prepare() {
31
src_prepare() {
25
	eautoconf -Ilibreplace
32
	eautoconf -Ilibreplace
26
	sed -i \
33
	sed -i \
Lines 34-43 Link Here
34
}
41
}
35
42
36
src_configure() {
43
src_configure() {
44
	local myconf=()
45
46
	if use python; then
47
		myconf=(
48
			PYTHON_CONFIG="${EPREFIX}/usr/bin/python-config-$(python_get_version)"
49
			PYTHON="$(PYTHON -a)"
50
		)
51
	fi
52
37
	econf \
53
	econf \
38
		--sysconfdir=/etc/samba \
54
		--sysconfdir=/etc/samba \
39
		--localstatedir=/var \
55
		--localstatedir=/var \
40
		$(use_enable python)
56
		$(use_enable python) \
57
		"${myconf[@]}"
41
}
58
}
42
59
43
src_compile() {
60
src_compile() {

Return to bug 316959