diff --git a/ports/aws-sdk-cpp/fix-awsmigrationhub-build.patch b/ports/aws-sdk-cpp/fix-awsmigrationhub-build.patch new file mode 100644 index 0000000000..c2d9803013 --- /dev/null +++ b/ports/aws-sdk-cpp/fix-awsmigrationhub-build.patch @@ -0,0 +1,10 @@ +diff --git a/generated/src/aws-cpp-sdk-AWSMigrationHub/CMakeLists.txt b/generated/src/aws-cpp-sdk-AWSMigrationHub/CMakeLists.txt +index a8a888d..574b985 100644 +--- a/generated/src/aws-cpp-sdk-AWSMigrationHub/CMakeLists.txt ++++ b/generated/src/aws-cpp-sdk-AWSMigrationHub/CMakeLists.txt +@@ -1,4 +1,4 @@ +-add_project(aws-cpp-sdk-AWSMigrationHub "C++ SDK for the AWS AWSMigrationHub service" aws-cpp-sdk-core) ++add_project(aws-cpp-sdk-awsmigrationhub "C++ SDK for the AWS AWSMigrationHub service" aws-cpp-sdk-core) + + file(GLOB AWS_AWSMIGRATIONHUB_HEADERS + "include/aws/AWSMigrationHub/*.h" diff --git a/ports/aws-sdk-cpp/portfile.cmake b/ports/aws-sdk-cpp/portfile.cmake index 4cae7f1eca..e66073eb24 100644 --- a/ports/aws-sdk-cpp/portfile.cmake +++ b/ports/aws-sdk-cpp/portfile.cmake @@ -9,6 +9,7 @@ vcpkg_from_github( patch-relocatable-rpath.patch fix-aws-root.patch lock-curl-http-and-tls-settings.patch + fix-awsmigrationhub-build.patch ) string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" "dynamic" FORCE_SHARED_CRT) @@ -96,4 +97,4 @@ endif() configure_file("${CURRENT_PORT_DIR}/usage" "${CURRENT_PACKAGES_DIR}/share/${PORT}/usage" @ONLY) -file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/ports/aws-sdk-cpp/vcpkg.json b/ports/aws-sdk-cpp/vcpkg.json index 758ca68cb1..138894a9ee 100644 --- a/ports/aws-sdk-cpp/vcpkg.json +++ b/ports/aws-sdk-cpp/vcpkg.json @@ -2,7 +2,7 @@ "$note": "Automatically generated by generateFeatures.ps1", "name": "aws-sdk-cpp", "version": "1.11.169", - "port-version": 1, + "port-version": 2, "description": "AWS SDK for C++", "homepage": "https://github.com/aws/aws-sdk-cpp", "license": "Apache-2.0", diff --git a/versions/a-/aws-sdk-cpp.json b/versions/a-/aws-sdk-cpp.json index 467a6bf644..c4e50267a8 100644 --- a/versions/a-/aws-sdk-cpp.json +++ b/versions/a-/aws-sdk-cpp.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "bb95756096209a013e786b104a11b0aa6357119d", + "version": "1.11.169", + "port-version": 2 + }, { "git-tree": "5c0ad10a852e7facc0cea54e3990f16e0cb1ea8b", "version": "1.11.169", diff --git a/versions/baseline.json b/versions/baseline.json index dd05cda9c7..9cdc197751 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -402,7 +402,7 @@ }, "aws-sdk-cpp": { "baseline": "1.11.169", - "port-version": 1 + "port-version": 2 }, "azmq": { "baseline": "2023-03-23",