Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Apr 2026 09:41:22 +0000
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6cadd1db3205 - main - math/elpa: update 2021.11=?utf-8?Q?=2E001 =E2=86=92?= 2026.02.001
Message-ID:  <69d8c5c2.18515.16ee9db4@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6cadd1db32052195d0ecdfa6ae5bacb72fdd5a17

commit 6cadd1db32052195d0ecdfa6ae5bacb72fdd5a17
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-04-10 08:10:43 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-04-10 09:40:53 +0000

    math/elpa: update 2021.11.001 → 2026.02.001
---
 math/elpa/Makefile                                 |  18 +-
 math/elpa/distinfo                                 |   6 +-
 math/elpa/files/patch-configure                    | 256 ++++++++++++++++++++-
 .../elpa/files/patch-fdep_fortran__dependencies.mk |  17 ++
 math/elpa/files/patch-src_elpa__api.F90            |  48 ++++
 math/elpa/pkg-plist                                |  30 +--
 science/abinit/Makefile                            |   1 +
 science/fleur/Makefile                             |   2 +-
 8 files changed, 351 insertions(+), 27 deletions(-)

diff --git a/math/elpa/Makefile b/math/elpa/Makefile
index 7af0e6156556..6e4988ca4df4 100644
--- a/math/elpa/Makefile
+++ b/math/elpa/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	elpa
-DISTVERSION=	2021.11.001
-PORTREVISION=	5
+DISTVERSION=	2026.02.001
 CATEGORIES=	math
 MASTER_SITES=	https://elpa.mpcdf.mpg.de/software/tarball-archive/Releases/${DISTVERSION}/
 
@@ -30,15 +29,14 @@ CFLAGS+=	-DFREEBSD_OSVERSION=${OSVERSION}
 FCFLAGS+=	-I${WRKSRC} -I${WRKSRC}/private_modules
 LDFLAGS+=	-lutil
 
-# ugly workaround for missing .mod files: some targets are added before 'all' that force rebuild of missing .mod files
-ALL_TARGET=	src/general/libelpa_private_la-elpa_utilities.lo \
+# Build the private library first to ensure all .mod files exist before the public library is compiled
+ALL_TARGET=	src/helpers/libelpa_private_la-mod_precision.lo \
+		src/helpers/libelpa_private_la-mod_omp.lo \
 		src/libelpa_private_la-elpa_generated_fortran_interfaces.lo \
-		src/elpa1/libelpa_private_la-elpa1_compute_private.lo \
-		src/elpa2/libelpa_private_la-elpa2_compute.lo \
 		all
 INSTALL_TARGET=	install-strip
 
-BINARY_ALIAS=	make=gmake gcc=gcc${GCC_DEFAULT} g++=g++${GCC_DEFAULT} # build fails with clang: recursively calls cc
+BINARY_ALIAS=	make=gmake gcc=gcc${GCC_DEFAULT} g++=g++${GCC_DEFAULT} cpp=cpp${GCC_DEFAULT} # build fails with clang: recursively calls cc; cpp=GCC because fdep uses cpp for Fortran module tracking
 FCFLAGS+=	-std=legacy -I${LOCALBASE}/include
 
 MAKE_JOBS_UNSAFE=	yes # part of the workaround for .mod files
@@ -60,6 +58,9 @@ post-patch:
 	@${FIND} ${WRKSRC} -name "*.mk" | ${XARGS} ${REINPLACE_CMD} -e 's|-Werror| |'
 	# patch in the full path name of config-f90.h
 	@${FIND} ${WRKSRC} -name *.F90 -o -name *.c | ${XARGS} ${REINPLACE_CMD} -e 's|#include "config-f90.h"|#include "${WRKSRC}/config-f90.h"|'
