Skip to content

Commit

Permalink
[libgcrypt] no absolute paths (#21578)
Browse files Browse the repository at this point in the history
  • Loading branch information
autoantwort committed Nov 22, 2021
1 parent 41f86d7 commit e984c55
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
9 changes: 6 additions & 3 deletions ports/libgcrypt/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ vcpkg_from_git(

vcpkg_configure_make(
AUTOCONFIG
SOURCE_PATH ${SOURCE_PATH}
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
--disable-doc
--disable-silent-rules
Expand All @@ -21,5 +21,8 @@ vcpkg_install_make()
vcpkg_fixup_pkgconfig()
vcpkg_copy_pdbs()

file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
file(INSTALL ${SOURCE_PATH}/COPYING.LIB DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/libgcrypt/bin/libgcrypt-config" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../../..")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/libgcrypt/debug/bin/libgcrypt-config" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../../../..")

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
file(INSTALL "${SOURCE_PATH}/COPYING.LIB" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
1 change: 1 addition & 0 deletions ports/libgcrypt/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "libgcrypt",
"version": "1.9.4",
"port-version": 1,
"description": "A general purpose cryptographic library",
"homepage": "https://gnupg.org/software/libgcrypt/index.html",
"supports": "linux | osx",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -3462,7 +3462,7 @@
},
"libgcrypt": {
"baseline": "1.9.4",
"port-version": 0
"port-version": 1
},
"libgd": {
"baseline": "2.3.2",
Expand Down
5 changes: 5 additions & 0 deletions versions/l-/libgcrypt.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "e850fdb19fd41c8270ea52dfa3dbe346b23e25f5",
"version": "1.9.4",
"port-version": 1
},
{
"git-tree": "7b99b42dfc0f469a13d4e39d9802012b9a7e78d1",
"version": "1.9.4",
Expand Down

0 comments on commit e984c55

Please sign in to comment.