Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
security/libgpg-error: Fix gpgrt-config
Fix the default search path for pkgconfig files in gpgrt-config. Previously, it was necessary to supply the path manually with the --libdir argument, but this can now be omitted. Approved by: portmgr (blanket)
- Loading branch information
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
PORTNAME= libgpg-error | ||
DISTVERSION= 1.48 | ||
PORTREVISION= 1 | ||
CATEGORIES= security devel | ||
MASTER_SITES= GNUPG | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Fix default path to pkgconfig files. | ||
|
||
--- src/gpgrt-config.in.orig 2024-04-24 04:08:07 UTC | ||
+++ src/gpgrt-config.in | ||
@@ -460,7 +460,7 @@ determine_gpgrt_libdir () { | ||
# Get the prefix of gpgrt-config assuming it's something like: | ||
# <PREFIX>/bin/gpgrt-config | ||
gpgrt_prefix=${GPGRT_CONFIG%/*/*} | ||
- possible_libdir1=${gpgrt_prefix}/lib | ||
+ possible_libdir1=${gpgrt_prefix}/libdata | ||
# Determine by using system libdir-format with CC, it's like: | ||
# Normal style: /usr/lib | ||
# GNU cross style: /usr/<triplet>/lib |