pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Mar  5 06:24:21 UTC 2025

Modified Files:
        pkgsrc/devel/hdf5: Makefile.common PLIST distinfo options.mk
        pkgsrc/devel/hdf5-c++: Makefile PLIST
Added Files:
        pkgsrc/devel/hdf5/patches: patch-CMakeInstallation.cmake
            patch-config_cmake_HDFMacros.cmake
Removed Files:
        pkgsrc/devel/hdf5/patches: patch-configure

Log Message:
hdf5: updated to 1.14.6

1.14.6

This is a maintenance release with some minor new changes:

Reverted a change to the library’s handling of UTF-8 file names. A change was made in the HDF5 1.14.4 release to address some issues with the library’s handling of code pages and file paths on 
Windows. This change introduced other issues with handling UTF-8 file names that caused breakage for software using the 1.14.4 and 1.14.5 releases of HDF5.

The change has been reverted for this release and will be addressed differently in a future release.

If you use 1.14.4 or 1.14.5 and are happy with how UTF-8 file names are handled in those versions, do not update to 1.14.6.
Added support for native, i.e., built-into-the HDF5 library, zlib-ng compression. CMake find package call also finds system zlib.
Modified the CMake logic for finding the libaec compression library, a drop-in replacement for szip, for a system-installed library version.
Removed the CMake module search find_package for the szip library.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/devel/hdf5/Makefile.common
cvs rdiff -u -r1.32 -r1.33 pkgsrc/devel/hdf5/PLIST
cvs rdiff -u -r1.49 -r1.50 pkgsrc/devel/hdf5/distinfo
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/hdf5/options.mk
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/hdf5-c++/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/hdf5-c++/PLIST
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/hdf5/patches/patch-CMakeInstallation.cmake \
    pkgsrc/devel/hdf5/patches/patch-config_cmake_HDFMacros.cmake
cvs rdiff -u -r1.3 -r0 pkgsrc/devel/hdf5/patches/patch-configure

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/hdf5/Makefile.common
diff -u pkgsrc/devel/hdf5/Makefile.common:1.25 pkgsrc/devel/hdf5/Makefile.common:1.26
--- pkgsrc/devel/hdf5/Makefile.common:1.25      Thu Aug 31 11:57:27 2023
+++ pkgsrc/devel/hdf5/Makefile.common   Wed Mar  5 06:24:20 2025
@@ -1,24 +1,18 @@
-# $NetBSD: Makefile.common,v 1.25 2023/08/31 11:57:27 adam Exp $
+# $NetBSD: Makefile.common,v 1.26 2025/03/05 06:24:20 adam Exp $
 # used by devel/hdf5/Makefile
 # used by devel/hdf5-c++/Makefile
 
-DISTNAME=      hdf5-1.12.2
+DISTNAME=      hdf5-1.14.6
 CATEGORIES=    devel
-MASTER_SITES=  https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-${PKGVERSION_NOREV:R}/hdf5-${PKGVERSION_NOREV}/src/
-EXTRACT_SUFX=  .tar.bz2
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=HDFGroup/}
+GITHUB_TAG=    hdf5_${PKGVERSION_NOREV}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://www.hdfgroup.org/HDF5/
 LICENSE=       original-bsd
 
-USE_LIBTOOL=           yes
-USE_TOOLS+=            pax tr
-GNU_CONFIGURE=         yes
-CONFIGURE_ARGS+=       --with-examplesdir=${PREFIX}/share/examples/hdf5
-TEST_TARGET=           check
-
-CFLAGS.SunOS+=         -std=c99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
-CONFIGURE_ENV.SunOS+=  ac_cv_func_gettimeofday=yes
+USE_TOOLS+=    bash:run pax tr
+TEST_TARGET=   test
 
 DISTINFO_FILE= ${.CURDIR}/../../devel/hdf5/distinfo
 PATCHDIR=      ${.CURDIR}/../../devel/hdf5/patches
