From cd610638a34a18dcfc2cd68b1dcdb7a897676ade Mon Sep 17 00:00:00 2001 From: Leander Schulten Date: Tue, 4 Jan 2022 13:58:09 +0100 Subject: [PATCH] [vtk] no absolute paths --- ports/vtk/portfile.cmake | 3 +++ ports/vtk/vcpkg.json | 2 +- versions/baseline.json | 2 +- versions/v-/vtk.json | 5 +++++ 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ports/vtk/portfile.cmake b/ports/vtk/portfile.cmake index cff5332c1fe36c..64dd5901a025df 100644 --- a/ports/vtk/portfile.cmake +++ b/ports/vtk/portfile.cmake @@ -296,6 +296,9 @@ file(REMOVE "${CURRENT_PACKAGES_DIR}/share/${PORT}/FindEXPAT.cmake") file(RENAME "${CURRENT_PACKAGES_DIR}/share/licenses" "${CURRENT_PACKAGES_DIR}/share/${PORT}/licenses") +if(EXISTS "${CURRENT_PACKAGES_DIR}/include/vtk-9.0/vtkChemistryConfigure.h") + vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/vtk-9.0/vtkChemistryConfigure.h" "${SOURCE_PATH}" "not/existing") +endif() # ============================================================================= # Usage configure_file("${CMAKE_CURRENT_LIST_DIR}/usage" "${CURRENT_PACKAGES_DIR}/share/${PORT}/usage" COPYONLY) diff --git a/ports/vtk/vcpkg.json b/ports/vtk/vcpkg.json index 2ce6162f33feba..6766f8092115b0 100644 --- a/ports/vtk/vcpkg.json +++ b/ports/vtk/vcpkg.json @@ -1,7 +1,7 @@ { "name": "vtk", "version-semver": "9.0.3-pv5.9.1", - "port-version": 5, + "port-version": 6, "description": "Software system for 3D computer graphics, image processing, and visualization", "homepage": "https://github.com/Kitware/VTK", "dependencies": [ diff --git a/versions/baseline.json b/versions/baseline.json index 03c736af0477d4..1c4897464bb657 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -7194,7 +7194,7 @@ }, "vtk": { "baseline": "9.0.3-pv5.9.1", - "port-version": 5 + "port-version": 6 }, "vtk-dicom": { "baseline": "0.8.12", diff --git a/versions/v-/vtk.json b/versions/v-/vtk.json index 36d887d4c23cee..a1dffffabcbc17 100644 --- a/versions/v-/vtk.json +++ b/versions/v-/vtk.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "4a9a03829df133347e358e94e79953ac9d91ae82", + "version-semver": "9.0.3-pv5.9.1", + "port-version": 6 + }, { "git-tree": "bd6ac57e684fd8a2234509813248f64a6cb522d5", "version-semver": "9.0.3-pv5.9.1",