diff options
| -rw-r--r-- | ports/libevent/CONTROL | 3 | ||||
| -rw-r--r-- | ports/libevent/portfile.cmake | 10 |
2 files changed, 5 insertions, 8 deletions
diff --git a/ports/libevent/CONTROL b/ports/libevent/CONTROL index 59ee136dd..8f1199680 100644 --- a/ports/libevent/CONTROL +++ b/ports/libevent/CONTROL @@ -1,8 +1,9 @@ Source: libevent
-Version: 2.1.11-1
+Version: 2.1.11-2
Build-Depends: openssl
Homepage: https://github.com/libevent/libevent
Description: An event notification library
+Default-Features: thread
Feature: openssl
Description: Support for openssl
diff --git a/ports/libevent/portfile.cmake b/ports/libevent/portfile.cmake index e04e5f58d..711f5e93d 100644 --- a/ports/libevent/portfile.cmake +++ b/ports/libevent/portfile.cmake @@ -1,8 +1,4 @@ -include(vcpkg_common_functions) - -if(VCPKG_CMAKE_SYSTEM_NAME MATCHES "WindowsStore") - message(FATAL_ERROR "${PORT} does not currently support UWP") -endif() +vcpkg_fail_port_install(MESSAGE "${PORT} does not currently support UWP" ON_TARGET "uwp") vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH @@ -57,5 +53,5 @@ endif() vcpkg_copy_pdbs() -file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/libevent) -file(RENAME ${CURRENT_PACKAGES_DIR}/share/libevent/LICENSE ${CURRENT_PACKAGES_DIR}/share/libevent/copyright) +#Handle copyright +file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
\ No newline at end of file |
