commit: 90899fbaa0ca329fbdfc4a43c627e4ed4c5fb470 Author: Ivan Lloro <ivan.lloro.boada <AT> gmail <DOT> com> AuthorDate: Sun Aug 4 18:23:17 2024 +0000 Commit: Ivan Lloro <ivan.lloro.boada <AT> gmail <DOT> com> CommitDate: Sun Aug 4 18:23:17 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=90899fba
sci-physics/openmodelica: gfortran -> $(tc-getFC) Closes: https://bugs.gentoo.org/937041 Signed-off-by: Ivan Lloro <ivan.lloro.boada <AT> gmail.com> sci-physics/openmodelica/openmodelica-1.23.1.ebuild | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sci-physics/openmodelica/openmodelica-1.23.1.ebuild b/sci-physics/openmodelica/openmodelica-1.23.1.ebuild index b543d3fe2..d0550e91a 100644 --- a/sci-physics/openmodelica/openmodelica-1.23.1.ebuild +++ b/sci-physics/openmodelica/openmodelica-1.23.1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit cmake desktop xdg +inherit cmake desktop xdg toolchain-funcs fortran-2 DESCRIPTION="Open-source Modelica-based modeling and simulation environment" HOMEPAGE="https://openmodelica.org/" @@ -79,7 +79,6 @@ RDEPEND+=" BDEPEND=" dev-util/ccache app-arch/tar - virtual/fortran " DEPEND="${RDEPEND}" @@ -133,7 +132,7 @@ src_compile() { # OMSens is disabled in "${WORKDIR}/${P}/CMakeLists.txt" (## omc_add_subdirectory(OMSens)) due to lack of a # working "${WORKDIR}/${P}/OMSens/CMakeLists.txt". So, we compile it manually. pushd OMSens/fortran_interface > /dev/null || die - gfortran -fPIC -c Rutf.for Rut.for Curvif.for || die + $(tc-getFC) -fPIC -c Rutf.for Rut.for Curvif.for || die # BUG: Undefined symbol curvif_ in # ${WORKDIR}/${P}/OMSens/fortran_interface/curvif_simplified.cpython-312-x86_64-linux-gnu.so # See with nm or objdump -tT