From 92aa33f81c83084265453746a922578ac033b489 Mon Sep 17 00:00:00 2001 From: Joonas Niilola Date: Fri, 16 Sep 2022 12:32:35 +0300 Subject: www-client/firefox: add a rust version check to 102 Signed-off-by: Joonas Niilola --- www-client/firefox/firefox-102.2.0.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'www-client') 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 -- cgit v1.2.3-65-gdbad