@@ -30,8 +24,10 @@ CHECK_PORTABILITY_SKIP=      bin/snapshot hl/
 # used by any installed tools
 CHECK_WRKREF_SKIP=     ${PREFIX}/lib/libhdf5.settings
 
-INSTALL_ENV+=          INSTALL_SCRIPT=${INSTALL_SCRIPT:Q}
+REPLACE_BASH+=         utils/subfiling_vfd/h5fuse.in
 
 post-extract:
        ${CP} ${WRKSRC}/config/freebsd ${WRKSRC}/config/netbsd
        ${CP} ${WRKSRC}/config/freebsd ${WRKSRC}/config/netbsdelf
+
+.include "../../devel/cmake/build.mk"

Index: pkgsrc/devel/hdf5/PLIST
diff -u pkgsrc/devel/hdf5/PLIST:1.32 pkgsrc/devel/hdf5/PLIST:1.33
--- pkgsrc/devel/hdf5/PLIST:1.32        Thu Aug 31 11:57:27 2023
+++ pkgsrc/devel/hdf5/PLIST     Wed Mar  5 06:24:20 2025
@@ -1,54 +1,68 @@
-@comment $NetBSD: PLIST,v 1.32 2023/08/31 11:57:27 adam Exp $
-bin/gif2h5
-bin/h52gif
+@comment $NetBSD: PLIST,v 1.33 2025/03/05 06:24:20 adam Exp $
 bin/h5cc
 bin/h5clear
 bin/h5copy
 bin/h5debug
+bin/h5delete
 bin/h5diff
 bin/h5dump
 bin/h5format_convert
+bin/h5fuse
+${PLIST.hl}bin/h5hlcc
 bin/h5import
 bin/h5jam
 bin/h5ls
 bin/h5mkgrp
 bin/h5perf_serial
-bin/h5redeploy
 bin/h5repack
 bin/h5repart
 bin/h5stat
 bin/h5unjam
 ${PLIST.hl}bin/h5watch
+bin/mirror_server
+bin/mirror_server_stop
+cmake/hdf5-config-version.cmake
+cmake/hdf5-config.cmake
+cmake/hdf5-targets-noconfig.cmake
+cmake/hdf5-targets.cmake
 include/H5ACpublic.h
 include/H5Apublic.h
 include/H5Cpublic.h
 ${PLIST.hl}include/H5DOpublic.h
 ${PLIST.hl}include/H5DSpublic.h
 include/H5Dpublic.h
+include/H5ESdevelop.h
 include/H5ESpublic.h
 include/H5Epubgen.h
 include/H5Epublic.h
 include/H5FDcore.h
+include/H5FDdevelop.h
 include/H5FDdirect.h
 include/H5FDfamily.h
 include/H5FDhdfs.h
+include/H5FDioc.h
 include/H5FDlog.h
 include/H5FDmirror.h
 include/H5FDmpi.h
 include/H5FDmpio.h
 include/H5FDmulti.h
+include/H5FDonion.h
 include/H5FDpublic.h
 include/H5FDros3.h
+include/H5FDs3comms.h
 include/H5FDsec2.h
 include/H5FDsplitter.h
 include/H5FDstdio.h
+include/H5FDsubfiling.h
 include/H5FDwindows.h
 include/H5Fpublic.h
 include/H5Gpublic.h
 ${PLIST.hl}include/H5IMpublic.h
+include/H5Idevelop.h
 include/H5Ipublic.h
 ${PLIST.hl}include/H5LDpublic.h
 ${PLIST.hl}include/H5LTpublic.h
+include/H5Ldevelop.h
 include/H5Lpublic.h
 include/H5MMpublic.h
 include/H5Mpublic.h
@@ -60,85 +74,36 @@ include/H5Ppublic.h
 include/H5Rpublic.h
 include/H5Spublic.h
 ${PLIST.hl}include/H5TBpublic.h
