Skip to content

Commit

Permalink
[libgpg-error] no absolute paths (#21269)
Browse files Browse the repository at this point in the history
  • Loading branch information
autoantwort authored Nov 11, 2021
1 parent f15cf57 commit 3f57f1e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
9 changes: 5 additions & 4 deletions ports/libgpg-error/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ if(VCPKG_TARGET_IS_WINDOWS)

vcpkg_install_msbuild(
USE_VCPKG_INTEGRATION
SOURCE_PATH ${SOURCE_PATH}
SOURCE_PATH "${SOURCE_PATH}"
PROJECT_SUBPATH SMP/libgpg-error.sln
PLATFORM ${TRIPLET_SYSTEM_ARCH}
LICENSE_SUBPATH COPYING.LIB
Expand Down Expand Up @@ -81,7 +81,7 @@ else()

vcpkg_configure_make(
AUTOCONFIG
SOURCE_PATH ${SOURCE_PATH}
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
--disable-tests
--disable-doc
Expand All @@ -91,7 +91,8 @@ else()
vcpkg_install_make()
vcpkg_fixup_pkgconfig()
vcpkg_copy_pdbs()

vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/libgpg-error/bin/gpg-error-config" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../../..")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/libgpg-error/debug/bin/gpg-error-config" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../../../..")
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()
endif()
2 changes: 1 addition & 1 deletion ports/libgpg-error/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "libgpg-error",
"version": "1.42",
"port-version": 1,
"port-version": 2,
"description": "A common dependency of all GnuPG components",
"homepage": "https://gnupg.org/software/libgpg-error/index.html",
"supports": "!(windows & (arm | arm64))"
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -3470,7 +3470,7 @@
},
"libgpg-error": {
"baseline": "1.42",
"port-version": 1
"port-version": 2
},
"libgpod": {
"baseline": "2019-08-29",
Expand Down
5 changes: 5 additions & 0 deletions versions/l-/libgpg-error.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "f6c78e927a70ff136576abd61f1125861824bfd2",
"version": "1.42",
"port-version": 2
},
{
"git-tree": "b5abbf9cf832337e202ff5d8d4296025b47be1a0",
"version": "1.42",
Expand Down

0 comments on commit 3f57f1e

Please sign in to comment.