git: 3e60615f4d26 - main - security/gpa: Fix configure with libassuan 3.x

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Thu, 11 Jul 2024 14:33:58 UTC
The branch main has been updated by jhale:

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

commit 3e60615f4d265d2f85bad24fe78c32190ea9d614
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2024-07-11 14:32:40 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2024-07-11 14:33:47 +0000

    security/gpa: Fix configure with libassuan 3.x
    
    Reported by:    pkg-fallout
---
 security/gpa/Makefile              |  1 -
 security/gpa/files/patch-configure | 15 +++++++++++++++
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/security/gpa/Makefile b/security/gpa/Makefile
index fea269c156d1..7b2fc8969cd6 100644
--- a/security/gpa/Makefile
+++ b/security/gpa/Makefile
@@ -21,7 +21,6 @@ USES=		desktop-file-utils gmake gnome localbase pkgconfig tar:bzip2
 USE_GNOME=	gdkpixbuf2 gtk20
 
 GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ENV+=	GPGKEYS_LDAP="${LOCALBASE}/libexec/gpg2keys_ldap"
 LDFLAGS+=	-Wl,--as-needed
 
diff --git a/security/gpa/files/patch-configure b/security/gpa/files/patch-configure
new file mode 100644
index 000000000000..d48cd3ffce47
--- /dev/null
+++ b/security/gpa/files/patch-configure
@@ -0,0 +1,15 @@
+Fix configure with security/libassuan 3.x
+
+--- configure.orig	2018-10-16 21:44:05 UTC
++++ configure
+@@ -2256,8 +2256,8 @@ NEED_GPG_ERROR_VERSION=1.27
+ 
+ 
+ NEED_GPG_ERROR_VERSION=1.27
+-NEED_LIBASSUAN_API=2
+-NEED_LIBASSUAN_VERSION=2.4.2
++NEED_LIBASSUAN_API=3
++NEED_LIBASSUAN_VERSION=3.0.0
+ NEED_GPGME_API=1
+ NEED_GPGME_VERSION=1.9.0
+