+include/H5TSdevelop.h
+include/H5Tdevelop.h
 include/H5Tpublic.h
 include/H5VLconnector.h
 include/H5VLconnector_passthru.h
 include/H5VLnative.h
 include/H5VLpassthru.h
 include/H5VLpublic.h
+include/H5Zdevelop.h
 include/H5Zpublic.h
 include/H5api_adpt.h
+include/H5encode.h
 include/H5overflow.h
 include/H5pubconf.h
 include/H5public.h
 include/H5version.h
 include/hdf5.h
 ${PLIST.hl}include/hdf5_hl.h
-lib/libhdf5.la
+lib/libhdf5.a
 lib/libhdf5.settings
-${PLIST.hl}lib/libhdf5_hl.la
-share/examples/hdf5/README
-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_vds-eiger.c
-share/examples/hdf5/c/h5_vds-exc.c
-share/examples/hdf5/c/h5_vds-exclim.c
-share/examples/hdf5/c/h5_vds-percival-unlim-maxmin.c
-share/examples/hdf5/c/h5_vds-percival-unlim.c
-share/examples/hdf5/c/h5_vds-percival.c
-share/examples/hdf5/c/h5_vds-simpleIO.c
-share/examples/hdf5/c/h5_vds.c
-share/examples/hdf5/c/h5_write.c
-share/examples/hdf5/c/ph5_filtered_writes.c
-share/examples/hdf5/c/ph5_filtered_writes_no_sel.c
-share/examples/hdf5/c/ph5example.c
-share/examples/hdf5/c/run-c-ex.sh
-${PLIST.hl}share/examples/hdf5/hl/c/ex_ds1.c
-${PLIST.hl}share/examples/hdf5/hl/c/ex_image1.c
-${PLIST.hl}share/examples/hdf5/hl/c/ex_image2.c
-${PLIST.hl}share/examples/hdf5/hl/c/ex_lite1.c
-${PLIST.hl}share/examples/hdf5/hl/c/ex_lite2.c
-${PLIST.hl}share/examples/hdf5/hl/c/ex_lite3.c
-${PLIST.hl}share/examples/hdf5/hl/c/ex_table_01.c
-${PLIST.hl}share/examples/hdf5/hl/c/ex_table_02.c
-${PLIST.hl}share/examples/hdf5/hl/c/ex_table_03.c
-${PLIST.hl}share/examples/hdf5/hl/c/ex_table_04.c
-${PLIST.hl}share/examples/hdf5/hl/c/ex_table_05.c
-${PLIST.hl}share/examples/hdf5/hl/c/ex_table_06.c
-${PLIST.hl}share/examples/hdf5/hl/c/ex_table_07.c
-${PLIST.hl}share/examples/hdf5/hl/c/ex_table_08.c
-${PLIST.hl}share/examples/hdf5/hl/c/ex_table_09.c
-${PLIST.hl}share/examples/hdf5/hl/c/ex_table_10.c
-${PLIST.hl}share/examples/hdf5/hl/c/ex_table_11.c
-${PLIST.hl}share/examples/hdf5/hl/c/ex_table_12.c
-${PLIST.hl}share/examples/hdf5/hl/c/image24pixel.txt
-${PLIST.hl}share/examples/hdf5/hl/c/image8.txt
-${PLIST.hl}share/examples/hdf5/hl/c/pal_rgb.h
-${PLIST.hl}share/examples/hdf5/hl/c/ptExampleFL.c
-${PLIST.hl}share/examples/hdf5/hl/c/run-hlc-ex.sh
-${PLIST.hl}share/examples/hdf5/hl/run-hl-ex.sh
-share/examples/hdf5/run-all-ex.sh
+lib/libhdf5.so
+lib/libhdf5.so.310
+lib/libhdf5.so.310.5.1
+${PLIST.hl}lib/libhdf5_hl.a
+${PLIST.hl}lib/libhdf5_hl.so
+${PLIST.hl}lib/libhdf5_hl.so.310
+${PLIST.hl}lib/libhdf5_hl.so.310.0.6
+lib/libhdf5_tools.a
+lib/libhdf5_tools.so
+lib/libhdf5_tools.so.310
+lib/libhdf5_tools.so.310.0.6
+lib/pkgconfig/hdf5.pc
+${PLIST.hl}lib/pkgconfig/hdf5_hl.pc

