mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
www/cpr: Update to 1.10.5
Changes: https://github.com/libcpr/cpr/releases
This commit is contained in:
parent
d1414fab7e
commit
3edabe492c
@ -1,5 +1,5 @@
|
||||
PORTNAME= cpr
|
||||
PORTVERSION= 1.10.4
|
||||
PORTVERSION= 1.10.5
|
||||
CATEGORIES= www
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
@ -13,8 +13,27 @@ LIB_DEPENDS= libcurl.so:ftp/curl
|
||||
|
||||
USES= cmake compiler:c++17-lang ssl
|
||||
|
||||
CMAKE_OFF= CPR_BUILD_TESTS CPR_BUILD_TESTS_PROXY CPR_BUILD_TESTS_SSL CPR_CURL_NOSIGNAL CPR_DEBUG_SANITIZER_FLAG_ADDR CPR_DEBUG_SANITIZER_FLAG_ALL CPR_DEBUG_SANITIZER_FLAG_LEAK CPR_DEBUG_SANITIZER_FLAG_THREAD CPR_DEBUG_SANITIZER_FLAG_UB CPR_ENABLE_CPPCHECK CPR_ENABLE_CURL_HTTP_ONLY CPR_ENABLE_LINTING CPR_GENERATE_COVERAGE CPR_USE_BOOST_FILESYSTEM CPR_USE_SYSTEM_GTEST CURL_VERBOSE_LOGGING
|
||||
CMAKE_ON= BUILD_SHARED_LIBS BUILD_STATIC_LIBS CPR_ENABLE_SSL CPR_SKIP_CA_BUNDLE_SEARCH CPR_USE_SYSTEM_CURL
|
||||
CMAKE_OFF= CPR_BUILD_TESTS \
|
||||
CPR_BUILD_TESTS_PROXY \
|
||||
CPR_BUILD_TESTS_SSL \
|
||||
CPR_CURL_NOSIGNAL \
|
||||
CPR_DEBUG_SANITIZER_FLAG_ADDR \
|
||||
CPR_DEBUG_SANITIZER_FLAG_ALL \
|
||||
CPR_DEBUG_SANITIZER_FLAG_LEAK \
|
||||
CPR_DEBUG_SANITIZER_FLAG_THREAD \
|
||||
CPR_DEBUG_SANITIZER_FLAG_UB \
|
||||
CPR_ENABLE_CPPCHECK \
|
||||
CPR_ENABLE_CURL_HTTP_ONLY \
|
||||
CPR_ENABLE_LINTING \
|
||||
CPR_GENERATE_COVERAGE \
|
||||
CPR_USE_BOOST_FILESYSTEM \
|
||||
CPR_USE_SYSTEM_GTEST \
|
||||
CURL_VERBOSE_LOGGING
|
||||
CMAKE_ON= BUILD_SHARED_LIBS \
|
||||
BUILD_STATIC_LIBS \
|
||||
CPR_ENABLE_SSL \
|
||||
CPR_SKIP_CA_BUNDLE_SEARCH \
|
||||
CPR_USE_SYSTEM_CURL
|
||||
PIE_UNSAFE= yes
|
||||
|
||||
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1685162048
|
||||
SHA256 (libcpr-cpr-1.10.4_GH0.tar.gz) = 88462d059cd3df22c4d39ae04483ed50dfd2c808b3effddb65ac3b9aa60b542d
|
||||
SIZE (libcpr-cpr-1.10.4_GH0.tar.gz) = 131684
|
||||
TIMESTAMP = 1697463058
|
||||
SHA256 (libcpr-cpr-1.10.5_GH0.tar.gz) = c8590568996cea918d7cf7ec6845d954b9b95ab2c4980b365f582a665dea08d8
|
||||
SIZE (libcpr-cpr-1.10.5_GH0.tar.gz) = 132280
|
||||
|
@ -1,11 +1,12 @@
|
||||
--- include/CMakeLists.txt.orig 2023-01-26 16:47:20 UTC
|
||||
--- include/CMakeLists.txt.orig 2023-10-14 12:45:47 UTC
|
||||
+++ include/CMakeLists.txt
|
||||
@@ -60,7 +60,7 @@ if(CPR_USE_BOOST_FILESYSTEM)
|
||||
@@ -60,9 +60,5 @@ if(CPR_USE_BOOST_FILESYSTEM)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
-if (((CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 9.1) OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang") AND NOT CPR_USE_BOOST_FILESYSTEM)
|
||||
+if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 9.1 AND NOT CPR_USE_BOOST_FILESYSTEM)
|
||||
target_link_libraries(cpr PUBLIC stdc++fs)
|
||||
endif()
|
||||
|
||||
-if (((CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 9.1) OR (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND NOT WIN32)) AND NOT CPR_USE_BOOST_FILESYSTEM)
|
||||
- target_link_libraries(cpr PUBLIC stdc++fs)
|
||||
-endif()
|
||||
-
|
||||
install(DIRECTORY cpr DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
||||
install(DIRECTORY ${PROJECT_BINARY_DIR}/cpr_generated_includes/cpr DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
||||
|
Loading…
Reference in New Issue
Block a user