+	# alloca.h is Linux-specific; alloca() is already provided by stdlib.h on FreeBSD
+	@${FIND} ${WRKSRC} \( -name "*.c" -o -name "*.cpp" -o -name "*.cu" -o -name "*.hip" \) | \
+		${XARGS} ${REINPLACE_CMD} -e 's|#include <alloca.h>||'
 
 .include <bsd.port.options.mk>
 
@@ -70,4 +71,7 @@ CONFIGURE_ARGS+=	--disable-sse --disable-sse-assembly
 post-install-DOCS-on:
 	@cd ${STAGEDIR}${DOCSDIR} && ${RM} *gpl* COPYING LICENSE
 
+post-install-DOCS-off:
+	@${RM} -r ${STAGEDIR}${DOCSDIR}
+
 .include <bsd.port.mk>
diff --git a/math/elpa/distinfo b/math/elpa/distinfo
index 2ab100f5d7b4..f3d85a1bb106 100644
--- a/math/elpa/distinfo
+++ b/math/elpa/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1642194690
-SHA256 (elpa-2021.11.001.tar.gz) = fb361da6c59946661b73e51538d419028f763d7cb9dacf9d8cd5c9cd3fb7802f
-SIZE (elpa-2021.11.001.tar.gz) = 1388817
+TIMESTAMP = 1775779185
+SHA256 (elpa-2026.02.001.tar.gz) = a379f27f4dbd27b2ee45017afec656d064301e97150c874649bdfd64957b75ed
+SIZE (elpa-2026.02.001.tar.gz) = 2196710
diff --git a/math/elpa/files/patch-configure b/math/elpa/files/patch-configure
index d5cc1b605b19..883affd08a4c 100644
--- a/math/elpa/files/patch-configure
+++ b/math/elpa/files/patch-configure
@@ -1,6 +1,258 @@
---- configure.orig	2018-08-29 19:42:22 UTC
+--- configure.orig	2026-03-04 17:57:40 UTC
 +++ configure
