This diff updates hdf5 to 1.14.6 an enables the use of libaec. I've (compile) tested these direct users of hdf5:
cad/freecad geo/gdal graphics/vtk math/armadillo math/cgns math/flann math/labplot math/matio math/med math/netcdf (update to 4.9.3 pending) math/octave math/py-h5py math/py-netcdf4 math/py-tables There might be more ports which start to pick up libaec leading to possible conflicts with szlib, so I am looking for OKs to this update. Index: Makefile =================================================================== RCS file: /cvs/ports/math/hdf5/Makefile,v retrieving revision 1.28 diff -u -p -r1.28 Makefile --- Makefile 10 Jan 2025 18:03:44 -0000 1.28 +++ Makefile 29 Jul 2025 06:30:47 -0000 @@ -3,19 +3,18 @@ ONLY_FOR_ARCHS = ${GCC49_ARCHS} COMMENT = Hierarchical Data Format 5 Technology suite -V = 1.14.4.3 +V = 1.14.6 DISTNAME = hdf5-${V} GH_ACCOUNT = HDFGroup GH_PROJECT = hdf5 GH_TAGNAME = ${DISTNAME:S/-/_/g} -REVISION = 0 -SHARED_LIBS += hdf5 7.0 # 314.0 -SHARED_LIBS += hdf5_cpp 11.0 # 310.4 -SHARED_LIBS += hdf5_hl 6.0 # 310.4 -SHARED_LIBS += hdf5_hl_cpp 7.0 # 3104. -SHARED_LIBS += hdf5_fortran 4.0 # 313.0 -SHARED_LIBS += hdf5hl_fortran 3.0 # 310.4 +SHARED_LIBS += hdf5 8.0 # 315.1 +SHARED_LIBS += hdf5_cpp 12.0 # 310.6 +SHARED_LIBS += hdf5_hl 7.0 # 310.6 +SHARED_LIBS += hdf5_hl_cpp 8.0 # 310.6 +SHARED_LIBS += hdf5_fortran 5.0 # 313.2 +SHARED_LIBS += hdf5hl_fortran 4.0 # 310.6 CATEGORIES = math @@ -33,13 +32,15 @@ COMPILER = base-clang ports-gcc base-gc # for h5fuse.sh RUN_DEPENDS += shells/bash +BUILD_DEPENDS += archivers/libaec + MODULES = fortran SEPARATE_BUILD = Yes CONFIGURE_STYLE = gnu CONFIGURE_ARGS = --enable-cxx \ --enable-fortran \ FC=egfortran \ - --with-examplesdir=${PREFIX}/share/examples/hdf5 + --with-szlib=${PREFIX}/include,${PREFIX}/lib post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/hdf5 Index: distinfo =================================================================== RCS file: /cvs/ports/math/hdf5/distinfo,v retrieving revision 1.15 diff -u -p -r1.15 distinfo --- distinfo 6 Sep 2024 14:21:12 -0000 1.15 +++ distinfo 29 Jul 2025 06:30:47 -0000 @@ -1,2 +1,2 @@ -SHA256 (hdf5-1.14.4.3.tar.gz) = aQwdt7oP7U/6xhcJI2Z1/9mdldGR6JIO55xY1+fqM2E= -SIZE (hdf5-1.14.4.3.tar.gz) = 36923567 +SHA256 (hdf5-1.14.6.tar.gz) = Ce4cZxqHQBpSAcBhBmUPYrre6lo7OUHpseLh4IMXNX8= +SIZE (hdf5-1.14.6.tar.gz) = 39195022 Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/math/hdf5/pkg/PLIST,v retrieving revision 1.12 diff -u -p -r1.12 PLIST --- pkg/PLIST 6 Sep 2024 14:21:12 -0000 1.12 +++ pkg/PLIST 29 Jul 2025 06:30:47 -0000 @@ -176,108 +176,3 @@ lib/libhdf5hl_fortran.la @lib lib/libhdf5hl_fortran.so.${LIBhdf5hl_fortran_VERSION} share/doc/hdf5/ share/doc/hdf5/COPYING -share/examples/hdf5/ -share/examples/hdf5/README -share/examples/hdf5/c/ -share/examples/hdf5/c++/ -share/examples/hdf5/c++/chunks.cpp -share/examples/hdf5/c++/compound.cpp -share/examples/hdf5/c++/create.cpp -share/examples/hdf5/c++/extend_ds.cpp -share/examples/hdf5/c++/h5group.cpp -share/examples/hdf5/c++/h5tutr_cmprss.cpp -share/examples/hdf5/c++/h5tutr_crtatt.cpp -share/examples/hdf5/c++/h5tutr_crtdat.cpp -share/examples/hdf5/c++/h5tutr_crtgrp.cpp -share/examples/hdf5/c++/h5tutr_crtgrpar.cpp -share/examples/hdf5/c++/h5tutr_crtgrpd.cpp -share/examples/hdf5/c++/h5tutr_extend.cpp -share/examples/hdf5/c++/h5tutr_rdwt.cpp -share/examples/hdf5/c++/h5tutr_subset.cpp -share/examples/hdf5/c++/readdata.cpp -share/examples/hdf5/c++/run-c++-ex.sh -share/examples/hdf5/c++/writedata.cpp -share/examples/hdf5/c/h5_attribute.c -share/examples/hdf5/c/h5_chunk_read.c -share/examples/hdf5/c/h5_cmprss.c -share/examples/hdf5/c/h5_compound.c -share/examples/hdf5/c/h5_crtatt.c -share/examples/hdf5/c/h5_crtdat.c -share/examples/hdf5/c/h5_crtgrp.c -share/examples/hdf5/c/h5_crtgrpar.c -share/examples/hdf5/c/h5_crtgrpd.c -share/examples/hdf5/c/h5_debug_trace.c -share/examples/hdf5/c/h5_drivers.c -share/examples/hdf5/c/h5_elink_unix2win.c -share/examples/hdf5/c/h5_extend.c -share/examples/hdf5/c/h5_extend_write.c -share/examples/hdf5/c/h5_extlink.c -share/examples/hdf5/c/h5_group.c -share/examples/hdf5/c/h5_mount.c -share/examples/hdf5/c/h5_rdwt.c -share/examples/hdf5/c/h5_read.c -share/examples/hdf5/c/h5_ref2reg_deprec.c -share/examples/hdf5/c/h5_ref_compat.c -share/examples/hdf5/c/h5_ref_extern.c -share/examples/hdf5/c/h5_reference_deprec.c -share/examples/hdf5/c/h5_select.c -share/examples/hdf5/c/h5_shared_mesg.c -share/examples/hdf5/c/h5_subset.c -share/examples/hdf5/c/h5_write.c -share/examples/hdf5/c/run-c-ex.sh -share/examples/hdf5/fortran/ -share/examples/hdf5/fortran/compound.f90 -share/examples/hdf5/fortran/compound_complex_fortran2003.f90 -share/examples/hdf5/fortran/compound_fortran2003.f90 -share/examples/hdf5/fortran/h5_cmprss.f90 -share/examples/hdf5/fortran/h5_crtatt.f90 -share/examples/hdf5/fortran/h5_crtdat.f90 -share/examples/hdf5/fortran/h5_crtgrp.f90 -share/examples/hdf5/fortran/h5_crtgrpar.f90 -share/examples/hdf5/fortran/h5_crtgrpd.f90 -share/examples/hdf5/fortran/h5_extend.f90 -share/examples/hdf5/fortran/h5_rdwt.f90 -share/examples/hdf5/fortran/h5_subset.f90 -share/examples/hdf5/fortran/hyperslab.f90 -share/examples/hdf5/fortran/mountexample.f90 -share/examples/hdf5/fortran/nested_derived_type.f90 -share/examples/hdf5/fortran/ph5example.f90 -share/examples/hdf5/fortran/refobjexample.f90 -share/examples/hdf5/fortran/refregexample.f90 -share/examples/hdf5/fortran/run-fortran-ex.sh -share/examples/hdf5/fortran/rwdset_fortran2003.f90 -share/examples/hdf5/fortran/selectele.f90 -share/examples/hdf5/hl/ -share/examples/hdf5/hl/c/ -share/examples/hdf5/hl/c++/ -share/examples/hdf5/hl/c++/ptExampleFL.cpp -share/examples/hdf5/hl/c++/run-hlc++-ex.sh -share/examples/hdf5/hl/c/ex_ds1.c -share/examples/hdf5/hl/c/ex_image1.c -share/examples/hdf5/hl/c/ex_image2.c -share/examples/hdf5/hl/c/ex_lite1.c -share/examples/hdf5/hl/c/ex_lite2.c -share/examples/hdf5/hl/c/ex_lite3.c -share/examples/hdf5/hl/c/ex_table_01.c -share/examples/hdf5/hl/c/ex_table_02.c -share/examples/hdf5/hl/c/ex_table_03.c -share/examples/hdf5/hl/c/ex_table_04.c -share/examples/hdf5/hl/c/ex_table_05.c -share/examples/hdf5/hl/c/ex_table_06.c -share/examples/hdf5/hl/c/ex_table_07.c -share/examples/hdf5/hl/c/ex_table_08.c -share/examples/hdf5/hl/c/ex_table_09.c -share/examples/hdf5/hl/c/ex_table_10.c -share/examples/hdf5/hl/c/ex_table_11.c -share/examples/hdf5/hl/c/ex_table_12.c -share/examples/hdf5/hl/c/image24pixel.txt -share/examples/hdf5/hl/c/image8.txt -share/examples/hdf5/hl/c/pal_rgb.h -share/examples/hdf5/hl/c/ptExampleFL.c -share/examples/hdf5/hl/c/run-hlc-ex.sh -share/examples/hdf5/hl/fortran/ -share/examples/hdf5/hl/fortran/ex_ds1.f90 -share/examples/hdf5/hl/fortran/exlite.f90 -share/examples/hdf5/hl/fortran/run-hlfortran-ex.sh -share/examples/hdf5/hl/run-hl-ex.sh -share/examples/hdf5/run-all-ex.sh