git: 317270b01424 - main - math/freefem++: update 4.14 → 4.016

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 23 Mar 2026 19:27:53 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=317270b01424dbf8fa3927130673e6d108d99cf0

commit 317270b01424dbf8fa3927130673e6d108d99cf0
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-03-23 19:27:36 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-03-23 19:27:50 +0000

    math/freefem++: update 4.14 → 4.016
---
 math/freefem++/Makefile  | 46 ++++++++++++++++++++++------------------------
 math/freefem++/distinfo  |  6 +++---
 math/freefem++/pkg-plist |  2 +-
 3 files changed, 26 insertions(+), 28 deletions(-)

diff --git a/math/freefem++/Makefile b/math/freefem++/Makefile
index cd7e2f833b2e..23aacc7d6355 100644
--- a/math/freefem++/Makefile
+++ b/math/freefem++/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	freefem++
 DISTVERSIONPREFIX=	v
-DISTVERSION=	4.14
-PORTREVISION=	12
+DISTVERSION=	4.016
 CATEGORIES=	math science
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -11,28 +10,25 @@ WWW=		https://freefem.org/ \
 
 LICENSE=	LGPL3
 
-BROKEN=		fails to compile with nlopt-2.9.0, see https://github.com/FreeFem/FreeFem-sources/issues/324
-BROKEN_FreeBSD_15=	compilation fails with clang-19, see https://github.com/FreeFem/FreeFem-sources/issues/323
-
-BUILD_DEPENDS=	bash:shells/bash		\
-		gmm++>0:math/gmm++		\
-		pipe:misc/pipe			\
+BUILD_DEPENDS=	bash:shells/bash \
+		gmm++>0:math/gmm++ \
+		pipe:misc/pipe \
 		tetgen:math/tetgen
-LIB_DEPENDS=	libhdf5.so:science/hdf5		\
-		libamd.so:math/suitesparse-amd	\
+LIB_DEPENDS=	libarpack.so:math/arpack-ng \
+		libhdf5.so:science/hdf5	\
+		libamd.so:math/suitesparse-amd \
 		libcholmod.so:math/suitesparse-cholmod \
 		libcolamd.so:math/suitesparse-colamd \
-		libumfpack.so:math/suitesparse-umfpack	\
-		libarpack.so:math/arpack-ng@mpich	\
-		libfftw3.so:math/fftw3		\
-		libgsl.so:math/gsl		\
-		libipopt.so:math/ipopt		\
-		libmetis.so:math/metis		\
-		libscotch.so:cad/scotch		\
-		libcmumps.so:math/mumps		\
-		libnlopt.so:math/nlopt		\
+		libumfpack.so:math/suitesparse-umfpack \
+		libarpack.so:math/arpack-ng@mpich \
+		libfftw3.so:math/fftw3 \
+		libgsl.so:math/gsl \
+		libmetis.so:math/metis \
+		libmumps_common.so:math/mumps \
+		libscotch.so:cad/scotch \
+		libnlopt.so:math/nlopt \
 		libsuperlu.so:math/superlu
-RUN_DEPENDS=	bash:shells/bash		\
+RUN_DEPENDS=	bash:shells/bash \
 		pipe:misc/pipe
 
 USES=		autoreconf bison blaslapack:openblas compiler:c++14-lang fortran \
@@ -43,7 +39,9 @@ GH_ACCOUNT=	FreeFem
 GH_PROJECT=	FreeFem-sources
 
 SHEBANG_GLOB=	ff-pkg-download.in
-SHEBANG_FILES=	examples/CheckAllEdp ./examples/misc/speedtest.sh
+SHEBANG_FILES=	examples/CheckAllEdp ./examples/misc/speedtest.sh \
+		plugin/seq/ff-get-dep.in plugin/seq/ff-pkg-download.in \
+		bin/move-dylib bin/change-dylib-gfortran-2 bin/change-dylib-gfortran
 
 CPPFLAGS+=	-I${LOCALBASE}/include/superlu
 .if !defined{WITH_DEBUG}
@@ -54,9 +52,9 @@ LDFLAGS+=	-pthread # workaround for https://github.com/FreeFem/FreeFem-sources/i
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CNOFLAGS="${CFLAGS}" LIBS=-lz
-CONFIGURE_ARGS=	--disable-download		\
-		--without-mpi			\
-		--with-blas=${BLASLIB}		\
+CONFIGURE_ARGS=	--disable-download \
+		--without-mpi \
+		--with-blas=${BLASLIB} \
 		--with-lapack=${LAPACKLIB}
 
 USE_GL=		gl glu glut
diff --git a/math/freefem++/distinfo b/math/freefem++/distinfo
index 7eec9e571860..7d055b1298b1 100644
--- a/math/freefem++/distinfo
+++ b/math/freefem++/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1701684800
-SHA256 (FreeFem-FreeFem-sources-v4.14_GH0.tar.gz) = 931cbfe9ef6f6530756c300c5ae47bfdaca21c560a5407cb33325a376a3b6af8
-SIZE (FreeFem-FreeFem-sources-v4.14_GH0.tar.gz) = 12987355
+TIMESTAMP = 1774231229
+SHA256 (FreeFem-FreeFem-sources-v4.016_GH0.tar.gz) = 5db138ce0c7dcce7219a3b578fc04a09fbcb17f1fa1dc7be048f4c639610e1b8
+SIZE (FreeFem-FreeFem-sources-v4.016_GH0.tar.gz) = 13059405
diff --git a/math/freefem++/pkg-plist b/math/freefem++/pkg-plist
index cb20b559d39b..17f5ba1e4998 100644
--- a/math/freefem++/pkg-plist
+++ b/math/freefem++/pkg-plist
@@ -8,6 +8,7 @@ bin/ff-pkg-download
 bin/ffglut
 bin/ffmaster
 bin/ffmedit
+bin/md2edp
 lib/ff++/%%VER%%/bin/ff-get-dep
 lib/ff++/%%VER%%/bin/ff-pkg-download
 lib/ff++/%%VER%%/%%ETCDIR%%.pref
@@ -120,7 +121,6 @@ lib/ff++/%%VER%%/include/endian.hpp
 lib/ff++/%%VER%%/include/environment.hpp
 lib/ff++/%%VER%%/include/error.hpp
 lib/ff++/%%VER%%/include/fem.hpp
-lib/ff++/%%VER%%/include/fem3.hpp
 lib/ff++/%%VER%%/include/ff++.hpp
 lib/ff++/%%VER%%/include/ffapi.hpp
 lib/ff++/%%VER%%/include/ffstack.hpp