commit:     a381a6fc38056ebf7d548445062bd38c3cfa911f
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
AuthorDate: Mon Oct 15 07:12:46 2018 +0000
Commit:     Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
CommitDate: Mon Oct 15 19:35:53 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a381a6fc

cargo.eclass: Really set dependencies.

Closes: https://bugs.gentoo.org/668680

Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org>
Signed-off-by: Dirkjan Ochtman <djc <AT> gentoo.org>

 eclass/cargo.eclass | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass
index bb27aa315ee..50f7830c51b 100644
--- a/eclass/cargo.eclass
+++ b/eclass/cargo.eclass
@@ -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
 

Reply via email to