public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ivan Lloro" <ivan.lloro.boada@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sci-physics/openmodelica/
Date: Sun,  4 Aug 2024 18:24:26 +0000 (UTC)	[thread overview]
Message-ID: <1722795797.90899fbaa0ca329fbdfc4a43c627e4ed4c5fb470.ivan.lloro.boada@gentoo> (raw)

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


             reply	other threads:[~2024-08-04 18:24 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-04 18:24 Ivan Lloro [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-25 15:31 [gentoo-commits] repo/proj/guru:dev commit in: sci-physics/openmodelica/ Ivan Lloro
2024-10-25 15:24 Ivan Lloro
2024-08-13 17:04 Ivan Lloro
2024-08-12 17:03 Ivan Lloro
2024-08-11 14:43 Ivan Lloro
2024-08-06 17:43 Ivan Lloro
2024-08-05 18:54 Ivan Lloro
2024-08-05 18:46 Ivan Lloro
2024-08-05 17:48 Ivan Lloro
2024-08-05 17:37 Ivan Lloro
2024-08-05 17:21 Ivan Lloro
2024-08-05 14:18 Ivan Lloro
2024-08-05 13:44 Ivan Lloro
2024-08-05  9:36 Ivan Lloro
2024-08-04 19:51 Ivan Lloro
2024-08-04 18:24 Ivan Lloro
2024-07-31 23:31 Ivan Lloro
2024-07-31 23:31 Ivan Lloro
2024-07-31 23:31 Ivan Lloro
2024-07-30 18:42 Ivan Lloro
2024-07-30 16:00 Takuya Wakazono
2024-07-29  3:19 Ivan Lloro
2024-07-28 23:01 Ivan Lloro
2024-07-28 22:49 Ivan Lloro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1722795797.90899fbaa0ca329fbdfc4a43c627e4ed4c5fb470.ivan.lloro.boada@gentoo \
    --to=ivan.lloro.boada@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox