commit: 92aa33f81c83084265453746a922578ac033b489
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 16 09:32:35 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Sep 16 09:34:20 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92aa33f8
www-client/firefox: add a rust version check to 102
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
www-client/firefox/firefox-102.2.0.ebuild | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/www-client/firefox/firefox-102.2.0.ebuild
b/www-client/firefox/firefox-102.2.0.ebuild
index a0eeff939240..9e0b2260a47a 100644
--- a/www-client/firefox/firefox-102.2.0.ebuild
+++ b/www-client/firefox/firefox-102.2.0.ebuild
@@ -460,6 +460,13 @@ pkg_setup() {
fi
fi
+ if ver_test $(rustc -V | cut -d" " -f2) -ge "1.63"; then
+ ewarn "Rust-1.63 is currently unsupported for building
Firefox-102."
+ ewarn "Please use 'eselect rust' to switch to a lower
version, then resume"
+ ewarn "building Firefox."
+ die "Rust-1.63 detected. Use eselect rust to choose
<1.63"
+ fi
+
python-any-r1_pkg_setup
# Avoid PGO profiling problems due to enviroment leakage