aboutsummaryrefslogtreecommitdiff
path: root/ports/mongo-c-driver
diff options
context:
space:
mode:
authorPhoebe <925731795@qq.com>2019-06-13 14:08:09 +0800
committerRobert Schumacher <roschuma@microsoft.com>2019-06-12 23:08:09 -0700
commit08cbf0b3cde9284ec398c1b87d969d9bcaefbed0 (patch)
tree6a2a0a8419e81b6d60318b74b60e5e72d1d98eba /ports/mongo-c-driver
parent58e0d4029e44ebfbe19f3b0fc6cc9dc88eaf1f4b (diff)
downloadvcpkg-08cbf0b3cde9284ec398c1b87d969d9bcaefbed0.tar.gz
vcpkg-08cbf0b3cde9284ec398c1b87d969d9bcaefbed0.zip
[libbson mongo-c-driver mongo-cxx-driver] upgrades to new revision (#6862)
* [libbson mongo-c-driver mongo-cxx-driver] upgrades to new revision * [mongo-cxx-driver] Minimize patch * [mongo-c-driver] Fix dependencies on openssl and zlib
Diffstat (limited to 'ports/mongo-c-driver')
-rw-r--r--ports/mongo-c-driver/CONTROL4
-rw-r--r--ports/mongo-c-driver/portfile.cmake8
2 files changed, 8 insertions, 4 deletions
diff --git a/ports/mongo-c-driver/CONTROL b/ports/mongo-c-driver/CONTROL
index 4f45aa9b6..577cea1aa 100644
--- a/ports/mongo-c-driver/CONTROL
+++ b/ports/mongo-c-driver/CONTROL
@@ -1,4 +1,4 @@
Source: mongo-c-driver
-Version: 1.13.0
-Build-Depends: libbson, openssl (uwp)
+Version: 1.14.0-1
+Build-Depends: libbson, openssl (!windows), zlib
Description: Client library written in C for MongoDB.
diff --git a/ports/mongo-c-driver/portfile.cmake b/ports/mongo-c-driver/portfile.cmake
index 2d4c88460..5a0c484c0 100644
--- a/ports/mongo-c-driver/portfile.cmake
+++ b/ports/mongo-c-driver/portfile.cmake
@@ -1,9 +1,11 @@
include(vcpkg_common_functions)
+set(BUILD_VERSION 1.14.0)
+
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO mongodb/mongo-c-driver
- REF 1.13.0
- SHA512 d2f5b04b3d2dbdeba4547ec1fe8a0da7bad5214de92fff480ef0ff7d97ea45d5e6347c11c249867d4905b1dd81b76c7cfbb9094a58df586dae881955ee246907
+ REF ${BUILD_VERSION}
+ SHA512 bf2bb835543dd2a445aac6cafa7bbbf90921ec41014534779924a5eb7cbd9fd532acd8146ce81dfcf1bcac33a78d8fce22b962ed7f776449e4357eccab8d6110
HEAD_REF master
PATCHES fix-uwp.patch
)
@@ -30,7 +32,9 @@ vcpkg_configure_cmake(
-DENABLE_TESTS=OFF
-DENABLE_EXAMPLES=OFF
-DENABLE_SSL=${ENABLE_SSL}
+ -DENABLE_ZLIB=SYSTEM
-DENABLE_STATIC=${ENABLE_STATIC}
+ -DBUILD_VERSION=${BUILD_VERSION}
)
vcpkg_install_cmake()