From e7c4d9353ac81b0c791bbb7bfefb2fdbb2a14b2e Mon Sep 17 00:00:00 2001 From: Dongsu Park Date: Tue, 28 Apr 2020 17:09:44 +0200 Subject: [PATCH] eclass: make cargo depend on virtual/rust instead of virtual/cargo Since `virtual/cargo` does not exist in the recent Rust ebuilds, dependency on the missing package `virtual/cargo` caused build issues in the SDK. So we should make it depend on `virtual/rust` to fix the build issues. --- .../src/third_party/portage-stable/eclass/cargo.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/cargo.eclass b/sdk_container/src/third_party/portage-stable/eclass/cargo.eclass index 5d272c7700..68e1cfd4c8 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/cargo.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/cargo.eclass @@ -13,7 +13,7 @@ if [[ -z ${_CARGO_ECLASS} ]]; then _CARGO_ECLASS=1 CARGO_DEPEND="" -[[ ${CATEGORY}/${PN} != dev-util/cargo ]] && CARGO_DEPEND="virtual/cargo" +[[ ${CATEGORY}/${PN} != dev-util/cargo ]] && CARGO_DEPEND="virtual/rust" case ${EAPI} in 6) DEPEND="${CARGO_DEPEND}";;