git: 467a1a9df795 - main - science/dakota: Fix build with HDF5 1.12.0+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 18 Jul 2022 12:52:00 UTC
The branch main has been updated by sunpoet:

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

commit 467a1a9df7953a197ec62f57ca8c520c8b8d53c2
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-07-18 12:50:22 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-07-18 12:51:28 +0000

    science/dakota: Fix build with HDF5 1.12.0+
---
 science/dakota/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/science/dakota/Makefile b/science/dakota/Makefile
index 24a2d7e2952b..7bf0b67c90a1 100644
--- a/science/dakota/Makefile
+++ b/science/dakota/Makefile
@@ -57,6 +57,7 @@ CMAKE_ARGS=	-DDakota_VERSION_SRC:STRING=${DISTVERSION} -DDakota_GIT_REVL:STRING=
 		-DMUQ_STANMATH_DIR=${WRKSRC}/stanmath \
 		-DPython_EXECUTABLE=${PYTHON_CMD}
 
+CFLAGS+=	-DH5_USE_110_API=1
 FFLAGS+=	-fallow-argument-mismatch
 LDFLAGS+=	-lexecinfo