git: de212ce00f64 - main - science/netcdf: Update to 4.9.3

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 08 Feb 2025 17:10:23 UTC
The branch main has been updated by sunpoet:

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

commit de212ce00f64c6649d0b546e08568e4f6223d183
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-02-08 16:58:58 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-02-08 16:58:58 +0000

    science/netcdf: Update to 4.9.3
    
    Changes:        https://github.com/Unidata/netcdf-c/releases
---
 science/netcdf/Makefile              |  5 ++---
 science/netcdf/distinfo              |  6 +++---
 science/netcdf/files/patch-configure | 29 -----------------------------
 science/netcdf/pkg-plist             | 13 +++++++++++--
 4 files changed, 16 insertions(+), 37 deletions(-)

diff --git a/science/netcdf/Makefile b/science/netcdf/Makefile
index 8d0ed15cd3f3..c241bd9f7d5a 100644
--- a/science/netcdf/Makefile
+++ b/science/netcdf/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	netcdf
-PORTVERSION=	4.9.2
+PORTVERSION=	4.9.3
 DISTVERSIONPREFIX=	c-
-PORTREVISION=	1
 CATEGORIES=	science
 MASTER_SITES=	https://downloads.unidata.ucar.edu/netcdf-c/${PORTVERSION}/ \
 		LOCAL/sunpoet
@@ -21,7 +20,7 @@ LIB_DEPENDS=	libcurl.so:ftp/curl \
 USES=		gmake libtool localbase ncurses pathfix pkgconfig:run
 
 CONFIGURE_ARGS=	--disable-filter-testing --disable-libxml2 \
-		--enable-byterange --enable-dap --enable-netcdf-4
+		--enable-byterange --enable-curl --enable-dap --enable-hdf5 --enable-logging
 CPPFLAGS+=	-fPIC -DPIC
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
diff --git a/science/netcdf/distinfo b/science/netcdf/distinfo
index b16ec475946e..07b8aae288f5 100644
--- a/science/netcdf/distinfo
+++ b/science/netcdf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1683227589
-SHA256 (netcdf-c-4.9.2.tar.gz) = cf11babbbdb9963f09f55079e0b019f6d0371f52f8e1264a5ba8e9fdab1a6c48
-SIZE (netcdf-c-4.9.2.tar.gz) = 7142536
+TIMESTAMP = 1738982808
+SHA256 (netcdf-c-4.9.3.tar.gz) = a474149844e6144566673facf097fea253dc843c37bc0a7d3de047dc8adda5dd
+SIZE (netcdf-c-4.9.3.tar.gz) = 13236715
diff --git a/science/netcdf/files/patch-configure b/science/netcdf/files/patch-configure
deleted file mode 100644
index 3c679e058432..000000000000
--- a/science/netcdf/files/patch-configure
+++ /dev/null
@@ -1,29 +0,0 @@
---- configure.orig	2023-03-14 20:35:12 UTC
-+++ configure
-@@ -18321,7 +18321,7 @@ then :
-   printf %s "(cached) " >&6
- else $as_nop
-   ac_check_lib_save_LIBS=$LIBS
--LIBS="-ldl  $LIBS"
-+LIBS="$LIBS"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h.  */
- 
-@@ -18427,7 +18427,7 @@ then :
-   printf %s "(cached) " >&6
- else $as_nop
-   ac_check_lib_save_LIBS=$LIBS
--LIBS="-ldl  $LIBS"
-+LIBS="$LIBS"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h.  */
- 
-@@ -23316,7 +23316,7 @@ then :
-   printf %s "(cached) " >&6
- else $as_nop
-   ac_check_lib_save_LIBS=$LIBS
--LIBS="-ldl  $LIBS"
-+LIBS="$LIBS"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
- /* end confdefs.h.  */
- 
diff --git a/science/netcdf/pkg-plist b/science/netcdf/pkg-plist
index da6c78eef4df..2ede00ae4346 100644
--- a/science/netcdf/pkg-plist
+++ b/science/netcdf/pkg-plist
@@ -5,6 +5,14 @@ bin/ncdump
 bin/ncgen
 bin/ncgen3
 bin/ocprint
+hdf5/lib/plugin/lib__nch5bzip2.so
+hdf5/lib/plugin/lib__nch5deflate.so
+hdf5/lib/plugin/lib__nch5fletcher32.so
+hdf5/lib/plugin/lib__nch5shuffle.so
+hdf5/lib/plugin/lib__nch5szip.so
+hdf5/lib/plugin/lib__nch5zstd.so
+hdf5/lib/plugin/lib__nczhdf5filters.so
+hdf5/lib/plugin/lib__nczstdfilters.so
 include/netcdf.h
 include/netcdf_aux.h
 include/netcdf_dispatch.h
@@ -14,11 +22,12 @@ include/netcdf_filter_hdf5_build.h
 include/netcdf_json.h
 include/netcdf_mem.h
 include/netcdf_meta.h
+include/netcdf_proplist.h
 lib/libnetcdf.a
 lib/libnetcdf.settings
 lib/libnetcdf.so
-lib/libnetcdf.so.19
-lib/libnetcdf.so.19.2.2
+lib/libnetcdf.so.22
+lib/libnetcdf.so.22.1.0
 libdata/pkgconfig/netcdf.pc
 %%DOXYGEN%%%%PORTDOCS%%%%DOCSDIR%%/InstallTreeWindows.png
 %%DOXYGEN%%%%PORTDOCS%%%%DOCSDIR%%/RELEASE_NOTES.html