diff --git a/ports/curl/portfile.cmake b/ports/curl/portfile.cmake index 73f5aece46..65ece00671 100644 --- a/ports/curl/portfile.cmake +++ b/ports/curl/portfile.cmake @@ -76,6 +76,11 @@ if(VCPKG_TARGET_IS_WINDOWS) list(APPEND OPTIONS -DENABLE_UNICODE=ON) endif() +if(VCPKG_TARGET_IS_APPLE AND + ("openssl" IN_LIST FEATURES OR "gnutls" IN_LIST FEATURES)) + list(APPEND OPTIONS -DUSE_APPLE_SECTRUST=ON) +endif() + vcpkg_find_acquire_program(PKGCONFIG) set(ENV{PKG_CONFIG} "${PKGCONFIG}") diff --git a/ports/curl/vcpkg.json b/ports/curl/vcpkg.json index 1f06089d9a..b4b3d1677e 100644 --- a/ports/curl/vcpkg.json +++ b/ports/curl/vcpkg.json @@ -1,7 +1,7 @@ { "name": "curl", "version": "8.20.0", - "port-version": 1, + "port-version": 2, "description": "A library for transferring data with URLs", "homepage": "https://curl.se/", "license": "curl AND ISC AND BSD-3-Clause", diff --git a/versions/baseline.json b/versions/baseline.json index 555989799a..f80927923f 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2278,7 +2278,7 @@ }, "curl": { "baseline": "8.20.0", - "port-version": 1 + "port-version": 2 }, "curlcpp": { "baseline": "3.1", diff --git a/versions/c-/curl.json b/versions/c-/curl.json index 9fc38e8d86..fc6bb81971 100644 --- a/versions/c-/curl.json +++ b/versions/c-/curl.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "7c6e682ec4c0c5f5e8359caeb08cd26830fbf276", + "version": "8.20.0", + "port-version": 2 + }, { "git-tree": "94fb76b63c2f0251b57301ba9842ebe9ff2b6164", "version": "8.20.0",