summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/sqlcipher')
-rw-r--r--dev-db/sqlcipher/sqlcipher-3.3.0.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-db/sqlcipher/sqlcipher-3.3.0.ebuild b/dev-db/sqlcipher/sqlcipher-3.3.0.ebuild
index 8c2ff313c60b..61dfb51a6724 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