1 |
commit: f46d214fc23e7bff67c703f31b229cbd4e7271e2 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 24 22:27:24 2020 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 24 22:35:17 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f46d214f |
7 |
|
8 |
www-client/firefox: check-reqs also in pkg_setup() |
9 |
|
10 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
11 |
|
12 |
www-client/firefox/firefox-68.5.0.ebuild | 9 +++++++++ |
13 |
www-client/firefox/firefox-73.0.1.ebuild | 9 +++++++++ |
14 |
2 files changed, 18 insertions(+) |
15 |
|
16 |
diff --git a/www-client/firefox/firefox-68.5.0.ebuild b/www-client/firefox/firefox-68.5.0.ebuild |
17 |
index 811f352adb1..55cb0402f54 100644 |
18 |
--- a/www-client/firefox/firefox-68.5.0.ebuild |
19 |
+++ b/www-client/firefox/firefox-68.5.0.ebuild |
20 |
@@ -232,6 +232,15 @@ pkg_pretend() { |
21 |
pkg_setup() { |
22 |
moz_pkgsetup |
23 |
|
24 |
+ # Ensure we have enough disk space to compile |
25 |
+ if use pgo || use lto || use debug || use test ; then |
26 |
+ CHECKREQS_DISK_BUILD="8G" |
27 |
+ else |
28 |
+ CHECKREQS_DISK_BUILD="4G" |
29 |
+ fi |
30 |
+ |
31 |
+ check-reqs_pkg_setup |
32 |
+ |
33 |
# Avoid PGO profiling problems due to enviroment leakage |
34 |
# These should *always* be cleaned up anyway |
35 |
unset DBUS_SESSION_BUS_ADDRESS \ |
36 |
|
37 |
diff --git a/www-client/firefox/firefox-73.0.1.ebuild b/www-client/firefox/firefox-73.0.1.ebuild |
38 |
index 6a7e5f80c0b..a9232b0afb2 100644 |
39 |
--- a/www-client/firefox/firefox-73.0.1.ebuild |
40 |
+++ b/www-client/firefox/firefox-73.0.1.ebuild |
41 |
@@ -224,6 +224,15 @@ pkg_pretend() { |
42 |
pkg_setup() { |
43 |
moz_pkgsetup |
44 |
|
45 |
+ # Ensure we have enough disk space to compile |
46 |
+ if use pgo || use lto || use debug || use test ; then |
47 |
+ CHECKREQS_DISK_BUILD="8G" |
48 |
+ else |
49 |
+ CHECKREQS_DISK_BUILD="4G" |
50 |
+ fi |
51 |
+ |
52 |
+ check-reqs_pkg_setup |
53 |
+ |
54 |
# Avoid PGO profiling problems due to enviroment leakage |
55 |
# These should *always* be cleaned up anyway |
56 |
unset DBUS_SESSION_BUS_ADDRESS \ |