-@@ -23453,15 +23453,15 @@ postdeps_FC=$(echo $postdeps_FC | sed 's
+@@ -30219,7 +30219,7 @@ printf %s "checking whether the $compiler linker ($LD)
+   hardcode_minus_L=no
+   hardcode_shlibpath_var=unsupported
+   inherit_rpath=no
+-  link_all_deplibs=unknown
++  link_all_deplibs=no
+   module_cmds=
+   module_expsym_cmds=
+   old_archive_from_new_cmds=
+@@ -30514,7 +30514,7 @@ _LT_EOF
+ 
+     *-mlibc)
+ 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+-	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
++	archive_expsym_cmds='echo "{ global:" > $lib-ver~		 sed -e "s|$|;|" < $export_symbols >> $lib-ver~	 echo "local: *; };" >> $lib-ver~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib'
+       ;;
+ 
+     netbsd* | netbsdelf*-gnu)
+@@ -30523,7 +30523,7 @@ _LT_EOF
+ 	wlarc=
+       else
+ 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+-	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
++	archive_expsym_cmds='echo "{ global:" > $lib-ver~		 sed -e "s|$|;|" < $export_symbols >> $lib-ver~	 echo "local: *; };" >> $lib-ver~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib'
+       fi
+       ;;
+ 
+@@ -30542,7 +30542,7 @@ _LT_EOF
+ _LT_EOF
+       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+-	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
++	archive_expsym_cmds='echo "{ global:" > $lib-ver~		 sed -e "s|$|;|" < $export_symbols >> $lib-ver~	 echo "local: *; };" >> $lib-ver~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib'
+       else
+ 	ld_shlibs=no
+       fi
+@@ -30571,7 +30571,7 @@ _LT_EOF
+ 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
+ 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+-	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
++	    archive_expsym_cmds='echo "{ global:" > $lib-ver~		 sed -e "s|$|;|" < $export_symbols >> $lib-ver~	 echo "local: *; };" >> $lib-ver~$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib'
+ 	  else
+ 	    ld_shlibs=no
+ 	  fi
+@@ -30589,7 +30589,7 @@ _LT_EOF
+     *)
+       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+-	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
++	archive_expsym_cmds='echo "{ global:" > $lib-ver~		 sed -e "s|$|;|" < $export_symbols >> $lib-ver~	 echo "local: *; };" >> $lib-ver~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib'
+       else
+ 	ld_shlibs=no
+       fi
+@@ -31253,7 +31253,7 @@ printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
+ 	hardcode_direct_absolute=yes
+ 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
+ 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+-	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
++	  archive_expsym_cmds='echo "{ global:" > $lib-ver~		 sed -e "s|$|;|" < $export_symbols >> $lib-ver~	 echo "local: *; };" >> $lib-ver~$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-version-script,$lib-ver'
+ 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
+ 	  export_dynamic_flag_spec='$wl-E'
+ 	else
+@@ -32122,7 +32122,7 @@ freebsd* | dragonfly* | midnightbsd*)
+   version_type=freebsd-$objformat
+   case $version_type in
+     freebsd-elf*)
+-      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
++      library_names_spec='$libname$release$shared_ext$versuffix  $libname$release$shared_ext$major	 $libname$shared_ext'			 soname_spec='$libname$release$shared_ext$major'
+       soname_spec='$libname$release$shared_ext$major'
+       need_version=no
+       need_lib_prefix=no
+@@ -33862,7 +33862,7 @@ else
+   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ printf "%s\n" "no" >&6; }
+ else
+-  if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
++  if $STRIP -V 2>&1 | $GREP "strip" >/dev/null; then
+     old_striplib="$STRIP --strip-debug"
+     striplib="$STRIP --strip-unneeded"
+     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+@@ -33876,7 +33876,7 @@ printf "%s\n" "yes" >&6; }
+       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ printf "%s\n" "yes" >&6; }
+       ;;
+-    freebsd*)
++dragonfly* |     freebsd*)
+       if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev/null; then
+         old_striplib="$STRIP --strip-debug"
+         striplib="$STRIP --strip-unneeded"
+@@ -34120,7 +34120,7 @@ module_expsym_cmds_CXX=
+ inherit_rpath_CXX=no
+ module_cmds_CXX=
+ module_expsym_cmds_CXX=
+-link_all_deplibs_CXX=unknown
++link_all_deplibs_CXX=no
+ old_archive_cmds_CXX=$old_archive_cmds
+ reload_flag_CXX=$reload_flag
+ reload_cmds_CXX=$reload_cmds
+@@ -34337,7 +34337,7 @@ with_gnu_ld=$lt_cv_prog_gnu_ld
+       # archiving commands below assume that GNU ld is being used.
+       if test yes = "$with_gnu_ld"; then
+         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+-        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
++        archive_expsym_cmds_CXX='echo "{ global:" > $lib-ver~		 sed -e "s|$|;|" < $export_symbols >> $lib-ver~	 echo "local: *; };" >> $lib-ver~$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib'
+ 
+         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
+         export_dynamic_flag_spec_CXX='$wl--export-dynamic'
+@@ -35036,7 +35036,7 @@ fi
+ 	    case `$CC -V 2>&1` in
+ 	      *"Version 7."*)
+ 	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+-		archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
++		archive_expsym_cmds_CXX='echo "{ global:" > $lib-ver~		 sed -e "s|$|;|" < $export_symbols >> $lib-ver~	 echo "local: *; };" >> $lib-ver~$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib'
+ 		;;
+ 	      *)  # Version 8.0 or newer
+ 	        tmp_idyn=
+@@ -35044,7 +35044,7 @@ fi
+ 		  ia64*) tmp_idyn=' -i_dynamic';;
+ 		esac
+ 	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+-		archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
++		archive_expsym_cmds_CXX='echo "{ global:" > $lib-ver~		 sed -e "s|$|;|" < $export_symbols >> $lib-ver~	 echo "local: *; };" >> $lib-ver~$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib'
+ 		;;
+ 	    esac
+ 	    archive_cmds_need_lc_CXX=no
+@@ -35076,7 +35076,7 @@ fi
+ 	      ;;
+ 	    *) # Version 6 and above use weak symbols
+ 	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+-	      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
++	      archive_expsym_cmds_CXX='echo "{ global:" > $lib-ver~		 sed -e "s|$|;|" < $export_symbols >> $lib-ver~	 echo "local: *; };" >> $lib-ver~$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib'
+ 	      ;;
+ 	    esac
+ 
+@@ -35087,7 +35087,7 @@ fi
+ 	  cxx*)
+ 	    # Compaq C++
+ 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
+-	    archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname  -o $lib $wl-retain-symbols-file $wl$export_symbols'
++	    archive_expsym_cmds_CXX='echo "{ global:" > $lib-ver~		 sed -e "s|$|;|" < $export_symbols >> $lib-ver~	 echo "local: *; };" >> $lib-ver~$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname  -o $lib $wl-version-script $wl$lib-ver'
+ 
+ 	    runpath_var=LD_RUN_PATH
+ 	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
+@@ -35121,7 +35121,7 @@ fi
+ 	      # Sun C++ 5.9
+ 	      no_undefined_flag_CXX=' -zdefs'
+ 	      archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
+-	      archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
++	      archive_expsym_cmds_CXX='echo "{ global:" > $lib-ver~		 sed -e "s|$|;|" < $export_symbols >> $lib-ver~	 echo "local: *; };" >> $lib-ver~$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-version-script $wl$lib-ver'
+ 	      hardcode_libdir_flag_spec_CXX='-R$libdir'
+ 	      whole_archive_flag_spec_CXX='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
+ 	      compiler_needs_object_CXX=yes
+@@ -35193,7 +35193,7 @@ fi
+ 	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
+ 	  hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
+ 	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
+-	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
++	    archive_expsym_cmds_CXX='echo "{ global:" > $lib-ver~		 sed -e "s|$|;|" < $export_symbols >> $lib-ver~	 echo "local: *; };" >> $lib-ver~$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-version-script,$lib-ver -o $lib'
+ 	    export_dynamic_flag_spec_CXX='$wl-E'
+ 	    whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
+ 	  fi
+@@ -36749,7 +36749,7 @@ freebsd* | dragonfly* | midnightbsd*)
+   version_type=freebsd-$objformat
+   case $version_type in
+     freebsd-elf*)
+-      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
++      library_names_spec='$libname$release$shared_ext$versuffix  $libname$release$shared_ext$major	 $libname$shared_ext'			 soname_spec='$libname$release$shared_ext$major'
+       soname_spec='$libname$release$shared_ext$major'
+       need_version=no
+       need_lib_prefix=no
+@@ -37875,7 +37875,7 @@ module_expsym_cmds_FC=
+ inherit_rpath_FC=no
+ module_cmds_FC=
+ module_expsym_cmds_FC=
+-link_all_deplibs_FC=unknown
++link_all_deplibs_FC=no
+ old_archive_cmds_FC=$old_archive_cmds
+ reload_flag_FC=$reload_flag
+ reload_cmds_FC=$reload_cmds
+@@ -38775,7 +38775,7 @@ printf %s "checking whether the $compiler linker ($LD)
+   hardcode_minus_L_FC=no
+   hardcode_shlibpath_var_FC=unsupported
+   inherit_rpath_FC=no
+-  link_all_deplibs_FC=unknown
++  link_all_deplibs_FC=no
+   module_cmds_FC=
+   module_expsym_cmds_FC=
+   old_archive_from_new_cmds_FC=
+@@ -39070,7 +39070,7 @@ _LT_EOF
+ 
+     *-mlibc)
+ 	archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+-	archive_expsym_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
++	archive_expsym_cmds_FC='echo "{ global:" > $lib-ver~		 sed -e "s|$|;|" < $export_symbols >> $lib-ver~	 echo "local: *; };" >> $lib-ver~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib'
+       ;;
+ 
+     netbsd* | netbsdelf*-gnu)
+@@ -39079,7 +39079,7 @@ _LT_EOF
+ 	wlarc=
+       else
+ 	archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+-	archive_expsym_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
++	archive_expsym_cmds_FC='echo "{ global:" > $lib-ver~		 sed -e "s|$|;|" < $export_symbols >> $lib-ver~	 echo "local: *; };" >> $lib-ver~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib'
+       fi
+       ;;
+ 
+@@ -39098,7 +39098,7 @@ _LT_EOF
+ _LT_EOF
+       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ 	archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+-	archive_expsym_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
++	archive_expsym_cmds_FC='echo "{ global:" > $lib-ver~		 sed -e "s|$|;|" < $export_symbols >> $lib-ver~	 echo "local: *; };" >> $lib-ver~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib'
+       else
+ 	ld_shlibs_FC=no
+       fi
+@@ -39127,7 +39127,7 @@ _LT_EOF
+ 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ 	    hardcode_libdir_flag_spec_FC='$wl-rpath $wl$libdir'
+ 	    archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+-	    archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
++	    archive_expsym_cmds_FC='echo "{ global:" > $lib-ver~		 sed -e "s|$|;|" < $export_symbols >> $lib-ver~	 echo "local: *; };" >> $lib-ver~$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib'
+ 	  else
+ 	    ld_shlibs_FC=no
+ 	  fi
+@@ -39145,7 +39145,7 @@ _LT_EOF
+     *)
+       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
+ 	archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
+-	archive_expsym_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
++	archive_expsym_cmds_FC='echo "{ global:" > $lib-ver~		 sed -e "s|$|;|" < $export_symbols >> $lib-ver~	 echo "local: *; };" >> $lib-ver~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$lib-ver -o $lib'
+       else
+ 	ld_shlibs_FC=no
+       fi
+@@ -39757,7 +39757,7 @@ printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
+ 	hardcode_direct_absolute_FC=yes
+ 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
+ 	  archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
+-	  archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
++	  archive_expsym_cmds_FC='echo "{ global:" > $lib-ver~		 sed -e "s|$|;|" < $export_symbols >> $lib-ver~	 echo "local: *; };" >> $lib-ver~$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-version-script,$lib-ver'
+ 	  hardcode_libdir_flag_spec_FC='$wl-rpath,$libdir'
+ 	  export_dynamic_flag_spec_FC='$wl-E'
+ 	else
+@@ -40454,7 +40454,7 @@ freebsd* | dragonfly* | midnightbsd*)
+   version_type=freebsd-$objformat
+   case $version_type in
+     freebsd-elf*)
+-      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
++      library_names_spec='$libname$release$shared_ext$versuffix  $libname$release$shared_ext$major	 $libname$shared_ext'			 soname_spec='$libname$release$shared_ext$major'
+       soname_spec='$libname$release$shared_ext$major'
+       need_version=no
+       need_lib_prefix=no
+@@ -44161,15 +44161,15 @@ if test x"${with_mpi}" = x"yes"; then
  
  if test x"${with_mpi}" = x"yes"; then
    if test x"${enable_openmp}" = x"yes"; then
