From f46d214fc23e7bff67c703f31b229cbd4e7271e2 Mon Sep 17 00:00:00 2001 From: Thomas Deutschmann Date: Mon, 24 Feb 2020 23:27:24 +0100 Subject: [PATCH] www-client/firefox: check-reqs also in pkg_setup() Signed-off-by: Thomas Deutschmann --- 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 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 \ -- 2.26.2