From 49f18ba9825592e2425b6e793a706c73d41599c7 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Wed, 17 Apr 2019 21:16:28 -0700 Subject: 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 --- dev-db/redis/redis-4.0.14.ebuild | 9 +++++---- dev-db/redis/redis-5.0.4.ebuild | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) (limited to 'dev-db') diff --git a/dev-db/redis/redis-4.0.14.ebuild b/dev-db/redis/redis-4.0.14.ebuild index 1f0ac4ef03d..5f2c18f61cb 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 ec8944b4940..519fc3837ca 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() { -- cgit v1.2.1