aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorJack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>2021-01-28 19:41:44 -0800
committerGitHub <noreply@github.com>2021-01-28 19:41:44 -0800
commit0e3198878b8666812b437eb075f1296b2dff67e8 (patch)
tree3984ca274430ee57510b1efd2d9e83c6f9e40308 /ports
parent7115ef469d20bf4a3aba3dcfbb38629bcc57ac5b (diff)
downloadvcpkg-0e3198878b8666812b437eb075f1296b2dff67e8.tar.gz
vcpkg-0e3198878b8666812b437eb075f1296b2dff67e8.zip
[libpq] Fix install tool pg_config on Linux (#15748)
* [libpq] Fix install tool pg_config * update baseline * [libpq] Use vcpkg_copy_tool_dependencies instead * update baseline * [libpq] Fix install tool pg_config * update baseline * [libpq] Use vcpkg_copy_tool_dependencies instead * update baseline
Diffstat (limited to 'ports')
-rw-r--r--ports/libpq/CONTROL2
-rw-r--r--ports/libpq/portfile.cmake4
2 files changed, 3 insertions, 3 deletions
diff --git a/ports/libpq/CONTROL b/ports/libpq/CONTROL
index fa6ea6d91..5d535ff72 100644
--- a/ports/libpq/CONTROL
+++ b/ports/libpq/CONTROL
@@ -1,6 +1,6 @@
Source: libpq
Version: 12.2
-Port-Version: 10
+Port-Version: 11
Build-Depends: libpq[core,bonjour] (osx)
Supports: !uwp
Homepage: https://www.postgresql.org/
diff --git a/ports/libpq/portfile.cmake b/ports/libpq/portfile.cmake
index 91f6e3643..427aed5b1 100644
--- a/ports/libpq/portfile.cmake
+++ b/ports/libpq/portfile.cmake
@@ -297,8 +297,8 @@ else()
if(NOT HAS_TOOLS)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin)
else()
- file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/tools/${PORT})
- file(RENAME ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/tools/${PORT})
+ vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin)
+ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/tools/${PORT}/debug)
endif()
set(USE_DL ON)
endif()