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 <whissi@gentoo.org>
This commit is contained in:
Thomas Deutschmann
2019-10-08 23:09:36 +02:00
parent 97644d196d
commit dfda5d7a43
2 changed files with 14 additions and 2 deletions

View File

@@ -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

View File

@@ -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" \