From: Robin H. Johnson Date: Thu, 18 Apr 2019 04:16:28 +0000 (-0700) Subject: dev-db/redis: fix Tcl BDEPEND req X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=49f18ba9825592e2425b6e793a706c73d41599c7;p=gentoo.git dev-db/redis: fix Tcl BDEPEND req Package-Manager: Portage-2.3.62, Repoman-2.3.12 Fixes: http://github.com/gentoo/gentoo/pull/11456#discussion_r268048208 Signed-off-by: Robin H. Johnson --- diff --git a/dev-db/redis/redis-4.0.14.ebuild b/dev-db/redis/redis-4.0.14.ebuild index 1f0ac4ef03da..5f2c18f61cbc 100644 --- a/dev-db/redis/redis-4.0.14.ebuild +++ b/dev-db/redis/redis-4.0.14.ebuild @@ -23,13 +23,14 @@ RDEPEND=" tcmalloc? ( dev-util/google-perftools ) jemalloc? ( >=dev-libs/jemalloc-3.2 )" -DEPEND=" - ${RDEPEND} - test? ( dev-lang/tcl:0= )" - BDEPEND=" + ${RDEPEND} virtual/pkgconfig" +# Tcl is only needed in the CHOST test env +DEPEND="${RDEPEND} + test? ( dev-lang/tcl:0= )" + REQUIRED_USE="?? ( tcmalloc jemalloc )" pkg_setup() { diff --git a/dev-db/redis/redis-5.0.4.ebuild b/dev-db/redis/redis-5.0.4.ebuild index ec8944b4940a..519fc3837ca9 100644 --- a/dev-db/redis/redis-5.0.4.ebuild +++ b/dev-db/redis/redis-5.0.4.ebuild @@ -23,13 +23,14 @@ RDEPEND=" tcmalloc? ( dev-util/google-perftools ) jemalloc? ( >=dev-libs/jemalloc-5.1:= )" -DEPEND=" - ${RDEPEND} - test? ( dev-lang/tcl:0= )" - BDEPEND=" + ${RDEPEND} virtual/pkgconfig" +# Tcl is only needed in the CHOST test env +DEPEND="${RDEPEND} + test? ( dev-lang/tcl:0= )" + REQUIRED_USE="?? ( tcmalloc jemalloc )" pkg_setup() {