mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
devel/aws-sdk-cpp: prepare for cmake-3.22
This fixes the build of databases/arrow.
Obtained from: 148fba1d1a
PR: 260123
This commit is contained in:
parent
9d20c9a6b3
commit
4689af1e70
@ -1,5 +1,6 @@
|
||||
PORTNAME= aws-sdk-cpp
|
||||
PORTVERSION= 1.9.129
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel
|
||||
|
||||
MAINTAINER= danilo@FreeBSD.org
|
||||
|
25
devel/aws-sdk-cpp/files/patch-cmake_AWSSDKConfig.cmake
Normal file
25
devel/aws-sdk-cpp/files/patch-cmake_AWSSDKConfig.cmake
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user