summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass')
-rw-r--r--eclass/cargo.eclass8
1 files changed, 2 insertions, 6 deletions
diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass
index fb759f95903f..2807bf8069d8 100644
--- a/eclass/cargo.eclass
+++ b/eclass/cargo.eclass
@@ -12,12 +12,8 @@
if [[ -z ${_CARGO_ECLASS} ]]; then
_CARGO_ECLASS=1
-if [[ ${PV} == *9999* ]]; then
- # we need at least this for cargo vendor subommand
- CARGO_DEPEND=">=virtual/cargo-1.37.0"
-else
- CARGO_DEPEND="virtual/cargo"
-fi
+# we need this for 'cargo vendor' subcommand and net.offline config knob
+CARGO_DEPEND=">=virtual/cargo-1.37.0"
case ${EAPI} in
6) DEPEND="${CARGO_DEPEND}";;