summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2016-05-30 23:36:30 +0300
committerSergey Popov <pinkbyte@gentoo.org>2016-05-30 23:37:24 +0300
commitef28c6338ead2ab85cdce9a0de238e15cb564288 (patch)
treee2404e52a291f6b22f9703efec021dcda6967ca9 /dev-db/sqlcipher
parentnet-dns/pdns: Version bump, bug #583598 (diff)
downloadgentoo-ef28c6338ead2ab85cdce9a0de238e15cb564288.tar.gz
gentoo-ef28c6338ead2ab85cdce9a0de238e15cb564288.tar.bz2
gentoo-ef28c6338ead2ab85cdce9a0de238e15cb564288.zip
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@scarlet.be> Package-Manager: portage-2.3.0_rc1
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