aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordan-shaw <51385773+dan-shaw@users.noreply.github.com>2019-12-20 12:14:16 -0800
committerGitHub <noreply@github.com>2019-12-20 12:14:16 -0800
commit66f0eb04a57026a4946841e5deaa53a9adb29e7a (patch)
treea513c5681877dc4329207bd7961f1b373a36dc53
parent63aa19cd4043f9b3285e92322fc0e6a7bbf5572b (diff)
parent6bed46fa52e2e7aa4e73c4bc6f6ea52caee91c64 (diff)
downloadvcpkg-66f0eb04a57026a4946841e5deaa53a9adb29e7a.tar.gz
vcpkg-66f0eb04a57026a4946841e5deaa53a9adb29e7a.zip
[libpq] Fix version mismatch between CONTROL and portfile (#9253)
* [libpq] Update the CONTROL version, Delete deprecated functions * [libpq] Update deprecated functions
-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)