From: Sergey Popov Date: Mon, 30 May 2016 20:36:30 +0000 (+0300) Subject: dev-db/sqlcipher: fix building with FEATURES="test" X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ef28c6338ead2ab85cdce9a0de238e15cb564288;p=gentoo.git dev-db/sqlcipher: fix building with FEATURES="test" Testsuite requires, that sqlcipher is built with TCL Gentoo-Bug: 582584 Reported-by: Killian De Volder Package-Manager: portage-2.3.0_rc1 --- 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