From: Thomas Deutschmann Date: Mon, 24 Feb 2020 22:27:24 +0000 (+0100) Subject: www-client/firefox: check-reqs also in pkg_setup() X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f46d214fc23e7bff67c703f31b229cbd4e7271e2;p=gentoo.git www-client/firefox: check-reqs also in pkg_setup() Signed-off-by: Thomas Deutschmann --- diff --git a/www-client/firefox/firefox-68.5.0.ebuild b/www-client/firefox/firefox-68.5.0.ebuild index 811f352adb13..55cb0402f54e 100644 --- a/www-client/firefox/firefox-68.5.0.ebuild +++ b/www-client/firefox/firefox-68.5.0.ebuild @@ -232,6 +232,15 @@ pkg_pretend() { pkg_setup() { moz_pkgsetup + # Ensure we have enough disk space to compile + if use pgo || use lto || use debug || use test ; then + CHECKREQS_DISK_BUILD="8G" + else + CHECKREQS_DISK_BUILD="4G" + fi + + check-reqs_pkg_setup + # Avoid PGO profiling problems due to enviroment leakage # These should *always* be cleaned up anyway unset DBUS_SESSION_BUS_ADDRESS \ diff --git a/www-client/firefox/firefox-73.0.1.ebuild b/www-client/firefox/firefox-73.0.1.ebuild index 6a7e5f80c0b4..a9232b0afb23 100644 --- a/www-client/firefox/firefox-73.0.1.ebuild +++ b/www-client/firefox/firefox-73.0.1.ebuild @@ -224,6 +224,15 @@ pkg_pretend() { pkg_setup() { moz_pkgsetup + # Ensure we have enough disk space to compile + if use pgo || use lto || use debug || use test ; then + CHECKREQS_DISK_BUILD="8G" + else + CHECKREQS_DISK_BUILD="4G" + fi + + check-reqs_pkg_setup + # Avoid PGO profiling problems due to enviroment leakage # These should *always* be cleaned up anyway unset DBUS_SESSION_BUS_ADDRESS \