aboutsummaryrefslogtreecommitdiff
path: root/ports/berkeleydb
diff options
context:
space:
mode:
authorPhoebe <20694052+PhoebeHui@users.noreply.github.com>2020-05-27 11:40:27 +0800
committerGitHub <noreply@github.com>2020-05-26 20:40:27 -0700
commitc3cfb02466318e328c7e9ef56ba28bcafce96cfd (patch)
tree8c33e26186facdd9ad4df6b18f466a2c518403ae /ports/berkeleydb
parent6a400388bb8ef70c665320fc4668fb1def3a8e17 (diff)
downloadvcpkg-c3cfb02466318e328c7e9ef56ba28bcafce96cfd.tar.gz
vcpkg-c3cfb02466318e328c7e9ef56ba28bcafce96cfd.zip
[libusbmuxd berkeleydb cppcms activemq-cpp] Add Supports and failure message (#11589)
* [libusbmuxd berkeleydb cppcms] Add Supports and failure message * Add Supports for activemq-cpp
Diffstat (limited to 'ports/berkeleydb')
-rw-r--r--ports/berkeleydb/CONTROL4
-rw-r--r--ports/berkeleydb/portfile.cmake9
2 files changed, 4 insertions, 9 deletions
diff --git a/ports/berkeleydb/CONTROL b/ports/berkeleydb/CONTROL
index 75c856c08..07ab3e306 100644
--- a/ports/berkeleydb/CONTROL
+++ b/ports/berkeleydb/CONTROL
@@ -1,5 +1,5 @@
Source: berkeleydb
-Version: 4.8.30-3
+Version: 4.8.30-4
Homepage: https://download.oracle.com/
Description: BDB - A high-performance embedded database for key/value data.
-Supports: !uwp \ No newline at end of file
+Supports: !(uwp|linux|osx)
diff --git a/ports/berkeleydb/portfile.cmake b/ports/berkeleydb/portfile.cmake
index f685279dd..5d47b7a6f 100644
--- a/ports/berkeleydb/portfile.cmake
+++ b/ports/berkeleydb/portfile.cmake
@@ -1,8 +1,4 @@
-if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
- message(FATAL_ERROR "${PORT} does not currently support UWP")
-endif()
-
-include(vcpkg_common_functions)
+vcpkg_fail_port_install( ON_TARGET "uwp" "linux" "osx")
vcpkg_download_distfile(ARCHIVE
URLS "http://download.oracle.com/berkeley-db/db-4.8.30.NC.zip"
@@ -25,5 +21,4 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()
-# Handle copyright
-file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/berkeleydb RENAME copyright)
+file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)