summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-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/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/polymake/Makefile4
-rw-r--r--math/sympol/Makefile8
12 files changed, 51 insertions, 20 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/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/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/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