Skip to content

Commit

Permalink
security/gnupg: Use gpgrt-config for configure
Browse files Browse the repository at this point in the history
Use gpgrt-config in the configure stage over the old individual
*-config scripts from the various gnupg-related libraries (e.g:
gpg-error-config, libassuan-config, ksba-config). Upstream has
prefered this method since version 2.3.0 released 2021-04-07 and
the old scripts are now starting to be phased-out.

This prepares for devel/npth >= 1.7 which no longer installs
npth-config by default, so gpgrt-config must be used to get its
configuration details.

Approved by:	portmgr (blanket)
  • Loading branch information
BSDKaffee committed Apr 24, 2024
1 parent 08015d1 commit e197760
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions security/gnupg/files/patch-configure
@@ -0,0 +1,13 @@
Fix path of pkgconfig files passed to gpgrt-config.

--- configure.orig 2024-01-25 10:09:44 UTC
+++ configure
@@ -8428,7 +8428,7 @@ fi
# 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

0 comments on commit e197760

Please sign in to comment.