Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Apr 2024 05:53:21 GMT
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e19776056444 - main - security/gnupg: Use gpgrt-config for configure
Message-ID:  <202404240553.43O5rLk1008149@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhale:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e19776056444fcea54fe13be7ca84eca2b6a95c6

commit e19776056444fcea54fe13be7ca84eca2b6a95c6
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2024-04-24 02:26:52 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2024-04-24 05:52:55 +0000

    security/gnupg: Use gpgrt-config for configure
    
    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)
---
 security/gnupg/files/patch-configure | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/security/gnupg/files/patch-configure b/security/gnupg/files/patch-configure
new file mode 100644
index 000000000000..20e250e38430
--- /dev/null
+++ b/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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404240553.43O5rLk1008149>