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/R-cran-spdep/Makefile2
-rw-r--r--math/R-cran-spdep/distinfo6
-rw-r--r--math/algae/Makefile7
-rw-r--r--math/armadillo/Makefile3
-rw-r--r--math/armadillo/distinfo6
-rw-r--r--math/armadillo/pkg-plist24
-rw-r--r--math/blacs/Makefile4
-rw-r--r--math/blacs/files/Bmake.inc-mpich.diff2
-rw-r--r--math/blacs/files/patch-SRC_MPI_Bdef.h20
-rw-r--r--math/blacs/files/patch-SRC_MPI_blacs__get__.c11
-rw-r--r--math/blacs/files/patch-SRC_MPI_blacs__gridinit__.c15
-rw-r--r--math/blacs/files/patch-SRC_MPI_blacs__pinfo__.c11
-rw-r--r--math/bliss/Makefile3
-rw-r--r--math/bliss/files/patch-Makefile19
-rw-r--r--math/bliss/pkg-plist2
-rw-r--r--math/cmlib/Makefile12
-rw-r--r--math/coin-or-metis/Makefile3
-rw-r--r--math/hsl/Makefile4
-rw-r--r--math/lean4/Makefile1
-rw-r--r--math/mlpack/Makefile1
-rw-r--r--math/octave-forge-image/Makefile2
-rw-r--r--math/octave-forge-image/distinfo6
-rw-r--r--math/polymake/Makefile4
-rw-r--r--math/py-modin/Makefile4
-rw-r--r--math/py-modin/distinfo6
-rw-r--r--math/py-narwhals/Makefile2
-rw-r--r--math/py-narwhals/distinfo6
-rw-r--r--math/py-pyreadstat/Makefile5
-rw-r--r--math/py-pyreadstat/distinfo6
-rw-r--r--math/scalapack/Makefile3
-rw-r--r--math/scalapack/files/patch-BLACS_SRC_Bdef.h18
-rw-r--r--math/scalapack/files/patch-BLACS_SRC_blacs__init__.c15
-rw-r--r--math/scalapack/files/patch-CMakeLists.txt10
-rw-r--r--math/scalapack/files/patch-gridmap120
-rw-r--r--math/sympol/Makefile8
37 files changed, 315 insertions, 64 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/R-cran-spdep/Makefile b/math/R-cran-spdep/Makefile
index 37edf97fc657..c078d1c9e9d1 100644
--- a/math/R-cran-spdep/Makefile
+++ b/math/R-cran-spdep/Makefile
@@ -1,5 +1,5 @@
PORTNAME= spdep
-DISTVERSION= 1.3-13
+DISTVERSION= 1.4-1
CATEGORIES= math
DISTNAME= ${PORTNAME}_${DISTVERSION}
diff --git a/math/R-cran-spdep/distinfo b/math/R-cran-spdep/distinfo
index 7bca8b88f681..2b493d53faea 100644
--- a/math/R-cran-spdep/distinfo
+++ b/math/R-cran-spdep/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1749634372
-SHA256 (spdep_1.3-13.tar.gz) = 7ac5905c126899f88fdf5c1f2bbedc7609e0c3ca210d40abaa5da2d2a9a2685a
-SIZE (spdep_1.3-13.tar.gz) = 4695720
+TIMESTAMP = 1756892699
+SHA256 (spdep_1.4-1.tar.gz) = 4d0beca3b8b696373a74670f916cca3e77cbe97d002f3be62f172815774f5588
+SIZE (spdep_1.4-1.tar.gz) = 4694107
diff --git a/math/algae/Makefile b/math/algae/Makefile
index 385a737f6ad6..3042e6816d32 100644
--- a/math/algae/Makefile
+++ b/math/algae/Makefile
@@ -15,13 +15,12 @@ BROKEN_aarch64= does not build: checking for proper floating point exception ha
BROKEN_armv6= does not build: checking for proper floating point exception handling... no
BROKEN_armv7= does not build: checking for proper floating point exception handling... no
-GNU_CONFIGURE= yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
-USES= fortran
+USES= fortran:gfortran
+GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-dlmalloc --without-fftw --without-blas \
--without-lapack --without-bcslib --without-npsol
-FFLAGS+= -std=legacy
+FFLAGS= -std=legacy
PLIST_SUB= ALGAE_VERSION=${PORTVERSION}
INFO= ${PORTNAME}
diff --git a/math/armadillo/Makefile b/math/armadillo/Makefile
index 02ee57d23f66..01ec0bb7807e 100644
--- a/math/armadillo/Makefile
+++ b/math/armadillo/Makefile
@@ -1,6 +1,5 @@
PORTNAME= armadillo
-PORTVERSION= 14.6.1
-PORTREVISION= 1
+PORTVERSION= 15.0.1
CATEGORIES= math
MASTER_SITES= SF/arma
diff --git a/math/armadillo/distinfo b/math/armadillo/distinfo
index 7235cfc3f1f3..4f584d83534e 100644
--- a/math/armadillo/distinfo
+++ b/math/armadillo/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1753265704
-SHA256 (armadillo-14.6.1.tar.xz) = bec67f368fc61673c4c9e9429d20135a42ba80a2c7f8592b912e5f97e289bfc0
-SIZE (armadillo-14.6.1.tar.xz) = 7159088
+TIMESTAMP = 1757120516
+SHA256 (armadillo-15.0.1.tar.xz) = f520a0d50bbafccd7b9e793321cd7ffed374695c2e38bbdfd428841745e04c37
+SIZE (armadillo-15.0.1.tar.xz) = 7174236
diff --git a/math/armadillo/pkg-plist b/math/armadillo/pkg-plist
index e2d15e4f8844..650dbd4843a2 100644
--- a/math/armadillo/pkg-plist
+++ b/math/armadillo/pkg-plist
@@ -78,8 +78,7 @@ include/armadillo_bits/band_helper.hpp
include/armadillo_bits/compiler_check.hpp
include/armadillo_bits/compiler_setup.hpp
include/armadillo_bits/compiler_setup_post.hpp
-include/armadillo_bits/cond_rel_bones.hpp
-include/armadillo_bits/cond_rel_meat.hpp
+include/armadillo_bits/cond_rel.hpp
include/armadillo_bits/config.hpp
include/armadillo_bits/constants.hpp
include/armadillo_bits/constants_old.hpp
@@ -123,6 +122,7 @@ include/armadillo_bits/fn_as_scalar.hpp
include/armadillo_bits/fn_balance.hpp
include/armadillo_bits/fn_chi2rnd.hpp
include/armadillo_bits/fn_chol.hpp
+include/armadillo_bits/fn_circshift.hpp
include/armadillo_bits/fn_clamp.hpp
include/armadillo_bits/fn_cond_rcond.hpp
include/armadillo_bits/fn_conv.hpp
@@ -144,7 +144,6 @@ include/armadillo_bits/fn_eig_sym.hpp
include/armadillo_bits/fn_eigs_gen.hpp
include/armadillo_bits/fn_eigs_sym.hpp
include/armadillo_bits/fn_elem.hpp
-include/armadillo_bits/fn_eps.hpp
include/armadillo_bits/fn_expmat.hpp
include/armadillo_bits/fn_eye.hpp
include/armadillo_bits/fn_fft.hpp
@@ -212,7 +211,6 @@ include/armadillo_bits/fn_resize.hpp
include/armadillo_bits/fn_reverse.hpp
include/armadillo_bits/fn_roots.hpp
include/armadillo_bits/fn_schur.hpp
-include/armadillo_bits/fn_shift.hpp
include/armadillo_bits/fn_shuffle.hpp
include/armadillo_bits/fn_size.hpp
include/armadillo_bits/fn_solve.hpp
@@ -354,6 +352,8 @@ include/armadillo_bits/newarp_UpperHessenbergEigen_meat.hpp
include/armadillo_bits/newarp_UpperHessenbergQR_bones.hpp
include/armadillo_bits/newarp_UpperHessenbergQR_meat.hpp
include/armadillo_bits/newarp_cx_attrib.hpp
+include/armadillo_bits/op_accu_bones.hpp
+include/armadillo_bits/op_accu_meat.hpp
include/armadillo_bits/op_all_bones.hpp
include/armadillo_bits/op_all_meat.hpp
include/armadillo_bits/op_any_bones.hpp
@@ -362,6 +362,8 @@ include/armadillo_bits/op_chi2rnd_bones.hpp
include/armadillo_bits/op_chi2rnd_meat.hpp
include/armadillo_bits/op_chol_bones.hpp
include/armadillo_bits/op_chol_meat.hpp
+include/armadillo_bits/op_circshift_bones.hpp
+include/armadillo_bits/op_circshift_meat.hpp
include/armadillo_bits/op_clamp_bones.hpp
include/armadillo_bits/op_clamp_meat.hpp
include/armadillo_bits/op_col_as_mat_bones.hpp
@@ -390,6 +392,8 @@ include/armadillo_bits/op_dot_bones.hpp
include/armadillo_bits/op_dot_meat.hpp
include/armadillo_bits/op_dotext_bones.hpp
include/armadillo_bits/op_dotext_meat.hpp
+include/armadillo_bits/op_elem_bones.hpp
+include/armadillo_bits/op_elem_meat.hpp
include/armadillo_bits/op_expmat_bones.hpp
include/armadillo_bits/op_expmat_meat.hpp
include/armadillo_bits/op_fft_bones.hpp
@@ -424,8 +428,6 @@ include/armadillo_bits/op_median_bones.hpp
include/armadillo_bits/op_median_meat.hpp
include/armadillo_bits/op_min_bones.hpp
include/armadillo_bits/op_min_meat.hpp
-include/armadillo_bits/op_misc_bones.hpp
-include/armadillo_bits/op_misc_meat.hpp
include/armadillo_bits/op_nonzeros_bones.hpp
include/armadillo_bits/op_nonzeros_meat.hpp
include/armadillo_bits/op_norm2est_bones.hpp
@@ -468,8 +470,6 @@ include/armadillo_bits/op_roots_bones.hpp
include/armadillo_bits/op_roots_meat.hpp
include/armadillo_bits/op_row_as_mat_bones.hpp
include/armadillo_bits/op_row_as_mat_meat.hpp
-include/armadillo_bits/op_shift_bones.hpp
-include/armadillo_bits/op_shift_meat.hpp
include/armadillo_bits/op_shuffle_bones.hpp
include/armadillo_bits/op_shuffle_meat.hpp
include/armadillo_bits/op_sort_bones.hpp
@@ -570,6 +570,10 @@ include/armadillo_bits/spglue_schur_bones.hpp
include/armadillo_bits/spglue_schur_meat.hpp
include/armadillo_bits/spglue_times_bones.hpp
include/armadillo_bits/spglue_times_meat.hpp
+include/armadillo_bits/spop_accu_bones.hpp
+include/armadillo_bits/spop_accu_meat.hpp
+include/armadillo_bits/spop_circshift_bones.hpp
+include/armadillo_bits/spop_circshift_meat.hpp
include/armadillo_bits/spop_diagmat_bones.hpp
include/armadillo_bits/spop_diagmat_meat.hpp
include/armadillo_bits/spop_htrans_bones.hpp
@@ -588,8 +592,6 @@ include/armadillo_bits/spop_repmat_bones.hpp
include/armadillo_bits/spop_repmat_meat.hpp
include/armadillo_bits/spop_reverse_bones.hpp
include/armadillo_bits/spop_reverse_meat.hpp
-include/armadillo_bits/spop_shift_bones.hpp
-include/armadillo_bits/spop_shift_meat.hpp
include/armadillo_bits/spop_strans_bones.hpp
include/armadillo_bits/spop_strans_meat.hpp
include/armadillo_bits/spop_symmat_bones.hpp
@@ -641,7 +643,7 @@ include/armadillo_bits/xtrans_mat_meat.hpp
include/armadillo_bits/xvec_htrans_bones.hpp
include/armadillo_bits/xvec_htrans_meat.hpp
lib/libarmadillo.so
-lib/libarmadillo.so.14
+lib/libarmadillo.so.15
lib/libarmadillo.so.%%PORTVERSION%%
libdata/pkgconfig/armadillo.pc
share/Armadillo/CMake/ArmadilloConfig.cmake
diff --git a/math/blacs/Makefile b/math/blacs/Makefile
index 8e696c89704d..f550f55ff9a4 100644
--- a/math/blacs/Makefile
+++ b/math/blacs/Makefile
@@ -1,6 +1,6 @@
PORTNAME= blacs
PORTVERSION= 1.7
-PORTREVISION= 40
+PORTREVISION= 41
CATEGORIES= math
MASTER_SITES= NETLIB/blacs
DISTNAME= BLACS
@@ -36,7 +36,7 @@ MPICH_EXTRA_PATCHES= ${FILESDIR}/Bmake.inc-mpich.diff
.include <bsd.port.pre.mk>
F77EXTRAFLAGS= #-w -fno-globals -fugly-complex
-.if ${GCC_DEFAULT} >= 10
+.if ${FORTRAN_DEFAULT} == gfortran && ${GCC_DEFAULT} >= 10
# workaround for Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
F77EXTRAFLAGS+= -fallow-argument-mismatch
.endif
diff --git a/math/blacs/files/Bmake.inc-mpich.diff b/math/blacs/files/Bmake.inc-mpich.diff
index 5224616e5cc8..3e30b122de6f 100644
--- a/math/blacs/files/Bmake.inc-mpich.diff
+++ b/math/blacs/files/Bmake.inc-mpich.diff
@@ -35,7 +35,7 @@
MPILIBdir = $(MPIdir)/lib/
MPIINCdir = $(MPIdir)/include
- MPILIB = $(MPILIBdir)/libmpich.a
-+ MPILIB = -lmpi -lmpifort -pthread
++ MPILIB = -lmpi -lmpifort -pthread -L$(MPILIBdir)
# -------------------------------------
# All libraries required by the tester.
diff --git a/math/blacs/files/patch-SRC_MPI_Bdef.h b/math/blacs/files/patch-SRC_MPI_Bdef.h
index 75a6acbe5696..adcdd43918c2 100644
--- a/math/blacs/files/patch-SRC_MPI_Bdef.h
+++ b/math/blacs/files/patch-SRC_MPI_Bdef.h
@@ -1,6 +1,22 @@
---- SRC/MPI/Bdef.h.orig 2020-04-21 20:22:36 UTC
+--- SRC/MPI/Bdef.h.orig 1998-03-13 20:14:33 UTC
+++ SRC/MPI/Bdef.h
-@@ -1605,9 +1605,9 @@ int BI_ContxtNum();
+@@ -322,6 +322,15 @@ int BI_ContxtNum(BLACSCONTEXT *ctxt);
+ void BI_BlacsWarn(int ConTxt, int line, char *file, char *form, ...);
+ void BI_BlacsErr(int ConTxt, int line, char *file, char *form, ...);
+ int BI_ContxtNum(BLACSCONTEXT *ctxt);
++void BI_TransDist(BLACSCONTEXT *ctxt, char scope, int m, int n, int *rA,
++ int *cA, int ldrc, BI_DistType *dist, int rdest, int cdest);
++void BI_dmvcopy(int m, int n, double *A, int lda, double *buff);
++void BI_dvmcopy(int m, int n, double *A, int lda, double *buff);
++void BI_imvcopy(int m, int n, int *A, int lda, int *buff);
++void BI_ivmcopy(int m, int n, int *A, int lda, int *buff);
++void BI_smvcopy(int m, int n, float *A, int lda, float *buff);
++void BI_svmcopy(int m, int n, float *A, int lda, float *buff);
++void Cblacs_pinfo(int *mypnum, int *nprocs);
+ #else
+ void BI_BlacsWarn();
+ void BI_BlacsErr();
+@@ -1605,9 +1614,9 @@ int BI_ContxtNum();
#else
#define BI_MPI_Type_struct(count_, lens_, disps_, types_, newtype_, ierr_) \
{ \
diff --git a/math/blacs/files/patch-SRC_MPI_blacs__get__.c b/math/blacs/files/patch-SRC_MPI_blacs__get__.c
new file mode 100644
index 000000000000..02f1b33c989e
--- /dev/null
+++ b/math/blacs/files/patch-SRC_MPI_blacs__get__.c
@@ -0,0 +1,11 @@
+--- SRC/MPI/blacs_get_.c.orig 2006-01-18 21:36:03 UTC
++++ SRC/MPI/blacs_get_.c
+@@ -12,6 +12,8 @@ F_VOID_FUNC blacs_get_(int *ConTxt, int *what, int *va
+ #else
+ int comm;
+ #endif
++ void BI_MPI_C_to_f77_trans_comm(MPI_Comm, int *);
++ void BI_MPI_F77_to_c_trans_comm(int F77comm, MPI_Comm *Ccomm);
+ BLACSCONTEXT *ctxt;
+
+ switch( Mpval(what) )
diff --git a/math/blacs/files/patch-SRC_MPI_blacs__gridinit__.c b/math/blacs/files/patch-SRC_MPI_blacs__gridinit__.c
new file mode 100644
index 000000000000..6c102072a27b
--- /dev/null
+++ b/math/blacs/files/patch-SRC_MPI_blacs__gridinit__.c
@@ -0,0 +1,15 @@
+--- SRC/MPI/blacs_gridinit_.c.orig 2006-01-18 21:36:03 UTC
++++ SRC/MPI/blacs_gridinit_.c
+@@ -6,7 +6,12 @@ F_VOID_FUNC blacs_gridinit_(int *ConTxt, F_CHAR order,
+ F_VOID_FUNC blacs_gridinit_(int *ConTxt, F_CHAR order, int *nprow, int *npcol)
+ #endif
+ {
++#if (INTFACE == C_CALL)
+ void Cblacs_gridmap(int *, int *, int, int, int);
++#else
++ F_VOID_FUNC blacs_gridmap_(int *ConTxt, int *usermap, int *ldup, int *nprow0,
++ int *npcol0);
++#endif
+ int *tmpgrid, *iptr;
+ int i, j;
+
diff --git a/math/blacs/files/patch-SRC_MPI_blacs__pinfo__.c b/math/blacs/files/patch-SRC_MPI_blacs__pinfo__.c
new file mode 100644
index 000000000000..5d6f5111549a
--- /dev/null
+++ b/math/blacs/files/patch-SRC_MPI_blacs__pinfo__.c
@@ -0,0 +1,11 @@
+--- SRC/MPI/blacs_pinfo_.c.orig 1998-03-13 20:16:27 UTC
++++ SRC/MPI/blacs_pinfo_.c
+@@ -1,5 +1,8 @@
+ #include "Bdef.h"
+
++void bi_f77_init_(void);
++void bi_f77_get_constants_(int*, int*, int*);
++
+ #if (INTFACE == C_CALL)
+ void Cblacs_pinfo(int *mypnum, int *nprocs)
+ #else
diff --git a/math/bliss/Makefile b/math/bliss/Makefile
index d975c7618a9d..4800948e6bf6 100644
--- a/math/bliss/Makefile
+++ b/math/bliss/Makefile
@@ -1,5 +1,6 @@
PORTNAME= bliss
DISTVERSION= 0.73
+PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= http://www.tcs.hut.fi/Software/bliss/
PKGNAMESUFFIX= -graph-tool
@@ -17,7 +18,7 @@ MAKE_ARGS= CC=${CXX}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/libbliss.a ${STAGEDIR}${PREFIX}/lib
+ ${INSTALL_LIB} ${WRKSRC}/libbliss.so ${STAGEDIR}${PREFIX}/lib
${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME}
${CP} ${WRKSRC}/*.hh ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/${PORTNAME}
diff --git a/math/bliss/files/patch-Makefile b/math/bliss/files/patch-Makefile
index c7f1b6191347..8d167b219a34 100644
--- a/math/bliss/files/patch-Makefile
+++ b/math/bliss/files/patch-Makefile
@@ -13,3 +13,22 @@
#CFLAGS += -DBLISS_DEBUG
CFLAGS += -fPIC
+@@ -20,7 +20,7 @@ AR = ar
+ CC = g++
+ RANLIB = ranlib
+ AR = ar
+-BLISSLIB = libbliss.a
++BLISSLIB = libbliss.so
+
+ gmp: LIB += -lgmp
+ gmp: CFLAGS += -DBLISS_USE_GMP
+@@ -36,8 +36,7 @@ lib: $(OBJS)
+
+ lib: $(OBJS)
+ rm -f $(BLISSLIB)
+- $(AR) cr $(BLISSLIB) $(OBJS)
+- $(RANLIB) $(BLISSLIB)
++ $(CC) -shared $(LDFLAGS) -o $(BLISSLIB) $(OBJS)
+
+ lib_gmp: $(GMPOBJS)
+ rm -f $(BLISSLIB)
diff --git a/math/bliss/pkg-plist b/math/bliss/pkg-plist
index 11d8c8c9a877..67c7120168c9 100644
--- a/math/bliss/pkg-plist
+++ b/math/bliss/pkg-plist
@@ -11,4 +11,4 @@ include/bliss/partition.hh
include/bliss/timer.hh
include/bliss/uintseqhash.hh
include/bliss/utils.hh
-lib/libbliss.a
+lib/libbliss.so
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
diff --git a/math/lean4/Makefile b/math/lean4/Makefile
index 8ac3190497f2..08ab12311304 100644
--- a/math/lean4/Makefile
+++ b/math/lean4/Makefile
@@ -11,6 +11,7 @@ WWW= https://lean-lang.org/ \
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
+BROKEN_FreeBSD_13= compilation fails: error: use of undeclared identifier 'clearenv'
BROKEN_armv7= compilation fails: ../../.build/stage1/lib/temp/Init/Coe.depend: No such file or directory
BROKEN_i386= linking fails: INTERNAL PANIC: out of memory (during: Linking runLinter)
diff --git a/math/mlpack/Makefile b/math/mlpack/Makefile
index 264f0208a178..c614af9212fe 100644
--- a/math/mlpack/Makefile
+++ b/math/mlpack/Makefile
@@ -11,6 +11,7 @@ WWW= https://www.mlpack.org/ \
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+BROKEN_FreeBSD_13= compilation fails with clang-19, see https://github.com/mlpack/mlpack/issues/3825
BROKEN_FreeBSD_15= compilation fails with clang-19, see https://github.com/mlpack/mlpack/issues/3825
BROKEN_i386= undefined symbol: __atomic_load
diff --git a/math/octave-forge-image/Makefile b/math/octave-forge-image/Makefile
index f9abe718eec9..d8000dbcbe8c 100644
--- a/math/octave-forge-image/Makefile
+++ b/math/octave-forge-image/Makefile
@@ -1,5 +1,5 @@
PORTNAME= octave-forge-image
-PORTVERSION= 2.18.0
+PORTVERSION= 2.18.1
CATEGORIES= math
MASTER_SITES= SF/octave/Octave%20Forge%20Packages/Individual%20Package%20Releases
DISTNAME= ${OCTAVE_PKGNAME}-${DISTVERSIONFULL}
diff --git a/math/octave-forge-image/distinfo b/math/octave-forge-image/distinfo
index 5188034df013..c816ce3b8a9a 100644
--- a/math/octave-forge-image/distinfo
+++ b/math/octave-forge-image/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1755636185
-SHA256 (octave-forge/image-2.18.0.tar.gz) = d87af2b098a03b3fe78d05fe623cff49765f87251c0090769e214bbbc6569a00
-SIZE (octave-forge/image-2.18.0.tar.gz) = 477488
+TIMESTAMP = 1757075144
+SHA256 (octave-forge/image-2.18.1.tar.gz) = d4eed0579782c2efaa0818de2f20f13b276eb3d4b4b3d63347c7317d84e29531
+SIZE (octave-forge/image-2.18.1.tar.gz) = 477118
diff --git a/math/polymake/Makefile b/math/polymake/Makefile
index 193dc3bf8ab4..b0a90401376f 100644
--- a/math/polymake/Makefile
+++ b/math/polymake/Makefile
@@ -1,6 +1,6 @@
PORTNAME= polymake
DISTVERSION= 4.13
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/V${DISTVERSION}/ \
https://polymake.org/lib/exe/fetch.php/download/
@@ -93,7 +93,7 @@ TESTS_DESC= Run bundled self tests after build
BLISS_CONFIGURE_ON= --with-bliss=${LOCALBASE}
BLISS_CONFIGURE_OFF= --without-bliss
-BLISS_BUILD_DEPENDS= bliss-graph-tool>=0.73:math/bliss
+BLISS_BUILD_DEPENDS= bliss-graph-tool>=0.73:math/bliss # does it need the tool or the library? LIB_DEPENDS should be used in the latter case.
BLISS_RUN_DEPENDS= bliss-graph-tool>=0.73:math/bliss
NAUTY_CONFIGURE_ON= --with-nauty=${LOCALBASE}
diff --git a/math/py-modin/Makefile b/math/py-modin/Makefile
index 07ef57565dc7..eae7c2b925d7 100644
--- a/math/py-modin/Makefile
+++ b/math/py-modin/Makefile
@@ -1,5 +1,5 @@
PORTNAME= modin
-PORTVERSION= 0.34.1
+PORTVERSION= 0.35.0
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -17,7 +17,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLA
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fsspec>=2022.11.0:filesystems/py-fsspec@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}numpy>=1.22.4,1:math/py-numpy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}packaging>=21.0:devel/py-packaging@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pandas>=2.2,1<2.3,1:math/py-pandas@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pandas>=2.2,1<2.4,1:math/py-pandas@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}psutil>=5.8.0:sysutils/py-psutil@${PY_FLAVOR}
USES= python
diff --git a/math/py-modin/distinfo b/math/py-modin/distinfo
index bf98632db566..d54f58d558f9 100644
--- a/math/py-modin/distinfo
+++ b/math/py-modin/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1752266154
-SHA256 (modin-0.34.1.tar.gz) = 421b498f0cca4be41241936d051602603715f06e1568307b8b52fcd98ed75263
-SIZE (modin-0.34.1.tar.gz) = 892196
+TIMESTAMP = 1757120786
+SHA256 (modin-0.35.0.tar.gz) = bec0d4a42055c9dc146a04aef1dd8f0356d7c39a554426de29d3fb0e5091a3d1
+SIZE (modin-0.35.0.tar.gz) = 897186
diff --git a/math/py-narwhals/Makefile b/math/py-narwhals/Makefile
index ab28d85e5398..959375b249a3 100644
--- a/math/py-narwhals/Makefile
+++ b/math/py-narwhals/Makefile
@@ -1,5 +1,5 @@
PORTNAME= narwhals
-PORTVERSION= 2.1.1
+PORTVERSION= 2.2.0
CATEGORIES= math python
MASTER_SITES= PYPI \
https://github.com/narwhals-dev/narwhals/releases/download/v${PORTVERSION}/
diff --git a/math/py-narwhals/distinfo b/math/py-narwhals/distinfo
index 8faf1ed4c142..64de8e806eaa 100644
--- a/math/py-narwhals/distinfo
+++ b/math/py-narwhals/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1755062570
-SHA256 (narwhals-2.1.1.tar.gz) = 308ec9d0e40616b66b61cd76ede4083a4232ae04942a3acef7e514d49641cb77
-SIZE (narwhals-2.1.1.tar.gz) = 529925
+TIMESTAMP = 1757120788
+SHA256 (narwhals-2.2.0.tar.gz) = f6a34f2699acabe2c17339c104f0bec28b9f7a55fbc7f8d485d49bea72d12b8a
+SIZE (narwhals-2.2.0.tar.gz) = 547070
diff --git a/math/py-pyreadstat/Makefile b/math/py-pyreadstat/Makefile
index d948c77b4952..89f5c1217df5 100644
--- a/math/py-pyreadstat/Makefile
+++ b/math/py-pyreadstat/Makefile
@@ -1,5 +1,5 @@
PORTNAME= pyreadstat
-PORTVERSION= 1.3.0
+PORTVERSION= 1.3.1
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +14,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pandas>=1.2.0,1:math/py-pandas@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}narwhals>=2.0:math/py-narwhals@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent cython3 pep517
diff --git a/math/py-pyreadstat/distinfo b/math/py-pyreadstat/distinfo
index 333820b5c423..6c4da3f3c0f6 100644
--- a/math/py-pyreadstat/distinfo
+++ b/math/py-pyreadstat/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1751208170
-SHA256 (pyreadstat-1.3.0.tar.gz) = faddb9086797b24ff8f0540b8493ef5875620384e065a2d212f94295f69517a4
-SIZE (pyreadstat-1.3.0.tar.gz) = 566015
+TIMESTAMP = 1757120790
+SHA256 (pyreadstat-1.3.1.tar.gz) = 5e22b4000570cc0b0b850c7fedc13129546729ca413d67697ede0074423b1ef6
+SIZE (pyreadstat-1.3.1.tar.gz) = 610773
diff --git a/math/scalapack/Makefile b/math/scalapack/Makefile
index 0a5668a213eb..c9020ac6731d 100644
--- a/math/scalapack/Makefile
+++ b/math/scalapack/Makefile
@@ -1,5 +1,6 @@
PORTNAME= scalapack
PORTVERSION= 2.2.2
+PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= math
@@ -60,7 +61,7 @@ FFLAGS+= ${FPIC}
LDFLAGS+= ${MPI_LIBS}
SVERSION= ${PORTVERSION:R:R}
-.if ${GCC_DEFAULT} >= 10
+.if ${FORTRAN_DEFAULT} == gfortran && ${GCC_DEFAULT} >= 10
# workaround for Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
FFLAGS+= -fallow-argument-mismatch
.endif
diff --git a/math/scalapack/files/patch-BLACS_SRC_Bdef.h b/math/scalapack/files/patch-BLACS_SRC_Bdef.h
new file mode 100644
index 000000000000..7845091f1e18
--- /dev/null
+++ b/math/scalapack/files/patch-BLACS_SRC_Bdef.h
@@ -0,0 +1,18 @@
+--- BLACS/SRC/Bdef.h.orig 2024-08-06 11:44:11 UTC
++++ BLACS/SRC/Bdef.h
+@@ -129,6 +129,15 @@ Int BI_ContxtNum(BLACSCONTEXT *ctxt);
+ void BI_BlacsWarn(Int ConTxt, Int line, char *file, char *form, ...);
+ void BI_BlacsErr(Int ConTxt, Int line, char *file, char *form, ...);
+ Int BI_ContxtNum(BLACSCONTEXT *ctxt);
++void BI_TransDist(BLACSCONTEXT *ctxt, char scope, Int m, Int n, Int *rA,
++ Int *cA, Int ldrc, BI_DistType *dist, Int rdest, Int cdest);
++void BI_dmvcopy(Int m, Int n, double *A, Int lda, double *buff);
++void BI_dvmcopy(Int m, Int n, double *A, Int lda, double *buff);
++void BI_imvcopy(Int m, Int n, Int *A, Int lda, Int *buff);
++void BI_ivmcopy(Int m, Int n, Int *A, Int lda, Int *buff);
++void BI_smvcopy(Int m, Int n, float *A, Int lda, float *buff);
++void BI_svmcopy(Int m, Int n, float *A, Int lda, float *buff);
++void Cblacs_pinfo(Int *mypnum, Int *nprocs);
+
+ /*
+ * If we've got an ANSI standard C compiler, we can use void pointers...
diff --git a/math/scalapack/files/patch-BLACS_SRC_blacs__init__.c b/math/scalapack/files/patch-BLACS_SRC_blacs__init__.c
new file mode 100644
index 000000000000..642edde152d9
--- /dev/null
+++ b/math/scalapack/files/patch-BLACS_SRC_blacs__init__.c
@@ -0,0 +1,15 @@
+--- BLACS/SRC/blacs_init_.c.orig 2024-08-06 11:44:11 UTC
++++ BLACS/SRC/blacs_init_.c
+@@ -6,7 +6,12 @@ F_VOID_FUNC blacs_gridinit_(Int *ConTxt, F_CHAR order,
+ F_VOID_FUNC blacs_gridinit_(Int *ConTxt, F_CHAR order, Int *nprow, Int *npcol)
+ #endif
+ {
++#if (INTFACE == C_CALL)
+ void Cblacs_gridmap(Int *, Int *, Int, Int, Int);
++#else
++ F_VOID_FUNC blacs_gridmap_(Int *ConTxt, Int *usermap, Int *ldup, Int *nprow0,
++ Int *npcol0);
++#endif
+ Int *tmpgrid, *iptr;
+ Int i, j;
+
diff --git a/math/scalapack/files/patch-CMakeLists.txt b/math/scalapack/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..133cf6b18859
--- /dev/null
+++ b/math/scalapack/files/patch-CMakeLists.txt
@@ -0,0 +1,10 @@
+--- CMakeLists.txt.orig 2025-09-05 14:39:41 UTC
++++ CMakeLists.txt
+@@ -239,6 +239,7 @@ if (NOT MSVC)
+ append_subdir_files(src-C "SRC")
+
+ if (NOT MSVC)
++ set_source_files_properties(TOOLS/SL_gridreshape.c PROPERTIES COMPILE_OPTIONS "-Wno-error=implicit-function-declaration")
+ add_library(scalapack ${blacs} ${tools} ${tools-C} ${extra_lapack} ${pblas} ${pblas-F} ${ptzblas} ${ptools} ${pbblas} ${redist} ${src} ${src-C})
+ set_target_properties(scalapack PROPERTIES
+ VERSION ${SCALAPACK_VERSION}
diff --git a/math/scalapack/files/patch-gridmap b/math/scalapack/files/patch-gridmap
new file mode 100644
index 000000000000..f442271f2045
--- /dev/null
+++ b/math/scalapack/files/patch-gridmap
@@ -0,0 +1,120 @@
+--- REDIST/SRC/pcgemr.c.orig 2024-08-06 11:44:11 UTC
++++ REDIST/SRC/pcgemr.c
+@@ -194,6 +194,7 @@ extern void Cblacs_gridinit();
+ extern void Cblacs_pinfo();
+ extern void Cblacs_gridinfo();
+ extern void Cblacs_gridinit();
++extern void Cblacs_gridmap();
+ extern void Cblacs_exit();
+ extern void Cblacs_gridexit();
+ extern void Cblacs_setup();
+--- REDIST/SRC/pctrmr.c.orig 2024-08-06 11:44:11 UTC
++++ REDIST/SRC/pctrmr.c
+@@ -209,6 +209,7 @@ extern void Cblacs_gridinit();
+ extern void Cblacs_pinfo();
+ extern void Cblacs_gridinfo();
+ extern void Cblacs_gridinit();
++extern void Cblacs_gridmap();
+ extern void Cblacs_exit();
+ extern void Cblacs_gridexit();
+ extern void Cblacs_setup();
+--- REDIST/SRC/pdgemr.c.orig 2024-08-06 11:44:11 UTC
++++ REDIST/SRC/pdgemr.c
+@@ -191,6 +191,7 @@ extern void Cblacs_gridinit();
+ extern void Cblacs_pinfo();
+ extern void Cblacs_gridinfo();
+ extern void Cblacs_gridinit();
++extern void Cblacs_gridmap();
+ extern void Cblacs_exit();
+ extern void Cblacs_gridexit();
+ extern void Cblacs_setup();
+--- REDIST/SRC/pdtrmr.c.orig 2024-08-06 11:44:11 UTC
++++ REDIST/SRC/pdtrmr.c
+@@ -206,6 +206,7 @@ extern void Cblacs_gridinit();
+ extern void Cblacs_pinfo();
+ extern void Cblacs_gridinfo();
+ extern void Cblacs_gridinit();
++extern void Cblacs_gridmap();
+ extern void Cblacs_exit();
+ extern void Cblacs_gridexit();
+ extern void Cblacs_setup();
+--- REDIST/SRC/pigemr.c.orig 2024-08-06 11:44:11 UTC
++++ REDIST/SRC/pigemr.c
+@@ -191,6 +191,7 @@ extern void Cblacs_gridinit();
+ extern void Cblacs_pinfo();
+ extern void Cblacs_gridinfo();
+ extern void Cblacs_gridinit();
++extern void Cblacs_gridmap();
+ extern void Cblacs_exit();
+ extern void Cblacs_gridexit();
+ extern void Cblacs_setup();
+--- REDIST/SRC/pitrmr.c.orig 2024-08-06 11:44:11 UTC
++++ REDIST/SRC/pitrmr.c
+@@ -206,6 +206,7 @@ extern void Cblacs_gridinit();
+ extern void Cblacs_pinfo();
+ extern void Cblacs_gridinfo();
+ extern void Cblacs_gridinit();
++extern void Cblacs_gridmap();
+ extern void Cblacs_exit();
+ extern void Cblacs_gridexit();
+ extern void Cblacs_setup();
+--- REDIST/SRC/psgemr.c.orig 2024-08-06 11:44:11 UTC
++++ REDIST/SRC/psgemr.c
+@@ -191,6 +191,7 @@ extern void Cblacs_gridinit();
+ extern void Cblacs_pinfo();
+ extern void Cblacs_gridinfo();
+ extern void Cblacs_gridinit();
++extern void Cblacs_gridmap();
+ extern void Cblacs_exit();
+ extern void Cblacs_gridexit();
+ extern void Cblacs_setup();
+--- REDIST/SRC/pstrmr.c.orig 2024-08-06 11:44:11 UTC
++++ REDIST/SRC/pstrmr.c
+@@ -206,6 +206,7 @@ extern void Cblacs_gridinit();
+ extern void Cblacs_pinfo();
+ extern void Cblacs_gridinfo();
+ extern void Cblacs_gridinit();
++extern void Cblacs_gridmap();
+ extern void Cblacs_exit();
+ extern void Cblacs_gridexit();
+ extern void Cblacs_setup();
+--- REDIST/SRC/pzgemr.c.orig 2024-08-06 11:44:11 UTC
++++ REDIST/SRC/pzgemr.c
+@@ -194,6 +194,7 @@ extern void Cblacs_gridinit();
+ extern void Cblacs_pinfo();
+ extern void Cblacs_gridinfo();
+ extern void Cblacs_gridinit();
++extern void Cblacs_gridmap();
+ extern void Cblacs_exit();
+ extern void Cblacs_gridexit();
+ extern void Cblacs_setup();
+--- REDIST/SRC/pztrmr.c.orig 2024-08-06 11:44:11 UTC
++++ REDIST/SRC/pztrmr.c
+@@ -209,6 +209,7 @@ extern void Cblacs_gridinit();
+ extern void Cblacs_pinfo();
+ extern void Cblacs_gridinfo();
+ extern void Cblacs_gridinit();
++extern void Cblacs_gridmap();
+ extern void Cblacs_exit();
+ extern void Cblacs_gridexit();
+ extern void Cblacs_setup();
+--- SRC/pcrot.c.orig 2024-08-06 11:44:11 UTC
++++ SRC/pcrot.c
+@@ -190,6 +190,7 @@ void pcrot_( Int *n, complex X[], Int *ix, Int *jx, In
+ F_INTG_FCT pbctrnv_();
+ F_INTG_FCT crot_();
+ F_INTG_FCT ilcm_();
++ Int numroc_( Int*, Int*, Int*, Int*, Int* );
+ /* ..
+ * .. Executable Statements ..
+ *
+--- SRC/pzrot.c.orig 2024-08-06 11:44:11 UTC
++++ SRC/pzrot.c
+@@ -190,6 +190,7 @@ void pzrot_( Int *n, complex16 X[], Int *ix, Int *jx,
+ F_INTG_FCT pbztrnv_();
+ F_INTG_FCT zrot_();
+ F_INTG_FCT ilcm_();
++ Int numroc_( Int*, Int*, Int*, Int*, Int* );
+ /* ..
+ * .. Executable Statements ..
+ *
diff --git a/math/sympol/Makefile b/math/sympol/Makefile
index 4bc3c85b1174..c7fc1bbe9199 100644
--- a/math/sympol/Makefile
+++ b/math/sympol/Makefile
@@ -1,7 +1,7 @@
PORTNAME= sympol
DISTVERSIONPREFIX= v
DISTVERSION= 0.1.9
-PORTREVISION= 14
+PORTREVISION= 15
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
@@ -11,9 +11,9 @@ WWW= https://www.math.uni-rostock.de/~rehn/software/sympol.html
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-BUILD_DEPENDS= ${LOCALBASE}/lib/libbliss.a:math/bliss \
- permlib>0:math/permlib
-LIB_DEPENDS= libboost_program_options.so:devel/boost-libs \
+BUILD_DEPENDS= permlib>0:math/permlib
+LIB_DEPENDS= libbliss.so:math/bliss \
+ libboost_program_options.so:devel/boost-libs \
libcddgmp.so:math/cddlib \
libgmp.so:math/gmp