Index: pkgsrc/devel/hdf5/distinfo
diff -u pkgsrc/devel/hdf5/distinfo:1.49 pkgsrc/devel/hdf5/distinfo:1.50
--- pkgsrc/devel/hdf5/distinfo:1.49     Thu Aug 31 11:57:27 2023
+++ pkgsrc/devel/hdf5/distinfo  Wed Mar  5 06:24:20 2025
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.49 2023/08/31 11:57:27 adam Exp $
+$NetBSD: distinfo,v 1.50 2025/03/05 06:24:20 adam Exp $
 
-BLAKE2s (hdf5-1.12.2.tar.bz2) = 9931677c73571618dd14d0c18a6004e443500a005eef83fccff216395dd4fd85
-SHA512 (hdf5-1.12.2.tar.bz2) = cbb4663570de76b11adb6bf62cfdb754371d31eeab04691479a5764a45207a9c1309665ab80f51c63a4b9b87354f9cbe6835cef506a9fd554d142c6d2bec21e5
-Size (hdf5-1.12.2.tar.bz2) = 10494264 bytes
-SHA1 (patch-configure) = e7f141d54c39cbee2f7d703ab7d6ff582158904e
+BLAKE2s (hdf5-1.14.6.tar.gz) = a3b5f6b29f66b76a58bb1a3991063483066025cdb85f02b12b938dae281f665d
+SHA512 (hdf5-1.14.6.tar.gz) = f3907abb530c4818cd9c0eb78b43073f3133260baa008ed52478e50e6bf9f1520365882acba21e0206e72c37c3e564d450def4edc3d2eef46275a41a2ad3f34b
+Size (hdf5-1.14.6.tar.gz) = 39195022 bytes
+SHA1 (patch-CMakeInstallation.cmake) = 666188c584e678719cf2beb0f939e1bfd611e77d
+SHA1 (patch-config_cmake_HDFMacros.cmake) = 5582194110ed12f3f96b84d1ede22267c00598db
 SHA1 (patch-tools_test_h5dump_testh5dump.sh.in) = 97c70174d10e6e3671975cf3b09c74add27ce9c5
 SHA1 (patch-tools_test_h5repack_h5repack.sh.in) = 7e6f3ce52d4d282f341a93ff4c8231ec8c04a37c

Index: pkgsrc/devel/hdf5/options.mk
diff -u pkgsrc/devel/hdf5/options.mk:1.12 pkgsrc/devel/hdf5/options.mk:1.13
--- pkgsrc/devel/hdf5/options.mk:1.12   Mon Dec 18 15:53:27 2023
+++ pkgsrc/devel/hdf5/options.mk        Wed Mar  5 06:24:20 2025
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.12 2023/12/18 15:53:27 thor Exp $
+# $NetBSD: options.mk,v 1.13 2025/03/05 06:24:20 adam Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.hdf5
 PKG_SUPPORTED_OPTIONS= szip threads hdf5-unsafe-threads
@@ -14,7 +14,8 @@ CONFIGURE_ARGS+=      --with-szlib
 # Threadsafe API is incompatible with high-level and C++ APIs.
 PLIST_VARS+=   hl
 .if !empty(PKG_OPTIONS:Mthreads)
-CONFIGURE_ARGS+=       --enable-threadsafe --disable-hl
+CMAKE_CONFIGURE_ARGS+= -DHDF5_BUILD_HL_LIB=OFF # why?
+CMAKE_CONFIGURE_ARGS+= -DHDF5_ENABLE_THREADSAFE=ON
 .include "../../mk/pthread.buildlink3.mk"
 .else
 PLIST.hl=      yes
