From 33dc2930b64e9a88b63f2b1c05efae14e72e3d90 Mon Sep 17 00:00:00 2001 From: autoantwort <41973254+autoantwort@users.noreply.github.com> Date: Tue, 9 Nov 2021 05:40:05 +0100 Subject: [PATCH] [mongo-c-driver] no absolute paths (#21264) --- ports/mongo-c-driver/portfile.cmake | 3 ++- ports/mongo-c-driver/vcpkg.json | 2 +- versions/baseline.json | 2 +- versions/m-/mongo-c-driver.json | 5 +++++ 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ports/mongo-c-driver/portfile.cmake b/ports/mongo-c-driver/portfile.cmake index ff22ec6c243..1b4967349cd 100644 --- a/ports/mongo-c-driver/portfile.cmake +++ b/ports/mongo-c-driver/portfile.cmake @@ -114,10 +114,11 @@ endif() ]] LIBMONGOC_CONFIG_CMAKE "${LIBMONGOC_CONFIG_CMAKE}") string(REPLACE [[PACKAGE_PREFIX_DIR]] [[_IMPORT_PREFIX]] LIBMONGOC_CONFIG_CMAKE "${LIBMONGOC_CONFIG_CMAKE}") -file(WRITE ${CURRENT_PACKAGES_DIR}/share/libmongoc-1.0/libmongoc-1.0-config.cmake "${LIBMONGOC_CONFIG_CMAKE}") +file(WRITE "${CURRENT_PACKAGES_DIR}/share/libmongoc-1.0/libmongoc-1.0-config.cmake" "${LIBMONGOC_CONFIG_CMAKE}") file(COPY "${SOURCE_PATH}/THIRD_PARTY_NOTICES" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") vcpkg_fixup_pkgconfig() +file(REMOVE "${CURRENT_PACKAGES_DIR}/share/mongo-c-driver/uninstall.sh") \ No newline at end of file diff --git a/ports/mongo-c-driver/vcpkg.json b/ports/mongo-c-driver/vcpkg.json index 7f75b1c1f23..1de4c7a9f3d 100644 --- a/ports/mongo-c-driver/vcpkg.json +++ b/ports/mongo-c-driver/vcpkg.json @@ -1,7 +1,7 @@ { "name": "mongo-c-driver", "version": "1.17.6", - "port-version": 1, + "port-version": 2, "description": "Client library written in C for MongoDB.", "homepage": "https://github.com/mongodb/mongo-c-driver", "dependencies": [ diff --git a/versions/baseline.json b/versions/baseline.json index a714ff5e557..34d0ae448bf 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -4402,7 +4402,7 @@ }, "mongo-c-driver": { "baseline": "1.17.6", - "port-version": 1 + "port-version": 2 }, "mongo-cxx-driver": { "baseline": "3.6.5", diff --git a/versions/m-/mongo-c-driver.json b/versions/m-/mongo-c-driver.json index dd0a4566f94..b7ced9eb8b2 100644 --- a/versions/m-/mongo-c-driver.json +++ b/versions/m-/mongo-c-driver.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "0579545ecddc3bef7941e3caa19bda27c80323bc", + "version": "1.17.6", + "port-version": 2 + }, { "git-tree": "1885ed4c6d71d255e97ef46bc1dd3b5353686845", "version": "1.17.6",