aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/libpq/CONTROL2
-rw-r--r--ports/libpq/portfile.cmake6
2 files changed, 3 insertions, 5 deletions
diff --git a/ports/libpq/CONTROL b/ports/libpq/CONTROL
index d8bafa772..a11b75c36 100644
--- a/ports/libpq/CONTROL
+++ b/ports/libpq/CONTROL
@@ -1,5 +1,5 @@
Source: libpq
-Version: 9.6.1-8
+Version: 9.6.3
Homepage: https://www.postgresql.org/
Description: The official database access API of postgresql
Build-Depends: openssl, zlib (linux)
diff --git a/ports/libpq/portfile.cmake b/ports/libpq/portfile.cmake
index 5dd4e197c..48e6ad71a 100644
--- a/ports/libpq/portfile.cmake
+++ b/ports/libpq/portfile.cmake
@@ -1,6 +1,4 @@
-include(vcpkg_common_functions)
-
-if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
+if(VCPKG_TARGET_IS_UWP)
message(FATAL_ERROR "${PORT} currently only supports being built for desktop")
endif()
@@ -29,4 +27,4 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()
vcpkg_copy_pdbs()
-file(INSTALL ${SOURCE_PATH}/COPYRIGHT DESTINATION ${CURRENT_PACKAGES_DIR}/share/libpq RENAME copyright)
+file(INSTALL ${SOURCE_PATH}/COPYRIGHT DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)