diff --git a/ports/gdal/portfile.cmake b/ports/gdal/portfile.cmake index 7acf1640de654d..cfa51dfdcfb787 100644 --- a/ports/gdal/portfile.cmake +++ b/ports/gdal/portfile.cmake @@ -147,6 +147,8 @@ if(NOT bin_files) ) endif() +vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/cpl_config.h" "#define GDAL_PREFIX \"${CURRENT_PACKAGES_DIR}\"" "") + file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") file(INSTALL "${SOURCE_PATH}/LICENSE.TXT" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/ports/gdal/vcpkg.json b/ports/gdal/vcpkg.json index d42510690f8f77..56cc960fcea9bc 100644 --- a/ports/gdal/vcpkg.json +++ b/ports/gdal/vcpkg.json @@ -1,7 +1,7 @@ { "name": "gdal", "version-semver": "3.5.1", - "port-version": 2, + "port-version": 3, "description": "The Geographic Data Abstraction Library for reading and writing geospatial raster and vector data", "homepage": "https://gdal.org", "license": null, diff --git a/versions/baseline.json b/versions/baseline.json index 6ab0ac49dd0744..07b34782ad75a9 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2470,7 +2470,7 @@ }, "gdal": { "baseline": "3.5.1", - "port-version": 2 + "port-version": 3 }, "gdcm": { "baseline": "3.0.12", diff --git a/versions/g-/gdal.json b/versions/g-/gdal.json index 3e8f87955a875a..0fedc3aa8e23b6 100644 --- a/versions/g-/gdal.json +++ b/versions/g-/gdal.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "a7d7e8b112055c7374cbf2e53172eb1832ddb73b", + "version-semver": "3.5.1", + "port-version": 3 + }, { "git-tree": "4d114225017db64685132cde062afde8ec8cbc9b", "version-semver": "3.5.1",