summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2022-01-28 09:37:04 +0200
committerJoonas Niilola <juippis@gentoo.org>2022-01-28 09:45:17 +0200
commit130045ea624810bf0f54ee16e7b4afbfdee60378 (patch)
tree2ac086e5d2dbf56e70cf829036cd63ee7b7b8045 /mail-client
parentdev-util/numdiff: update EAPI 6 -> 7; fix build with autoconf 2.71 (diff)
downloadgentoo-130045ea624810bf0f54ee16e7b4afbfdee60378.tar.gz
gentoo-130045ea624810bf0f54ee16e7b4afbfdee60378.tar.bz2
gentoo-130045ea624810bf0f54ee16e7b4afbfdee60378.zip
mail-client/thunderbird: Make cargo respect MAKEOPTS
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/thunderbird/thunderbird-91.5.1.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail-client/thunderbird/thunderbird-91.5.1.ebuild b/mail-client/thunderbird/thunderbird-91.5.1.ebuild
index 09a256c7e951..aa2fa60c1437 100644
--- a/mail-client/thunderbird/thunderbird-91.5.1.ebuild
+++ b/mail-client/thunderbird/thunderbird-91.5.1.ebuild
@@ -526,6 +526,9 @@ src_prepare() {
# Allow user to apply any additional patches without modifing ebuild
eapply_user
+ # Make cargo respect MAKEOPTS
+ export CARGO_BUILD_JOBS="$(makeopts_jobs)"
+
# Make LTO respect MAKEOPTS
sed -i \
-e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \