Date: Tue, 14 Dec 2021 06:03:18 GMT From: "Tobias C. Berner" <tcberner@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 4689af1e7045 - main - devel/aws-sdk-cpp: prepare for cmake-3.22 Message-ID: <202112140603.1BE63IDD040275@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by tcberner: URL: https://cgit.FreeBSD.org/ports/commit/?id=4689af1e704536316ecfe36e2ea14a9f929733a3 commit 4689af1e704536316ecfe36e2ea14a9f929733a3 Author: Tobias C. Berner <tcberner@FreeBSD.org> AuthorDate: 2021-12-14 05:58:50 +0000 Commit: Tobias C. Berner <tcberner@FreeBSD.org> CommitDate: 2021-12-14 06:00:42 +0000 devel/aws-sdk-cpp: prepare for cmake-3.22 This fixes the build of databases/arrow. Obtained from: https://github.com/microsoft/vcpkg/commit/148fba1d1a5ec07383aaff4c603c17a1d25399a7 PR: 260123 --- devel/aws-sdk-cpp/Makefile | 1 + .../files/patch-cmake_AWSSDKConfig.cmake | 25 ++++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/devel/aws-sdk-cpp/Makefile b/devel/aws-sdk-cpp/Makefile index 46470d945008..792f7318d8d3 100644 --- a/devel/aws-sdk-cpp/Makefile +++ b/devel/aws-sdk-cpp/Makefile @@ -1,5 +1,6 @@ PORTNAME= aws-sdk-cpp PORTVERSION= 1.9.129 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= danilo@FreeBSD.org diff --git a/devel/aws-sdk-cpp/files/patch-cmake_AWSSDKConfig.cmake b/devel/aws-sdk-cpp/files/patch-cmake_AWSSDKConfig.cmake new file mode 100644 index 000000000000..7c3e66118fce --- /dev/null +++ b/devel/aws-sdk-cpp/files/patch-cmake_AWSSDKConfig.cmake @@ -0,0 +1,25 @@ +CMake Error at /usr/local/lib/cmake/AWSSDK/AWSSDKConfig.cmake:132 (while): + had incorrect arguments: + + "NOT" "TEMP_NAME" "STREQUAL" + + Unknown arguments specified +Call Stack (most recent call first): + cmake_modules/ThirdpartyToolchain.cmake:4015 (find_package) + CMakeLists.txt:536 (include) + +Obtained from: + https://github.com/microsoft/vcpkg/commit/148fba1d1a5ec07383aaff4c603c17a1d25399a7 + + +--- cmake/AWSSDKConfig.cmake.orig 2021-12-14 05:48:17 UTC ++++ cmake/AWSSDKConfig.cmake +@@ -129,7 +129,7 @@ endif() + get_filename_component(TEMP_PATH "${AWSSDK_CORE_LIB_FILE}" PATH) + get_filename_component(TEMP_NAME "${TEMP_PATH}" NAME) + +-while (NOT TEMP_NAME STREQUAL ${LIB_SEARCH_PREFIX}) ++while (NOT TEMP_NAME STREQUAL "${LIB_SEARCH_PREFIX}") + set(TEMP_PLATFORM_PREFIX "${TEMP_NAME}/${TEMP_PLATFORM_PREFIX}") + get_filename_component(TEMP_PATH "${TEMP_PATH}" PATH) + get_filename_component(TEMP_NAME "${TEMP_PATH}" NAME)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112140603.1BE63IDD040275>