aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>2021-04-07 03:12:53 +0800
committerGitHub <noreply@github.com>2021-04-06 12:12:53 -0700
commit88f0e6a94b785f387bc714772d0e8878a2b6059a (patch)
treeccf00e7cba30e11c2c89c3bd65374d24f37ab4c4
parent1bb0fe61dfecd1450a1ff44c7fc8d424365366aa (diff)
downloadvcpkg-88f0e6a94b785f387bc714772d0e8878a2b6059a.tar.gz
vcpkg-88f0e6a94b785f387bc714772d0e8878a2b6059a.zip
[vcpkg baseline][gdal] Fix configure error on OSX (#17083)
* [gdal] Fix configure error on OSX * update version record * Revert changes * add touch command * update version record
-rw-r--r--ports/gdal/portfile.cmake7
-rw-r--r--ports/gdal/vcpkg.json2
-rw-r--r--versions/baseline.json2
-rw-r--r--versions/g-/gdal.json5
4 files changed, 14 insertions, 2 deletions
diff --git a/ports/gdal/portfile.cmake b/ports/gdal/portfile.cmake
index 2f2cae4bb..5b138f8a1 100644
--- a/ports/gdal/portfile.cmake
+++ b/ports/gdal/portfile.cmake
@@ -176,6 +176,13 @@ if (VCPKG_TARGET_IS_WINDOWS)
endif()
else()
+ # See https://github.com/microsoft/vcpkg/issues/16990
+ vcpkg_execute_required_process(
+ COMMAND touch config.rpath
+ WORKING_DIRECTORY ${SOURCE_PATH}
+ LOGNAME touch-${TARGET_TRIPLET}
+ )
+
if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
set(BUILD_DYNAMIC yes)
set(BUILD_STATIC no)
diff --git a/ports/gdal/vcpkg.json b/ports/gdal/vcpkg.json
index f04c03562..b485a2202 100644
--- a/ports/gdal/vcpkg.json
+++ b/ports/gdal/vcpkg.json
@@ -1,7 +1,7 @@
{
"name": "gdal",
"version-string": "3.1.3",
- "port-version": 3,
+ "port-version": 4,
"description": "The Geographic Data Abstraction Library for reading and writing geospatial raster and vector data.",
"homepage": "hhttps://gdal.org/",
"dependencies": [
diff --git a/versions/baseline.json b/versions/baseline.json
index eefd125a7..c8ec96e3c 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -2146,7 +2146,7 @@
},
"gdal": {
"baseline": "3.1.3",
- "port-version": 3
+ "port-version": 4
},
"gdcm": {
"baseline": "3.0.7",
diff --git a/versions/g-/gdal.json b/versions/g-/gdal.json
index ec66103c0..f53bc429f 100644
--- a/versions/g-/gdal.json
+++ b/versions/g-/gdal.json
@@ -1,6 +1,11 @@
{
"versions": [
{
+ "git-tree": "b503a5dd67c0251115346ebfc05551bc8f36c06f",
+ "version-string": "3.1.3",
+ "port-version": 4
+ },
+ {
"git-tree": "548d5f5f1ad969bf88d86c17de3ee40ebb096a2f",
"version-string": "3.1.3",
"port-version": 3