[mongo-c-driver] no absolute paths (#21264)

This commit is contained in:
autoantwort 2021-11-09 05:40:05 +01:00 committed by GitHub
parent fd49422216
commit 33dc2930b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 3 deletions

View File

@ -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")

View File

@ -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": [

View File

@ -4402,7 +4402,7 @@
},
"mongo-c-driver": {
"baseline": "1.17.6",
"port-version": 1
"port-version": 2
},
"mongo-cxx-driver": {
"baseline": "3.6.5",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "0579545ecddc3bef7941e3caa19bda27c80323bc",
"version": "1.17.6",
"port-version": 2
},
{
"git-tree": "1885ed4c6d71d255e97ef46bc1dd3b5353686845",
"version": "1.17.6",