pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/hdf5



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Oct 17 21:48:01 UTC 2026

Modified Files:
        pkgsrc/devel/hdf5: Makefile distinfo
Added Files:
        pkgsrc/devel/hdf5/patches: patch-config_cmake_hdf5-config.cmake.in

Log Message:
hdf5: fix installed cmake file

It used ZLIB::ZLIB and libaec::sz without properly making sure they
are defined.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 pkgsrc/devel/hdf5/Makefile
cvs rdiff -u -r1.50 -r1.51 pkgsrc/devel/hdf5/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/hdf5/patches/patch-config_cmake_hdf5-config.cmake.in

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
diff -u pkgsrc/devel/hdf5/Makefile:1.56 pkgsrc/devel/hdf5/Makefile:1.57
--- pkgsrc/devel/hdf5/Makefile:1.56     Thu Apr  9 07:11:41 2026
+++ pkgsrc/devel/hdf5/Makefile  Sat Oct 17 21:48:01 2026
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.56 2026/04/09 07:11:41 wiz Exp $
+# $NetBSD: Makefile,v 1.57 2026/10/17 21:48:01 wiz Exp $
 
 COMMENT=       Hierarchical Data Format (new generation)
+PKGREVISION=   1
 
 INSTALLATION_DIRS=     bin lib include
 INSTALLATION_DIRS+=    share/doc/hdf5

Index: pkgsrc/devel/hdf5/distinfo
diff -u pkgsrc/devel/hdf5/distinfo:1.50 pkgsrc/devel/hdf5/distinfo:1.51
--- pkgsrc/devel/hdf5/distinfo:1.50     Wed Mar  5 06:24:20 2025
+++ pkgsrc/devel/hdf5/distinfo  Sat Oct 17 21:48:01 2026
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.50 2025/03/05 06:24:20 adam Exp $
+$NetBSD: distinfo,v 1.51 2026/10/17 21:48:01 wiz Exp $
 
 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-config_cmake_hdf5-config.cmake.in) = 7d1d0710f1ee1df3e4a4621f8560c0a015ccf49a
 SHA1 (patch-tools_test_h5dump_testh5dump.sh.in) = 97c70174d10e6e3671975cf3b09c74add27ce9c5
 SHA1 (patch-tools_test_h5repack_h5repack.sh.in) = 7e6f3ce52d4d282f341a93ff4c8231ec8c04a37c

Added files:

Index: pkgsrc/devel/hdf5/patches/patch-config_cmake_hdf5-config.cmake.in
diff -u /dev/null pkgsrc/devel/hdf5/patches/patch-config_cmake_hdf5-config.cmake.in:1.1
--- /dev/null   Sat Oct 17 21:48:01 2026
+++ pkgsrc/devel/hdf5/patches/patch-config_cmake_hdf5-config.cmake.in   Sat Oct 17 21:48:01 2026
@@ -0,0 +1,16 @@
+$NetBSD: patch-config_cmake_hdf5-config.cmake.in,v 1.1 2026/10/17 21:48:01 wiz Exp $
+
+Make sure ZLIB::ZLIB and libaec::sz are defined.
+
+--- config/cmake/hdf5-config.cmake.in.orig     2026-10-17 21:32:04.650341389 +0000
++++ config/cmake/hdf5-config.cmake.in
+@@ -148,6 +148,9 @@ if (NOT TARGET "@HDF5_PACKAGE@")
+   if (${HDF5_PACKAGE_NAME}_ENABLE_SZIP_SUPPORT AND ${HDF5_PACKAGE_NAME}_PACKAGE_EXTLIBS)
+     include (@PACKAGE_SHARE_INSTALL_DIR@/@LIBAEC_PACKAGE_NAME@@HDF_PACKAGE_EXT@-targets.cmake)
+   endif ()
++  include(CMakeFindDependencyMacro)
++  find_dependency(ZLIB MODULE)
++  find_dependency(libaec CONFIG)
+   include (@PACKAGE_SHARE_INSTALL_DIR@/@HDF5_PACKAGE@@HDF_PACKAGE_EXT@-targets.cmake)
+ endif ()
+ 



Home | Main Index | Thread Index | Old Index