@@ -23,6 +24,6 @@ PLIST.hl=     yes
 # You can still enable threads if you are adventurous. There
 # are scientists like that. Not supported, but possible.
 .if !empty(PKG_OPTIONS:Mhdf5-unsafe-threads)
-CONFIGURE_ARGS+=       --enable-threadsafe --enable-unsupported
+CMAKE_CONFIGURE_ARGS+= -DHDF5_ENABLE_THREADSAFE=ON #--enable-unsupported
 .include "../../mk/pthread.buildlink3.mk"
 .endif

Index: pkgsrc/devel/hdf5-c++/Makefile
diff -u pkgsrc/devel/hdf5-c++/Makefile:1.9 pkgsrc/devel/hdf5-c++/Makefile:1.10
--- pkgsrc/devel/hdf5-c++/Makefile:1.9  Fri Jul 22 14:50:33 2022
+++ pkgsrc/devel/hdf5-c++/Makefile      Wed Mar  5 06:24:20 2025
@@ -1,32 +1,13 @@
-# $NetBSD: Makefile,v 1.9 2022/07/22 14:50:33 thor Exp $
+# $NetBSD: Makefile,v 1.10 2025/03/05 06:24:20 adam Exp $
 
 PKGNAME=       ${DISTNAME:S/-/-c++-/}
 COMMENT=       Hierarchical Data Format (new generation) - C++ wrappers
 
-USE_LANGUAGES=         c c++
-CONFIGURE_ARGS+=       --enable-cxx
+WRKSRC=                ${WRKDIR}/hdf5-${DISTNAME:S/-/_/}
+BUILD_DIRS+=   c++
 
