dev-db/redis: fix Tcl BDEPEND req
authorRobin H. Johnson <robbat2@gentoo.org>
Thu, 18 Apr 2019 04:16:28 +0000 (21:16 -0700)
committerRobin H. Johnson <robbat2@gentoo.org>
Thu, 18 Apr 2019 05:10:33 +0000 (22:10 -0700)
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@gentoo.org>
dev-db/redis/redis-4.0.14.ebuild
dev-db/redis/redis-5.0.4.ebuild

index 1f0ac4ef03da319527ad2d153f56efa1d29a2951..5f2c18f61cbc8f13decd315109d0b64ec4128e7e 100644 (file)
@@ -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() {
index ec8944b4940aca29f82e70c25a66b05ee3a938fd..519fc3837ca90bdf477b4dbf489f71335cbd9769 100644 (file)
@@ -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() {