diff --git a/ports/hdf5/portfile.cmake b/ports/hdf5/portfile.cmake index 71811c04feb716..7da903a8ee7f88 100644 --- a/ports/hdf5/portfile.cmake +++ b/ports/hdf5/portfile.cmake @@ -97,12 +97,10 @@ foreach(file IN LISTS pc_files) endif() endforeach() -file(READ "${CURRENT_PACKAGES_DIR}/share/hdf5/hdf5-config.cmake" contents) -string(REPLACE [[${HDF5_PACKAGE_NAME}_TOOLS_DIR "${PACKAGE_PREFIX_DIR}/bin"]] - [[${HDF5_PACKAGE_NAME}_TOOLS_DIR "${PACKAGE_PREFIX_DIR}/tools/hdf5"]] - contents ${contents} +vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/hdf5/hdf5-config.cmake" + [[${HDF5_PACKAGE_NAME}_TOOLS_DIR "${PACKAGE_PREFIX_DIR}/bin"]] + [[${HDF5_PACKAGE_NAME}_TOOLS_DIR "${PACKAGE_PREFIX_DIR}/tools/hdf5"]] ) -file(WRITE "${CURRENT_PACKAGES_DIR}/share/hdf5/hdf5-config.cmake" ${contents}) set(HDF5_TOOLS "") if("tools" IN_LIST FEATURES) diff --git a/ports/hdf5/vcpkg.json b/ports/hdf5/vcpkg.json index ea919e911bcd2e..fbc9fdf25bc02f 100644 --- a/ports/hdf5/vcpkg.json +++ b/ports/hdf5/vcpkg.json @@ -1,7 +1,7 @@ { "name": "hdf5", "version": "1.14.4.3", - "port-version": 3, + "port-version": 4, "description": "HDF5 is a data model, library, and file format for storing and managing data", "homepage": "https://www.hdfgroup.org/downloads/hdf5/", "license": "BSD-3-Clause", diff --git a/versions/baseline.json b/versions/baseline.json index 9fbdb6bf34425f..a6791e08862318 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -3442,7 +3442,7 @@ }, "hdf5": { "baseline": "1.14.4.3", - "port-version": 3 + "port-version": 4 }, "hdr-histogram": { "baseline": "0.11.8", diff --git a/versions/h-/hdf5.json b/versions/h-/hdf5.json index 84ff7f550547e2..8020ca467a7ccc 100644 --- a/versions/h-/hdf5.json +++ b/versions/h-/hdf5.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "785924f8bc52431728d3045a70739ae4e12f9937", + "version": "1.14.4.3", + "port-version": 4 + }, { "git-tree": "865f6593cb402e937d842ad41cda9e5aa06b0230", "version": "1.14.4.3",