forked from apache/pulsar-client-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvcpkg-curl-patch.diff
More file actions
28 lines (26 loc) · 817 Bytes
/
vcpkg-curl-patch.diff
File metadata and controls
28 lines (26 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
diff --git a/ports/curl/portfile.cmake b/ports/curl/portfile.cmake
index 427bccb217..ddfd75d30f 100644
--- a/ports/curl/portfile.cmake
+++ b/ports/curl/portfile.cmake
@@ -62,6 +62,10 @@ if(VCPKG_TARGET_IS_WINDOWS)
list(APPEND OPTIONS -DENABLE_UNICODE=ON)
endif()
+if(VCPKG_TARGET_IS_OSX)
+ list(APPEND OPTIONS -DENABLE_IPV6=OFF)
+endif()
+
vcpkg_find_acquire_program(PKGCONFIG)
vcpkg_cmake_configure(
diff --git a/ports/curl/vcpkg.json b/ports/curl/vcpkg.json
index 31955859d0..50e619b846 100644
--- a/ports/curl/vcpkg.json
+++ b/ports/curl/vcpkg.json
@@ -1,7 +1,7 @@
{
"name": "curl",
"version": "8.13.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",