mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-01 10:31:37 +02:00
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.
This commit is contained in:
parent
a76487ee1f
commit
e7c4d9353a
@ -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}";;
|
||||
|
Loading…
x
Reference in New Issue
Block a user