1 |
commit: ef28c6338ead2ab85cdce9a0de238e15cb564288 |
2 |
Author: Sergey Popov <pinkbyte <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 30 20:36:30 2016 +0000 |
4 |
Commit: Sergey Popov <pinkbyte <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 30 20:37:24 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef28c633 |
7 |
|
8 |
dev-db/sqlcipher: fix building with FEATURES="test" |
9 |
|
10 |
Testsuite requires, that sqlcipher is built with TCL |
11 |
|
12 |
Gentoo-Bug: 582584 |
13 |
Reported-by: Killian De Volder <Killian.de.volder <AT> scarlet.be> |
14 |
|
15 |
Package-Manager: portage-2.3.0_rc1 |
16 |
|
17 |
dev-db/sqlcipher/sqlcipher-3.3.0.ebuild | 5 ++++- |
18 |
1 file changed, 4 insertions(+), 1 deletion(-) |
19 |
|
20 |
diff --git a/dev-db/sqlcipher/sqlcipher-3.3.0.ebuild b/dev-db/sqlcipher/sqlcipher-3.3.0.ebuild |
21 |
index 8c2ff31..61dfb51 100644 |
22 |
--- a/dev-db/sqlcipher/sqlcipher-3.3.0.ebuild |
23 |
+++ b/dev-db/sqlcipher/sqlcipher-3.3.0.ebuild |
24 |
@@ -15,7 +15,7 @@ LICENSE="BSD" |
25 |
SLOT="0" |
26 |
KEYWORDS="amd64 x86" |
27 |
|
28 |
-IUSE="readline static-libs tcl" |
29 |
+IUSE="readline static-libs tcl test" |
30 |
|
31 |
# Tcl is always needed by buildsystem |
32 |
RDEPEND="dev-libs/openssl:0[${MULTILIB_USEDEP}] |
33 |
@@ -24,6 +24,9 @@ RDEPEND="dev-libs/openssl:0[${MULTILIB_USEDEP}] |
34 |
DEPEND="${RDEPEND} |
35 |
dev-lang/tcl" |
36 |
|
37 |
+# Testsuite requires compilation with TCL, bug #582584 |
38 |
+REQUIRED_USE="test? ( tcl )" |
39 |
+ |
40 |
src_prepare() { |
41 |
append-cflags -DSQLITE_HAS_CODEC |