commit: 25157d5097afc35aafa55a286d244fcf8d48597e
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 27 23:38:53 2023 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Mar 18 21:36:32 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25157d50
sci-libs/lapack: Fix cross-compiling by disabling Fortran compiler tests
Upstream has already decided to disable these tests by default in the
next release for this and other reasons.
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
sci-libs/lapack/lapack-3.11.ebuild | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sci-libs/lapack/lapack-3.11.ebuild
b/sci-libs/lapack/lapack-3.11.ebuild
index d6b016878d7d..c13b5b123b6d 100644
--- a/sci-libs/lapack/lapack-3.11.ebuild
+++ b/sci-libs/lapack/lapack-3.11.ebuild
@@ -44,6 +44,9 @@ src_configure() {
-DBUILD_DEPRECATED=$(usex deprecated)
-DBUILD_SHARED_LIBS=ON
-DBUILD_TESTING=$(usex test)
+
+ # Breaks cross, will default to OFF in next release.
+ -DTEST_FORTRAN_COMPILER=OFF
)
cmake_src_configure