diff --git a/ports/msgpack/portfile.cmake b/ports/msgpack/portfile.cmake index 164ccd4bec..47b22820f8 100644 --- a/ports/msgpack/portfile.cmake +++ b/ports/msgpack/portfile.cmake @@ -5,17 +5,23 @@ endif() vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO msgpack/msgpack-c - REF cpp-6.0.0 - SHA512 6f2ec74562f30d12ba81659737c412317848eb27fbc607a2f4f8da4b75534fbfba7d280a5af6fdae3581a6a2582e6cf06d7fbfacc3bdee1174456817dd9f7e30 + REF cpp-6.1.1 + SHA512 866950d6e3c6ebd886e76d167ed5f88544c3a2ce4845bf0b08752edd40f45318a808d5b2a70ff64671beb83c49f568cf35b86c13bb3ffc2a6c90724466e53e4d HEAD_REF cpp_master ) +vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS + FEATURES + boost MSGPACK_USE_BOOST +) + vcpkg_cmake_configure( SOURCE_PATH "${SOURCE_PATH}" OPTIONS -DMSGPACK_BUILD_EXAMPLES=OFF -DMSGPACK_BUILD_TESTS=OFF -DMSGPACK_BUILD_DOCS=OFF + ${FEATURE_OPTIONS} ) vcpkg_cmake_install() diff --git a/ports/msgpack/vcpkg.json b/ports/msgpack/vcpkg.json index fcc2ebaae0..a0d7e24022 100644 --- a/ports/msgpack/vcpkg.json +++ b/ports/msgpack/vcpkg.json @@ -1,19 +1,10 @@ { "name": "msgpack", - "version": "6.0.0", - "port-version": 1, + "version": "6.1.1", "description": "MessagePack is an efficient binary serialization format, which lets you exchange data among multiple languages like JSON, except that it's faster and smaller.", "homepage": "https://github.com/msgpack/msgpack-c", "license": "BSL-1.0", "dependencies": [ - "boost-assert", - "boost-fusion", - "boost-numeric-conversion", - "boost-optional", - "boost-predef", - "boost-preprocessor", - "boost-utility", - "boost-variant", { "name": "vcpkg-cmake", "host": true @@ -22,5 +13,20 @@ "name": "vcpkg-cmake-config", "host": true } - ] + ], + "features": { + "boost": { + "description": "Build msgpack using Boost", + "dependencies": [ + "boost-assert", + "boost-fusion", + "boost-numeric-conversion", + "boost-optional", + "boost-predef", + "boost-preprocessor", + "boost-utility", + "boost-variant" + ] + } + } } diff --git a/versions/baseline.json b/versions/baseline.json index 941db2d30e..a22072cde7 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -5937,8 +5937,8 @@ "port-version": 0 }, "msgpack": { - "baseline": "6.0.0", - "port-version": 1 + "baseline": "6.1.1", + "port-version": 0 }, "msgpack-c": { "baseline": "6.0.0", diff --git a/versions/m-/msgpack.json b/versions/m-/msgpack.json index bad0ee95d9..cf2ee812f5 100644 --- a/versions/m-/msgpack.json +++ b/versions/m-/msgpack.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "e3a5d5d08813fda8a223cc1a04d7efcb0ff204ec", + "version": "6.1.1", + "port-version": 0 + }, { "git-tree": "f9f798edc049a449e0fe3dffb9401659339b371a", "version": "6.0.0",