-INSTALLATION_DIRS=     bin lib include
-INSTALLATION_DIRS+=    share/examples/hdf5/c++
-INSTALLATION_DIRS+=    share/examples/hdf5/hl/c++
-
-do-install:
-       ${INSTALL_SCRIPT} ${WRKSRC}/c++/src/h5c++ ${DESTDIR}/${PREFIX}/bin/
-       ${LIBTOOL} --mode=install ${INSTALL_LIB} \
-           ${WRKSRC}/c++/src/libhdf5_cpp.la ${DESTDIR}/${PREFIX}/lib/
-       ${LIBTOOL} --mode=install ${INSTALL_LIB} \
-           ${WRKSRC}/hl/c++/src/libhdf5_hl_cpp.la ${DESTDIR}/${PREFIX}/lib/
-       ${INSTALL_DATA} ${WRKSRC}/hl/c++/src/*.h ${DESTDIR}/${PREFIX}/include/
-       ${INSTALL_DATA} ${WRKSRC}/c++/src/*.h ${DESTDIR}/${PREFIX}/include/
-.for f in chunks.cpp compound.cpp create.cpp extend_ds.cpp \
-         h5group.cpp readdata.cpp run-c++-ex.sh writedata.cpp
-       ${INSTALL_DATA} ${WRKSRC}/c++/examples/${f} \
-           ${DESTDIR}/${PREFIX}/share/examples/hdf5/c++/
-.endfor
-.for f in ptExampleFL.cpp run-hlc++-ex.sh
-       ${INSTALL_DATA} ${WRKSRC}/hl/c++/examples/${f} \
-           ${DESTDIR}/${PREFIX}/share/examples/hdf5/hl/c++/
-.endfor
+USE_LANGUAGES=         c c++
+CMAKE_CONFIGURE_ARGS+= -DHDF5_BUILD_CPP_LIB=ON
 
 .include "../../devel/hdf5/Makefile.common"
 .include "../../devel/hdf5/buildlink3.mk"

Index: pkgsrc/devel/hdf5-c++/PLIST
diff -u pkgsrc/devel/hdf5-c++/PLIST:1.6 pkgsrc/devel/hdf5-c++/PLIST:1.7
--- pkgsrc/devel/hdf5-c++/PLIST:1.6     Sat Mar 14 23:09:48 2020
+++ pkgsrc/devel/hdf5-c++/PLIST Wed Mar  5 06:24:20 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2020/03/14 23:09:48 bacon Exp $
+@comment $NetBSD: PLIST,v 1.7 2025/03/05 06:24:20 adam Exp $
 bin/h5c++
 include/H5AbstractDs.h
 include/H5Alltypes.h
@@ -32,20 +32,12 @@ include/H5Library.h
 include/H5Location.h
 include/H5Object.h
 include/H5OcreatProp.h
-include/H5PacketTable.h
 include/H5PredType.h
 include/H5PropList.h
 include/H5StrType.h
 include/H5VarLenType.h
-lib/libhdf5_cpp.la
-lib/libhdf5_hl_cpp.la
-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++/readdata.cpp
-share/examples/hdf5/c++/run-c++-ex.sh
-share/examples/hdf5/c++/writedata.cpp
-share/examples/hdf5/hl/c++/ptExampleFL.cpp
-share/examples/hdf5/hl/c++/run-hlc++-ex.sh
+lib/libhdf5_cpp.a
+lib/libhdf5_cpp.so
+lib/libhdf5_cpp.so.310
+lib/libhdf5_cpp.so.310.0.6
+lib/pkgconfig/hdf5_cpp.pc

Added files:

Index: pkgsrc/devel/hdf5/patches/patch-CMakeInstallation.cmake
diff -u /dev/null pkgsrc/devel/hdf5/patches/patch-CMakeInstallation.cmake:1.1
--- /dev/null   Wed Mar  5 06:24:21 2025
+++ pkgsrc/devel/hdf5/patches/patch-CMakeInstallation.cmake     Wed Mar  5 06:24:20 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-CMakeInstallation.cmake,v 1.1 2025/03/05 06:24:20 adam Exp $
+
+Do not install files in top-level directory.
+
+--- CMakeInstallation.cmake.orig       2025-03-03 16:53:10.157608369 +0000
++++ CMakeInstallation.cmake
+@@ -189,7 +189,7 @@ endif ()
+ #-----------------------------------------------------------------------------
+ # Add Document File(s) to CMake Install
+ #-----------------------------------------------------------------------------
+-if (NOT HDF5_EXTERNALLY_CONFIGURED)
++if (FALSE)
+   install (
+       FILES ${HDF5_SOURCE_DIR}/COPYING
+       DESTINATION ${HDF5_INSTALL_DATA_DIR}
Index: pkgsrc/devel/hdf5/patches/patch-config_cmake_HDFMacros.cmake
diff -u /dev/null pkgsrc/devel/hdf5/patches/patch-config_cmake_HDFMacros.cmake:1.1
--- /dev/null   Wed Mar  5 06:24:21 2025
+++ pkgsrc/devel/hdf5/patches/patch-config_cmake_HDFMacros.cmake        Wed Mar  5 06:24:20 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-config_cmake_HDFMacros.cmake,v 1.1 2025/03/05 06:24:20 adam Exp $
+
+On Darwin, do not install binaries with @rpath.
+
+--- config/cmake/HDFMacros.cmake.orig  2025-03-03 17:00:50.920692184 +0000
++++ config/cmake/HDFMacros.cmake
+@@ -466,7 +466,7 @@ macro (HDF_DIR_PATHS package_prefix)
+   # add the automatically determined parts of the RPATH
+   # which point to directories outside the build tree to the install RPATH
+   set (CMAKE_BUILD_WITH_INSTALL_RPATH ON)
+-  if (APPLE)
++  if (FALSE)
+     set (CMAKE_INSTALL_NAME_DIR "@rpath")
+     set (CMAKE_INSTALL_RPATH
+         "@executable_path/../${${package_prefix}_INSTALL_LIB_DIR}"



Home | Main Index | Thread Index | Old Index