git: 8ebdd3b0249a - main - www/cpr: Update to 1.11.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Oct 2024 09:34:11 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8ebdd3b0249a12c5d4334254d82b4b20a05436dc
commit 8ebdd3b0249a12c5d4334254d82b4b20a05436dc
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-21 06:33:31 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-21 09:17:27 +0000
www/cpr: Update to 1.11.0
Changes: https://github.com/libcpr/cpr/releases
---
www/cpr/Makefile | 4 ++--
www/cpr/distinfo | 6 +++---
www/cpr/files/patch-include-CMakeLists.txt | 12 ------------
3 files changed, 5 insertions(+), 17 deletions(-)
diff --git a/www/cpr/Makefile b/www/cpr/Makefile
index f21e05edad65..b3921ff837b5 100644
--- a/www/cpr/Makefile
+++ b/www/cpr/Makefile
@@ -1,5 +1,5 @@
PORTNAME= cpr
-PORTVERSION= 1.10.5
+PORTVERSION= 1.11.0
CATEGORIES= www
MAINTAINER= sunpoet@FreeBSD.org
@@ -16,6 +16,7 @@ USES= cmake compiler:c++17-lang ssl
CMAKE_OFF= CPR_BUILD_TESTS \
CPR_BUILD_TESTS_PROXY \
CPR_BUILD_TESTS_SSL \
+ CPR_BUILD_VERSION_OUTPUT_ONLY \
CPR_CURL_NOSIGNAL \
CPR_DEBUG_SANITIZER_FLAG_ADDR \
CPR_DEBUG_SANITIZER_FLAG_ALL \
@@ -30,7 +31,6 @@ CMAKE_OFF= CPR_BUILD_TESTS \
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
diff --git a/www/cpr/distinfo b/www/cpr/distinfo
index 70537f718055..f07bf343050f 100644
--- a/www/cpr/distinfo
+++ b/www/cpr/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1697463058
-SHA256 (libcpr-cpr-1.10.5_GH0.tar.gz) = c8590568996cea918d7cf7ec6845d954b9b95ab2c4980b365f582a665dea08d8
-SIZE (libcpr-cpr-1.10.5_GH0.tar.gz) = 132280
+TIMESTAMP = 1729240324
+SHA256 (libcpr-cpr-1.11.0_GH0.tar.gz) = fdafa3e3a87448b5ddbd9c7a16e7276a78f28bbe84a3fc6edcfef85eca977784
+SIZE (libcpr-cpr-1.11.0_GH0.tar.gz) = 141318
diff --git a/www/cpr/files/patch-include-CMakeLists.txt b/www/cpr/files/patch-include-CMakeLists.txt
deleted file mode 100644
index 5f54bebf66b7..000000000000
--- a/www/cpr/files/patch-include-CMakeLists.txt
+++ /dev/null
@@ -1,12 +0,0 @@
---- include/CMakeLists.txt.orig 2023-10-14 12:45:47 UTC
-+++ include/CMakeLists.txt
-@@ -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 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})