aboutsummaryrefslogtreecommitdiff
path: root/ports/berkeleydb
diff options
context:
space:
mode:
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)