From dfda5d7a4371ec0a092cd8c37ccf0035318bc503 Mon Sep 17 00:00:00 2001 From: Thomas Deutschmann Date: Tue, 8 Oct 2019 23:09:36 +0200 Subject: mail-client/thunderbird: force at least MAKEOPTS=-j2 Bug: https://bugs.gentoo.org/687028 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Thomas Deutschmann --- mail-client/thunderbird/thunderbird-60.9.0.ebuild | 8 +++++++- mail-client/thunderbird/thunderbird-68.1.1.ebuild | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) (limited to 'mail-client') diff --git a/mail-client/thunderbird/thunderbird-60.9.0.ebuild b/mail-client/thunderbird/thunderbird-60.9.0.ebuild index 8c928066e9c6..b0f5a33a9ef4 100644 --- a/mail-client/thunderbird/thunderbird-60.9.0.ebuild +++ b/mail-client/thunderbird/thunderbird-60.9.0.ebuild @@ -34,7 +34,7 @@ MOZ_P="${PN}-${MOZ_PV}" LLVM_MAX_SLOT=8 -inherit check-reqs flag-o-matic toolchain-funcs gnome2-utils llvm mozcoreconf-v6 pax-utils xdg-utils autotools mozlinguas-v2 +inherit check-reqs flag-o-matic toolchain-funcs gnome2-utils llvm mozcoreconf-v6 pax-utils xdg-utils autotools mozlinguas-v2 multiprocessing DESCRIPTION="Thunderbird Mail Client" HOMEPAGE="https://www.mozilla.org/thunderbird" @@ -277,6 +277,12 @@ src_prepare() { # Allow user to apply any additional patches without modifing ebuild eapply_user + local n_jobs=$(makeopts_jobs) + if [[ ${n_jobs} == 1 ]]; then + einfo "Building with MAKEOPTS=-j1 is known to fail (bug #687028); Forcing MAKEOPTS=-j2 ..." + export MAKEOPTS=-j2 + fi + # Autotools configure is now called old-configure.in # This works because there is still a configure.in that happens to be for the # shell wrapper configure script diff --git a/mail-client/thunderbird/thunderbird-68.1.1.ebuild b/mail-client/thunderbird/thunderbird-68.1.1.ebuild index 0610d908962f..c9c1852c2d38 100644 --- a/mail-client/thunderbird/thunderbird-68.1.1.ebuild +++ b/mail-client/thunderbird/thunderbird-68.1.1.ebuild @@ -56,7 +56,7 @@ SRC_URI="${SRC_URI} inherit check-reqs eapi7-ver flag-o-matic toolchain-funcs eutils \ gnome2-utils llvm mozcoreconf-v6 pax-utils xdg-utils \ - autotools mozlinguas-v2 virtualx + autotools mozlinguas-v2 virtualx multiprocessing CDEPEND=" >=dev-libs/nss-3.44.1 @@ -263,6 +263,12 @@ src_prepare() { # Allow user to apply any additional patches without modifing ebuild eapply_user + local n_jobs=$(makeopts_jobs) + if [[ ${n_jobs} == 1 ]]; then + einfo "Building with MAKEOPTS=-j1 is known to fail (bug #687028); Forcing MAKEOPTS=-j2 ..." + export MAKEOPTS=-j2 + fi + # Enable gnomebreakpad if use debug ; then sed -i -e "s:GNOME_DISABLE_CRASH_DIALOG=1:GNOME_DISABLE_CRASH_DIALOG=0:g" \ -- cgit v1.2.3-65-gdbad