commit:     a3ab8231602c8af892facac582b5770f3834c21f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 24 23:14:13 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 24 23:14:13 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3ab8231

sci-libs/lapack: use fortran-2.eclass

Not strictly related to bug #908798 but noticed while looking at it.

Bug: https://bugs.gentoo.org/908798
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/lapack/lapack-3.10.1.ebuild | 2 +-
 sci-libs/lapack/lapack-3.11.ebuild   | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/sci-libs/lapack/lapack-3.10.1.ebuild 
b/sci-libs/lapack/lapack-3.10.1.ebuild
index 218c49029127..16b9d22e73df 100644
--- a/sci-libs/lapack/lapack-3.10.1.ebuild
+++ b/sci-libs/lapack/lapack-3.10.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake
+inherit cmake fortran-2
 
 DESCRIPTION="BLAS,CBLAS,LAPACK,LAPACKE reference implementations"
 HOMEPAGE="https://www.netlib.org/lapack/";

diff --git a/sci-libs/lapack/lapack-3.11.ebuild 
b/sci-libs/lapack/lapack-3.11.ebuild
index 8d0bfc529500..72fc5a9ad67d 100644
--- a/sci-libs/lapack/lapack-3.11.ebuild
+++ b/sci-libs/lapack/lapack-3.11.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 # Some additional tests are run if Python is found
 PYTHON_COMPAT=( python3_{9..11} )
-inherit cmake python-any-r1
+inherit cmake fortran-2 python-any-r1
 
 DESCRIPTION="BLAS,CBLAS,LAPACK,LAPACKE reference implementations"
 HOMEPAGE="https://www.netlib.org/lapack/";
@@ -34,6 +34,7 @@ BDEPEND="
 "
 
 pkg_setup() {
+       fortran-2_pkg_setup
        use test && python-any-r1_pkg_setup
 }
 

Reply via email to