commit: f46d214fc23e7bff67c703f31b229cbd4e7271e2
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 24 22:27:24 2020 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Feb 24 22:35:17 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f46d214f
www-client/firefox: check-reqs also in pkg_setup()
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
www-client/firefox/firefox-68.5.0.ebuild | 9 +++++++++
www-client/firefox/firefox-73.0.1.ebuild | 9 +++++++++
2 files changed, 18 insertions(+)
diff --git a/www-client/firefox/firefox-68.5.0.ebuild
b/www-client/firefox/firefox-68.5.0.ebuild
index 811f352adb1..55cb0402f54 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 6a7e5f80c0b..a9232b0afb2 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 \