aboutsummaryrefslogtreecommitdiff
path: root/ports/libgpg-error
diff options
context:
space:
mode:
authorNancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>2021-06-19 01:57:11 +0800
committerGitHub <noreply@github.com>2021-06-18 10:57:11 -0700
commit4ba9ac395d2c07b3beae4474058a99e1430bb739 (patch)
tree205997612611dfd486b342a6bd35b7189a9fe057 /ports/libgpg-error
parent926daf3fc2e826827a72318052a6b5e5af9e2f24 (diff)
downloadvcpkg-4ba9ac395d2c07b3beae4474058a99e1430bb739.tar.gz
vcpkg-4ba9ac395d2c07b3beae4474058a99e1430bb739.zip
[libgpg-error] Remove COPYING.LIB from lib folder (#18492)
* [libgpg-error] Remove COPYING.LIB from lib folder * Update version files
Diffstat (limited to 'ports/libgpg-error')
-rw-r--r--ports/libgpg-error/portfile.cmake11
-rw-r--r--ports/libgpg-error/vcpkg.json1
2 files changed, 7 insertions, 5 deletions
diff --git a/ports/libgpg-error/portfile.cmake b/ports/libgpg-error/portfile.cmake
index 19e6e3c2f..711f7e76e 100644
--- a/ports/libgpg-error/portfile.cmake
+++ b/ports/libgpg-error/portfile.cmake
@@ -67,6 +67,7 @@ if(VCPKG_TARGET_IS_WINDOWS)
configure_file("${SOURCE_PATH}/src/gpg-error.pc.in" "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/gpg-error.pc" @ONLY)
vcpkg_fixup_pkgconfig()
vcpkg_copy_pdbs()
+ file(REMOVE "${CURRENT_PACKAGES_DIR}/lib/COPYING.LIB" "${CURRENT_PACKAGES_DIR}/debug/lib/COPYING.LIB")
else()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
@@ -74,8 +75,8 @@ else()
REF libgpg-error-${PACKAGE_VERSION}
SHA512 f5a1c1874ac1dee36ee01504f1ab0146506aa7af810879e192eac17a31ec81945fe850953ea1c57188590c023ce3ff195c7cab62af486b731fa1534546d66ba3
HEAD_REF master
- PATCHES
- add_cflags_to_tools.patch
+ PATCHES
+ add_cflags_to_tools.patch
)
vcpkg_configure_make(
@@ -91,6 +92,6 @@ else()
vcpkg_fixup_pkgconfig()
vcpkg_copy_pdbs()
- file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/locale ${CURRENT_PACKAGES_DIR}/debug/share)
- file(INSTALL ${SOURCE_PATH}/COPYING.LIB DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
-endif()
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/${PORT}/locale" "${CURRENT_PACKAGES_DIR}/debug/share")
+ file(INSTALL "${SOURCE_PATH}/COPYING.LIB" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
+endif() \ No newline at end of file
diff --git a/ports/libgpg-error/vcpkg.json b/ports/libgpg-error/vcpkg.json
index 73c17ba9e..81024b701 100644
--- a/ports/libgpg-error/vcpkg.json
+++ b/ports/libgpg-error/vcpkg.json
@@ -1,6 +1,7 @@
{
"name": "libgpg-error",
"version": "1.42",
+ "port-version": 1,
"description": "A common dependency of all GnuPG components",
"homepage": "https://gnupg.org/software/libgpg-error/index.html",
"supports": "!(windows & (arm | arm64))"