Skip to content

Commit

Permalink
[libpq] Fix version mismatch between CONTROL and portfile (microsoft#…
Browse files Browse the repository at this point in the history
…9253)

* [libpq] Update the CONTROL version, Delete deprecated functions

* [libpq] Update deprecated functions
  • Loading branch information
dan-shaw authored Dec 20, 2019
2 parents 63aa19c + 6bed46f commit 66f0eb0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ports/libpq/CONTROL
Original file line number Diff line number Diff line change
@@ -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)
6 changes: 2 additions & 4 deletions ports/libpq/portfile.cmake
Original file line number Diff line number Diff line change
@@ -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()

Expand Down Expand Up @@ -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)

0 comments on commit 66f0eb0

Please sign in to comment.