commit:     611d86f7df9ed465e8a98fd8000876bab2768f55
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  2 18:42:27 2023 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Mon Jan  2 18:42:50 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=611d86f7

sci-libs/mumps: avoid a race condition

Closes: https://bugs.gentoo.org/889072
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-libs/mumps/mumps-5.3.5-r1.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sci-libs/mumps/mumps-5.3.5-r1.ebuild 
b/sci-libs/mumps/mumps-5.3.5-r1.ebuild
index 76020a68524a..7afc88c08537 100644
--- a/sci-libs/mumps/mumps-5.3.5-r1.ebuild
+++ b/sci-libs/mumps/mumps-5.3.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -145,7 +145,8 @@ src_compile() {
        # Workaround #462602
        export FAKEROOTKEY=1
 
-       emake alllib PIC="-fPIC"
+       # Use "-j1" to avoid a spurious race condition
+       emake -j1 alllib PIC="-fPIC"
        if ! use mpi; then
                #$(tc-getAR) crs lib/libmumps_common.a libseq/*.o || die
                LIBADD+=" -Llibseq -lmpiseq"

Reply via email to