Date: Thu, 30 Apr 2026 20:39:20 +0000 From: Adriaan de Groot <adridg@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Cc: Jan-Espen Oversand <sigsegv@radiotube.org> Subject: git: eafafb566d3b - main - devel/cpprestsdk: allow consumers to find_package(cpprestsdk) Message-ID: <69f3bdf8.41d79.19e4594@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by adridg: URL: https://cgit.FreeBSD.org/ports/commit/?id=eafafb566d3bd23552cbf46850b60f1a71be3696 commit eafafb566d3bd23552cbf46850b60f1a71be3696 Author: Jan-Espen Oversand <sigsegv@radiotube.org> AuthorDate: 2026-04-30 20:35:09 +0000 Commit: Adriaan de Groot <adridg@FreeBSD.org> CommitDate: 2026-04-30 20:39:03 +0000 devel/cpprestsdk: allow consumers to find_package(cpprestsdk) With sufficiently-new CMake settings, the CMake .config file for cpprestsdk can't find Boost::system (because it no longer exists) and then it fails. But cpprestsdk doesn't need it -- so patch it out. Upstream PR: https://github.com/microsoft/cpprestsdk/pull/1838 PR: 291874 --- devel/cpprestsdk/Makefile | 2 +- devel/cpprestsdk/files/patch-cmake_cpprestsdk-config.in.cmake | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/devel/cpprestsdk/Makefile b/devel/cpprestsdk/Makefile index e7ef9e92a753..4d9206de9719 100644 --- a/devel/cpprestsdk/Makefile +++ b/devel/cpprestsdk/Makefile @@ -1,6 +1,6 @@ PORTNAME= cpprestsdk PORTVERSION= 2.10.19 -PORTREVISION= 6 +PORTREVISION= 7 DISTVERSIONPREFIX= v CATEGORIES= devel diff --git a/devel/cpprestsdk/files/patch-cmake_cpprestsdk-config.in.cmake b/devel/cpprestsdk/files/patch-cmake_cpprestsdk-config.in.cmake new file mode 100644 index 000000000000..5296cd5460ad --- /dev/null +++ b/devel/cpprestsdk/files/patch-cmake_cpprestsdk-config.in.cmake @@ -0,0 +1,11 @@ +--- cmake/cpprestsdk-config.in.cmake.orig 2023-12-05 04:23:31 UTC ++++ cmake/cpprestsdk-config.in.cmake +@@ -17,7 +17,7 @@ if(@CPPREST_USES_BOOST@) + + if(@CPPREST_USES_BOOST@) + if(UNIX) +- find_dependency(Boost COMPONENTS random system thread filesystem chrono atomic date_time regex) ++ find_dependency(Boost COMPONENTS random thread filesystem chrono atomic date_time regex) + else() + find_dependency(Boost COMPONENTS system date_time regex) + endif()home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69f3bdf8.41d79.19e4594>
