summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--math/R-cran-robustbase/Makefile2
-rw-r--r--math/R-cran-robustbase/distinfo6
-rw-r--r--math/cmlib/Makefile12
-rw-r--r--math/coin-or-metis/Makefile3
-rw-r--r--math/hsl/Makefile4
5 files changed, 19 insertions, 8 deletions
diff --git a/math/R-cran-robustbase/Makefile b/math/R-cran-robustbase/Makefile
index 2fce5153b0f8..6dfaafd0e06a 100644
--- a/math/R-cran-robustbase/Makefile
+++ b/math/R-cran-robustbase/Makefile
@@ -1,5 +1,5 @@
PORTNAME= robustbase
-DISTVERSION= 0.99-4-1
+DISTVERSION= 0.99-6
CATEGORIES= math
DISTNAME= ${PORTNAME}_${DISTVERSION}
diff --git a/math/R-cran-robustbase/distinfo b/math/R-cran-robustbase/distinfo
index d4eec7785f87..817bf39c2761 100644
--- a/math/R-cran-robustbase/distinfo
+++ b/math/R-cran-robustbase/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1727586670
-SHA256 (robustbase_0.99-4-1.tar.gz) = 481edee7614f66a39d31d930e58ff02b1c4282e0daad51a106c6b7aa8011ff91
-SIZE (robustbase_0.99-4-1.tar.gz) = 2289218
+TIMESTAMP = 1757203590
+SHA256 (robustbase_0.99-6.tar.gz) = fa08c42c2cba521210725fd57bd1d456ced68e3da7569cffe38be24a4cf31a1d
+SIZE (robustbase_0.99-6.tar.gz) = 2322108
diff --git a/math/cmlib/Makefile b/math/cmlib/Makefile
index 3599124178f7..0367be773c87 100644
--- a/math/cmlib/Makefile
+++ b/math/cmlib/Makefile
@@ -18,16 +18,22 @@ USE_LDCONFIG= yes
SHLIB_MAJOR= 1
LDFLAGS+= ${FFLAGS}
-LDADD ?= -lgfortran -lm
+LDADD= -lm
SRCCONF= /dev/null
MAKE_ENV= LDADD="${LDADD}" SHLIB_MAJOR="${SHLIB_MAJOR}" \
SRCCONF="${SRCCONF}"
-FFLAGS+= -std=legacy
NO_WRKSUBDIR= yes
OPTIONS_DEFINE= DOCS
+.include <bsd.port.pre.mk>
+
+.if ${FORTRAN_DEFAULT} != flang
+FFLAGS+= -std=legacy
+LDADD+= -lgfortran
+.endif
+
post-extract:
${CP} ${_DISTDIR}/[dir]1mach.f ${WRKSRC}/src/machcon
${CP} ${FILESDIR}/make.inc ${WRKSRC}
@@ -49,4 +55,4 @@ do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/math/coin-or-metis/Makefile b/math/coin-or-metis/Makefile
index 427f7dfdbaaa..2233cf802593 100644
--- a/math/coin-or-metis/Makefile
+++ b/math/coin-or-metis/Makefile
@@ -24,6 +24,9 @@ GH_PROJECT= ThirdParty-Metis
GNU_CONFIGURE= yes
+# Adaption of the upstream fix for Clang/Flang
+# https://github.com/coin-or-tools/ThirdParty-Metis/commit/5ace49007591f11b64f70183102549d3a9721d4b
+CFLAGS= -Wno-implicit-function-declaration
INSTALL_TARGET= install-strip
METIS_VERSION= 4.0.3 # from the script get.Metis
diff --git a/math/hsl/Makefile b/math/hsl/Makefile
index c19d7dae3f87..f86dcd5285ec 100644
--- a/math/hsl/Makefile
+++ b/math/hsl/Makefile
@@ -10,7 +10,9 @@ WWW= https://github.com/coin-or-tools/ThirdParty-HSL
LICENSE= EPL
-USES= fortran gmake libtool pkgconfig
+# Flang can't be used because the project bundles too old libtool and
+# running autoreconf is too painful
+USES= fortran:gfortran gmake libtool pkgconfig
USE_LDCONFIG= yes
USE_GITHUB= yes