commit:     ef28c6338ead2ab85cdce9a0de238e15cb564288
Author:     Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
AuthorDate: Mon May 30 20:36:30 2016 +0000
Commit:     Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
CommitDate: Mon May 30 20:37:24 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef28c633

dev-db/sqlcipher: fix building with FEATURES="test"

Testsuite requires, that sqlcipher is built with TCL

Gentoo-Bug: 582584
Reported-by: Killian De Volder <Killian.de.volder <AT> scarlet.be>

Package-Manager: portage-2.3.0_rc1

 dev-db/sqlcipher/sqlcipher-3.3.0.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-db/sqlcipher/sqlcipher-3.3.0.ebuild 
b/dev-db/sqlcipher/sqlcipher-3.3.0.ebuild
index 8c2ff31..61dfb51 100644
--- a/dev-db/sqlcipher/sqlcipher-3.3.0.ebuild
+++ b/dev-db/sqlcipher/sqlcipher-3.3.0.ebuild
@@ -15,7 +15,7 @@ LICENSE="BSD"
 SLOT="0"
 KEYWORDS="amd64 x86"
 
-IUSE="readline static-libs tcl"
+IUSE="readline static-libs tcl test"
 
 # Tcl is always needed by buildsystem
 RDEPEND="dev-libs/openssl:0[${MULTILIB_USEDEP}]
@@ -24,6 +24,9 @@ RDEPEND="dev-libs/openssl:0[${MULTILIB_USEDEP}]
 DEPEND="${RDEPEND}
        dev-lang/tcl"
 
+# Testsuite requires compilation with TCL, bug #582584
+REQUIRED_USE="test? ( tcl )"
+
 src_prepare() {
        append-cflags -DSQLITE_HAS_CODEC
 

Reply via email to