cargo.eclass: Really set dependencies.
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Mon, 15 Oct 2018 07:12:46 +0000 (09:12 +0200)
committerDirkjan Ochtman <djc@gentoo.org>
Mon, 15 Oct 2018 19:35:53 +0000 (21:35 +0200)
Closes: https://bugs.gentoo.org/668680

Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Signed-off-by: Dirkjan Ochtman <djc@gentoo.org>
eclass/cargo.eclass

index bb27aa315ee25b508f7e5a2e55f8b70a4a35226e..50f7830c51bc0223cb76f372935794fcaa027fdd 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # @ECLASS: cargo.eclass
@@ -16,8 +16,8 @@ CARGO_DEPEND=""
 [[ ${CATEGORY}/${PN} != dev-util/cargo ]] && CARGO_DEPEND="virtual/cargo"
 
 case ${EAPI} in
-       6) : DEPEND="${DEPEND} ${CARGO_DEPEND}";;
-       7) : BDEPEND="${BDEPEND} ${CARGO_DEPEND}";;
+       6) DEPEND="${CARGO_DEPEND}";;
+       7) BDEPEND="${CARGO_DEPEND}";;
        *) die "EAPI=${EAPI:-0} is not supported" ;;
 esac