commit:     49f18ba9825592e2425b6e793a706c73d41599c7
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 18 04:16:28 2019 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Thu Apr 18 05:10:33 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49f18ba9

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 <robbat2 <AT> gentoo.org>

 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(-)

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() {

Reply via email to