git: e0a8544ee69c - main - science/ALPSCore: Update 2.3.2 => 2.3.3

From: Älven <alven_at_FreeBSD.org>
Date: Fri, 14 Aug 2026 13:55:58 UTC
The branch main has been updated by alven:

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

commit e0a8544ee69cc84b65f90c2604ab3403d33902f0
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2026-08-12 19:38:55 +0000
Commit:     Älven <alven@FreeBSD.org>
CommitDate: 2026-08-14 13:55:28 +0000

    science/ALPSCore: Update 2.3.2 => 2.3.3
    
    * Clarify LICENSE
    * Fix build with current HDF5 versions instead of hardcoded one
    
    PR:                     297478
    Co-authored by:         alven@
    Approved by:            db@, yuri@ (Mentors, implicit)
---
 science/ALPSCore/Makefile | 15 +++++++--------
 science/ALPSCore/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/science/ALPSCore/Makefile b/science/ALPSCore/Makefile
index 40d02da4d455..1896b8558c5f 100644
--- a/science/ALPSCore/Makefile
+++ b/science/ALPSCore/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ALPSCore
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.3.2
+DISTVERSION=	2.3.3
 CATEGORIES=	science
 
 MAINTAINER=	alven@FreeBSD.org
@@ -8,7 +8,7 @@ COMMENT=	Generic algorithms and utilities for condensed matter physics
 WWW=		https://alpscore.org/ \
 		https://github.com/ALPSCore/ALPSCore/
 
-LICENSE=	GPLv2
+LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.TXT
 
 BUILD_DEPENDS=	boost-libs>=0:devel/boost-libs
@@ -32,16 +32,15 @@ OPTIONS_DEFAULT=	OPENMPI
 DOXYGEN_IMPLIES=	DOCS
 DOXYGEN_BUILD_DEPENDS=	doxygen:devel/doxygen
 DOXYGEN_CMAKE_BOOL=	Documentation
-OPENMPI_LIB_DEPENDS=	libgcc_s.so:lang/gcc${GCC_DEFAULT} \
-			libmpi_cxx.so:net/openmpi4
+OPENMPI_USES=		mpi:openmpi
 OPENMPI_CMAKE_BOOL=	ENABLE_MPI
 
 .include <bsd.port.pre.mk>
 
-.if ${PORT_OPTIONS:MOPENMPI}
-CC=	${LOCALBASE}/mpi/openmpi/bin/mpicc
-CXX=	${LOCALBASE}/mpi/openmpi/bin/mpicxx
-.endif
+# Fix build with current HDF5 versions instead of hardcoded one
+post-patch:
+	${REINPLACE_CMD} -e '/find_package/s,HDF5 1.10.2 REQUIRED,HDF5 CONFIG REQUIRED,g' \
+		${WRKSRC}/common/cmake/ALPSCommonModuleDefinitions.cmake
 
 post-install-DOXYGEN-on:
 	${RM} ${STAGEDIR}${DOCSDIR}/.tag
diff --git a/science/ALPSCore/distinfo b/science/ALPSCore/distinfo
index 444a26ba83fd..0a720eeb5a4d 100644
--- a/science/ALPSCore/distinfo
+++ b/science/ALPSCore/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1743281566
-SHA256 (ALPSCore-ALPSCore-v2.3.2_GH0.tar.gz) = bd9b5af0a33acc825ffedfaa0bf794a420ab2b9b50f6a4e634ecbde43ae9cc24
-SIZE (ALPSCore-ALPSCore-v2.3.2_GH0.tar.gz) = 1432377
+TIMESTAMP = 1785229796
+SHA256 (ALPSCore-ALPSCore-v2.3.3_GH0.tar.gz) = 2ed251001fbf1889aef8cf01ee80f87e95e25edb3d6b561d053ec4ddbd27d6b2
+SIZE (ALPSCore-ALPSCore-v2.3.3_GH0.tar.gz) = 1312338