commit:     0e3f952b738b07bb3d935b6b6cb81a031347bb93
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 26 10:47:35 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Mar 26 10:55:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e3f952b

sci-libs/scotch: fix build with USE=mpi

Closes: https://bugs.gentoo.org/835914

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sci-libs/scotch/{scotch-7.0.1.ebuild => scotch-7.0.1-r1.ebuild} | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sci-libs/scotch/scotch-7.0.1.ebuild 
b/sci-libs/scotch/scotch-7.0.1-r1.ebuild
similarity index 98%
rename from sci-libs/scotch/scotch-7.0.1.ebuild
rename to sci-libs/scotch/scotch-7.0.1-r1.ebuild
index 5f7ec4a8c16f..ddd574b69a8f 100644
--- a/sci-libs/scotch/scotch-7.0.1.ebuild
+++ b/sci-libs/scotch/scotch-7.0.1-r1.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit toolchain-funcs flag-o-matic multilib
 
@@ -87,7 +87,6 @@ src_compile() {
                static_to_shared lib/libptscotcherrexit.a
                static_to_shared lib/libptscotch.a -Llib -lscotch -lptscotcherr 
-lz -lm -lrt
                static_to_shared lib/libptesmumps.a -Llib -lscotch -lptscotch
-               static_to_shared lib/libptscotchparmetis.a -Llib -lscotch 
-lptscotch
        fi
        if use static-libs; then
                emake -C src clean

Reply via email to