summaryrefslogtreecommitdiff
path: root/dev-lang/rust/rust-9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/rust/rust-9999.ebuild')
-rw-r--r--dev-lang/rust/rust-9999.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-lang/rust/rust-9999.ebuild b/dev-lang/rust/rust-9999.ebuild
index d493dffdab8c..47af58466857 100644
--- a/dev-lang/rust/rust-9999.ebuild
+++ b/dev-lang/rust/rust-9999.ebuild
@@ -6,9 +6,9 @@ EAPI=8
LLVM_COMPAT=( 21 )
PYTHON_COMPAT=( python3_{11..14} )
-RUST_PATCH_VER=${PVR}
-
+RUST_PATCH_VER=${PV#*_p}
RUST_MAX_VER=${PV%%_*}
+
if [[ ${PV} == *9999* ]]; then
RUST_MIN_VER="1.91.0" # Update this as new `beta` releases come out.
elif [[ ${PV} == *beta* ]]; then