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
This commit is contained in:
Sergey Popov
2016-05-30 23:36:30 +03:00
parent 42c16194ac
commit ef28c6338e

View 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