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

(-)a/sqlite-3.6.21.ebuild (-12 / +3 lines)
Lines 22-28 Link Here
22
22
23
RDEPEND="icu? ( dev-libs/icu )
23
RDEPEND="icu? ( dev-libs/icu )
24
	readline? ( sys-libs/readline )
24
	readline? ( sys-libs/readline )
25
	tcl? ( dev-lang/tcl )"
25
	dev-lang/tcl"
26
DEPEND="${RDEPEND}
26
DEPEND="${RDEPEND}
27
	doc? ( app-arch/unzip )"
27
	doc? ( app-arch/unzip )"
28
28
Lines 43-63 Link Here
43
		rm -f test/like.test
43
		rm -f test/like.test
44
	fi
44
	fi
45
45
46
	# Needed to compile without tcl installed but fails to compile when it is installed, bug #293405
47
	use fts3 && ! has_version dev-lang/tcl && epatch "${FILESDIR}/sqlite-3.6.20-fts3.patch"
48
49
	epunt_cxx
46
	epunt_cxx
50
}
47
}
51
48
52
src_configure() {
49
src_configure() {
53
	# Support column metadata, bug #266651
50
	# Support column metadata, bug #266651
54
	append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA
51
	append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_RTREE
55
56
	# Support R-trees, bug #257646
57
	# Avoid "./.libs/libsqlite3.so: undefined reference to `sqlite3RtreeInit'" during non-amalgamation building.
58
	if use tcl; then
59
		append-cppflags -DSQLITE_ENABLE_RTREE
60
	fi
61
52
62
	if use icu && use tcl; then
53
	if use icu && use tcl; then
63
		append-cppflags -DSQLITE_ENABLE_ICU
54
		append-cppflags -DSQLITE_ENABLE_ICU
Lines 68-74 Link Here
68
	use soundex && append-cppflags -DSQLITE_SOUNDEX
59
	use soundex && append-cppflags -DSQLITE_SOUNDEX
69
60
70
	# http://bugs.gentoo.org/show_bug.cgi?id=207701
61
	# http://bugs.gentoo.org/show_bug.cgi?id=207701
71
	use fts3 && append-cppflags -DSQLITE_ENABLE_FTS3=1
62
	use fts3 && append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS
72
63
73
	econf \
64
	econf \
74
		$(use_enable debug) \
65
		$(use_enable debug) \

Return to bug 296245