From 2a6a058a77d24a7620608bfc37522991349b6aaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 3 Nov 2025 13:22:26 +0100 Subject: [PATCH] sci-libs/flexiblas: Use fortran-2.eclass MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- sci-libs/flexiblas/flexiblas-3.5.0.ebuild | 7 ++++--- sci-libs/flexiblas/flexiblas-9999.ebuild | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/sci-libs/flexiblas/flexiblas-3.5.0.ebuild b/sci-libs/flexiblas/flexiblas-3.5.0.ebuild index 30c6c6bda467a..48e93291b8178 100644 --- a/sci-libs/flexiblas/flexiblas-3.5.0.ebuild +++ b/sci-libs/flexiblas/flexiblas-3.5.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake multilib toolchain-funcs +inherit cmake fortran-2 multilib toolchain-funcs MY_P=flexiblas-release-v${PV} DESCRIPTION="A BLAS and LAPACK wrapper library with runtime exchangable backends" @@ -57,8 +57,9 @@ pkg_pretend() { } pkg_setup() { - if [[ ${MERGE_TYPE} != binary ]] && use openmp; then - tc-check-openmp + if [[ ${MERGE_TYPE} != binary ]]; then + fortran-2_pkg_setup + use openmp && tc-check-openmp fi } diff --git a/sci-libs/flexiblas/flexiblas-9999.ebuild b/sci-libs/flexiblas/flexiblas-9999.ebuild index 0ac6f842b5de9..9460f82ba4566 100644 --- a/sci-libs/flexiblas/flexiblas-9999.ebuild +++ b/sci-libs/flexiblas/flexiblas-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake git-r3 multilib toolchain-funcs +inherit cmake fortran-2 git-r3 multilib toolchain-funcs DESCRIPTION="A BLAS and LAPACK wrapper library with runtime exchangable backends" HOMEPAGE=" @@ -54,8 +54,9 @@ pkg_pretend() { } pkg_setup() { - if [[ ${MERGE_TYPE} != binary ]] && use openmp; then - tc-check-openmp + if [[ ${MERGE_TYPE} != binary ]]; then + fortran-2_pkg_setup + use openmp && tc-check-openmp fi }