diff --git a/math/elpa/files/patch-fdep_fortran__dependencies.mk b/math/elpa/files/patch-fdep_fortran__dependencies.mk
new file mode 100644
index 000000000000..352fab503658
--- /dev/null
+++ b/math/elpa/files/patch-fdep_fortran__dependencies.mk
@@ -0,0 +1,17 @@
+--- fdep/fortran_dependencies.mk.orig	2026-04-10 00:39:59 UTC
++++ fdep/fortran_dependencies.mk
+@@ -64,12 +64,12 @@ $(call modinfo_name,$1,$2,$3,use): $1 $(dir $1)$(am__d
+ define module_targets
+ $(eval _$(3)_use_mods += $(call modinfo_name,$1,$2,$3,use))
+ $(call modinfo_name,$1,$2,$3,use): $1 $(dir $1)$(am__dirstamp)
+-	$(call _f90_verbose,F90 USE  [$3] $$<)$(FORTRAN_CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $($p_CPPFLAGS) $(CPPFLAGS) -o /dev/stdout $$< | \
++	$(call _f90_verbose,F90 USE  [$3] $$<)$(FORTRAN_CPP) $(DEFS) $(DEFAULT_INCLUDES) -I$(abs_builddir) $(INCLUDES) $($p_CPPFLAGS) $(CPPFLAGS) -o /dev/stdout $$< | \
+ 		grep -i -o '^ *use [^ ,!:]*' | sed 's/^[[:space:]]*//;' | tr '[:upper:]' '[:lower:]' | sort -u > $$@
+ 
+ $(eval _$(3)_def_mods += $(call modinfo_name,$1,$2,$3,def))
+ $(call modinfo_name,$1,$2,$3,def): $1 $(dir $1)$(am__dirstamp)
+-	$(call _f90_verbose,F90 MOD  [$3] $$<)$(FORTRAN_CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $($p_CPPFLAGS) $(CPPFLAGS) -o /dev/stdout $$< | \
++	$(call _f90_verbose,F90 MOD  [$3] $$<)$(FORTRAN_CPP) $(DEFS) $(DEFAULT_INCLUDES) -I$(abs_builddir) $(INCLUDES) $($p_CPPFLAGS) $(CPPFLAGS) -o /dev/stdout $$< | \
+ 		grep -i -o '^ *module [^!]*' | sed 's/^[[:space:]]*//;' | tr '[:upper:]' '[:lower:]' | grep -v "\<procedure\>\|\<intrinsic\>" > $$@ || true
+ 
+ endef
diff --git a/math/elpa/files/patch-src_elpa__api.F90 b/math/elpa/files/patch-src_elpa__api.F90
new file mode 100644
index 000000000000..b7f5c868ed37
--- /dev/null
+++ b/math/elpa/files/patch-src_elpa__api.F90
@@ -0,0 +1,48 @@
+--- src/elpa_api.F90.orig	2025-02-07 12:00:51 UTC
++++ src/elpa_api.F90
+@@ -1122,7 +1122,7 @@ module elpa_api
+     !c> // /src/elpa_api.F90    
+     !c> int elpa_init(int api_version);
+     function elpa_init(api_version) result(error) bind(C, name="elpa_init")
+-      use elpa_utilities, only : error_unit
++      use, intrinsic :: iso_fortran_env, only : error_unit
+       use, intrinsic :: iso_c_binding
+       integer(kind=c_int), intent(in), value :: api_version
+       integer(kind=c_int)                    :: error
+@@ -1194,10 +1194,18 @@ module elpa_api
+     !c_no> #endif
+ 
+     subroutine elpa_uninit(error)
++#ifdef WITH_NVIDIA_GPU_VERSION
+       use cuda_functions
++#endif
++#ifdef WITH_AMD_GPU_VERSION
+       use hip_functions
++#endif
++#ifdef WITH_OPENMP_OFFLOAD_GPU_VERSION
+       use openmp_offload_functions
++#endif
++#ifdef WITH_SYCL_GPU_VERSION
+       use sycl_functions
++#endif
+       !use elpa_gpu, only : gpuDeviceArray, gpublasHandleArray, my_stream
+       use elpa_omp
+       implicit none
+@@ -1293,7 +1301,7 @@ module elpa_api
+     !> \param   error       integer, optional: error code, which can be queried with elpa_strerr()
+     !> \result  string      string: the string representation
+     function elpa_int_value_to_string(name, value, error) result(string)
+-      use elpa_utilities, only : error_unit
++      use, intrinsic :: iso_fortran_env, only : error_unit
+       implicit none
+       character(kind=c_char, len=*), intent(in) :: name
+       integer(kind=c_int), intent(in) :: value
+@@ -1342,7 +1350,7 @@ module elpa_api
+     !> \result  value       integer: the integer representation of the string
+     function elpa_int_string_to_value(name, string, error) result(value)
+       use elpa_generated_fortran_interfaces
+-      use elpa_utilities, only : error_unit
++      use, intrinsic :: iso_fortran_env, only : error_unit
+       implicit none
+       character(kind=c_char, len=*), intent(in)         :: name
+       character(kind=c_char, len=*), intent(in), target :: string
diff --git a/math/elpa/pkg-plist b/math/elpa/pkg-plist
index fbcbee06e664..88c72956b598 100644
--- a/math/elpa/pkg-plist
+++ b/math/elpa/pkg-plist
@@ -1,19 +1,21 @@
 bin/elpa2_print_kernels
-include/elpa-2021.11.001/elpa/elpa.h
-include/elpa-2021.11.001/elpa/elpa_constants.h
-include/elpa-2021.11.001/elpa/elpa_generated.h
-include/elpa-2021.11.001/elpa/elpa_generated_c_api.h
-include/elpa-2021.11.001/elpa/elpa_generic.h
-include/elpa-2021.11.001/elpa/elpa_simd_constants.h
-include/elpa-2021.11.001/elpa/elpa_version.h
-include/elpa-2021.11.001/modules/elpa.mod
-include/elpa-2021.11.001/modules/elpa_api.mod
-include/elpa-2021.11.001/modules/elpa_constants.mod
-include/elpa-2021.11.001/src/helpers/lapack_interfaces.h
-include/elpa-2021.11.001/src/helpers/scalapack_interfaces.h
+include/elpa-2026.02.001/elpa/elpa.h
+include/elpa-2026.02.001/elpa/elpa_configured_options.h
+include/elpa-2026.02.001/elpa/elpa_constants.h
+include/elpa-2026.02.001/elpa/elpa_explicit_name.h
+include/elpa-2026.02.001/elpa/elpa_generated.h
+include/elpa-2026.02.001/elpa/elpa_generated_c_api.h
+include/elpa-2026.02.001/elpa/elpa_generic.h
+include/elpa-2026.02.001/elpa/elpa_simd_constants.h
+include/elpa-2026.02.001/elpa/elpa_version.h
+include/elpa-2026.02.001/modules/elpa.mod
+include/elpa-2026.02.001/modules/elpa_api.mod
+include/elpa-2026.02.001/modules/elpa_constants.mod
+include/elpa-2026.02.001/src/helpers/lapack_interfaces.h
+include/elpa-2026.02.001/src/helpers/scalapack_interfaces.h
 lib/libelpa.so
-lib/libelpa.so.17
-lib/libelpa.so.17.0.0
+lib/libelpa.so.19
+lib/libelpa.so.19.5.1
 libdata/pkgconfig/elpa.pc
 share/man/man1/elpa2_print_kernels.1.gz
 share/man/man3/elpa_allocate.3.gz
diff --git a/science/abinit/Makefile b/science/abinit/Makefile
index 9409e66c23d2..099a63b63abf 100644
--- a/science/abinit/Makefile
+++ b/science/abinit/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	abinit
 DISTVERSION=	10.6.5
+PORTREVISION=	1
 CATEGORIES=	science
 
 MAINTAINER=	yuri@FreeBSD.org
diff --git a/science/fleur/Makefile b/science/fleur/Makefile
index f1979c90b1e5..f2ae9e7a1853 100644
--- a/science/fleur/Makefile
+++ b/science/fleur/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	fleur
 DISTVERSION=	7.2
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	science # chemistry
 
 MAINTAINER=	yuri@FreeBSD.org


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69d8c5c2.18515.16ee9db4>