1 |
commit: 611d86f7df9ed465e8a98fd8000876bab2768f55 |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 2 18:42:27 2023 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 2 18:42:50 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=611d86f7 |
7 |
|
8 |
sci-libs/mumps: avoid a race condition |
9 |
|
10 |
Closes: https://bugs.gentoo.org/889072 |
11 |
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org> |
12 |
|
13 |
sci-libs/mumps/mumps-5.3.5-r1.ebuild | 5 +++-- |
14 |
1 file changed, 3 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/sci-libs/mumps/mumps-5.3.5-r1.ebuild b/sci-libs/mumps/mumps-5.3.5-r1.ebuild |
17 |
index 76020a68524a..7afc88c08537 100644 |
18 |
--- a/sci-libs/mumps/mumps-5.3.5-r1.ebuild |
19 |
+++ b/sci-libs/mumps/mumps-5.3.5-r1.ebuild |
20 |
@@ -1,4 +1,4 @@ |
21 |
-# Copyright 1999-2022 Gentoo Authors |
22 |
+# Copyright 1999-2023 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
EAPI=7 |
26 |
@@ -145,7 +145,8 @@ src_compile() { |
27 |
# Workaround #462602 |
28 |
export FAKEROOTKEY=1 |
29 |
|
30 |
- emake alllib PIC="-fPIC" |
31 |
+ # Use "-j1" to avoid a spurious race condition |
32 |
+ emake -j1 alllib PIC="-fPIC" |
33 |
if ! use mpi; then |
34 |
#$(tc-getAR) crs lib/libmumps_common.a libseq/*.o || die |
35 |
LIBADD+=" -Llibseq -lmpiseq" |