git: 6a0795e631ac - main - security/libcryptui: unbreak after 29b3afa37e3c6b607e92e45d27b504982775033c (+)

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Tue, 11 Jul 2023 12:42:56 UTC
The branch main has been updated by fluffy:

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

commit 6a0795e631acca73e9f9f995a083341ea6cb10ba
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2023-07-11 12:39:00 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2023-07-11 12:39:00 +0000

    security/libcryptui: unbreak after 29b3afa37e3c6b607e92e45d27b504982775033c (+)
    
    GnuPG was updated to 2.4.x series and libcryptui cannot recognize it as walid version.
    Update post-patch REINPLACE macro to extend allowed range.
    
    ==> checking for GPGME - version >= 1.0.0... yes
    ==> configure: error: Appropriate version of GnuPG not found. Please install one of versions: 1.2 1.4 2.0 2.1 2.2 2.3
    
    Reported by:    poudriere failure
    Approved by:    portmgr blanket
---
 security/libcryptui/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/security/libcryptui/Makefile b/security/libcryptui/Makefile
index 64ad9a9808f5..e9c2ec00bf7d 100644
--- a/security/libcryptui/Makefile
+++ b/security/libcryptui/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	libcryptui
 PORTVERSION=	3.12.2
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	security gnome
 MASTER_SITES=	GNOME
 DIST_SUBDIR=	gnome
@@ -39,7 +39,7 @@ CONFIGURE_ARGS+=--disable-libnotify
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|"1.2 1.4 2.0"|"1.2 1.4 2.0 2.1 2.2 2.3"|g' \
+	@${REINPLACE_CMD} -e 's|"1.2 1.4 2.0"|"1.2 1.4 2.0 2.1 2.2 2.3 2.4"|g' \
 		${WRKSRC}/configure
 
 .include <bsd.port.mk>