git: dc7857d77b14 - main - science/silo: Change LIB_DEPENDS from hdf5 to hdf5-110

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

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

commit dc7857d77b149f7c30d3760b8dc3cc5caa7a4da4
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-07-18 12:50:25 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-07-18 12:51:29 +0000

    science/silo: Change LIB_DEPENDS from hdf5 to hdf5-110
    
    - Bump PORTREVISION for dependency change
---
 science/silo/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/science/silo/Makefile b/science/silo/Makefile
index d9a025fcf2c1..4fb942697d17 100644
--- a/science/silo/Makefile
+++ b/science/silo/Makefile
@@ -30,6 +30,7 @@ FORTRAN_CONFIGURE_ENABLE=	fortran
 FORTRAN_USES=			fortran
 
 HDF5_LIB_DEPENDS=		libhdf5.so:science/hdf5
+HDF5_CFLAGS=			-DH5_USE_110_API=1
 HDF5_CONFIGURE_ON=		--with-hdf5=${LOCALBASE}/include,${LOCALBASE}/lib
 HDF5_PLIST_SUB=			SUFX_HDF5="h5"
 HDF5_PLIST_SUB_OFF=		SUFX_HDF5=""