dev-db/sqlcipher: fix building with FEATURES="test"
authorSergey Popov <pinkbyte@gentoo.org>
Mon, 30 May 2016 20:36:30 +0000 (23:36 +0300)
committerSergey Popov <pinkbyte@gentoo.org>
Mon, 30 May 2016 20:37:24 +0000 (23:37 +0300)
Testsuite requires, that sqlcipher is built with TCL

Gentoo-Bug: 582584
Reported-by: Killian De Volder <Killian.de.volder@scarlet.be>
Package-Manager: portage-2.3.0_rc1

dev-db/sqlcipher/sqlcipher-3.3.0.ebuild

index 8c2ff313c60bae88ea4722412249e1904f51281b..61dfb51a67240e66b8e7de855acf065e715b5a6d 100644 (file)
@@ -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