summaryrefslogtreecommitdiff
path: root/security/libgpg-error/files/patch-src_gpgrt-config.in
diff options
context:
space:
mode:
Diffstat (limited to 'security/libgpg-error/files/patch-src_gpgrt-config.in')
-rw-r--r--security/libgpg-error/files/patch-src_gpgrt-config.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/security/libgpg-error/files/patch-src_gpgrt-config.in b/security/libgpg-error/files/patch-src_gpgrt-config.in
new file mode 100644
index 000000000000..a916e552739a
--- /dev/null
+++ b/security/libgpg-error/files/patch-src_gpgrt-config.in
@@ -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