git: 067121415c2a - main - fix: correct the error message for libassuan too

From: Mathieu Arnold <mat_at_FreeBSD.org>
Date: Sat, 13 Jul 2024 09:19:44 UTC
The branch main has been updated by mat:

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

commit 067121415c2a89846d5d12970291176c94579e2b
Author:     Mathieu Arnold <mat@FreeBSD.org>
AuthorDate: 2024-07-13 09:19:00 +0000
Commit:     Mathieu Arnold <mat@FreeBSD.org>
CommitDate: 2024-07-13 09:19:00 +0000

    fix: correct the error message for libassuan too
---
 security/gnupg-pkcs11-scd/files/patch-configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/security/gnupg-pkcs11-scd/files/patch-configure b/security/gnupg-pkcs11-scd/files/patch-configure
index feb34ee312b5..f75bd055ca8d 100644
--- a/security/gnupg-pkcs11-scd/files/patch-configure
+++ b/security/gnupg-pkcs11-scd/files/patch-configure
@@ -7,7 +7,7 @@ Patch to be able to use libassuan 3.x
  $as_echo_n "checking for libassuan... " >&6; }
  	test -x "${with_libassuan_prefix}/bin/libassuan-config" || as_fn_error $? "Cannot locate libassuan" "$LINENO" 5
 -	"${with_libassuan_prefix}/bin/libassuan-config" --version | grep "^2\." > /dev/null || as_fn_error $? "Need assuan-2" "$LINENO" 5
-+	"${with_libassuan_prefix}/bin/libassuan-config" --version | grep "^3\." > /dev/null || as_fn_error $? "Need assuan-2" "$LINENO" 5
++	"${with_libassuan_prefix}/bin/libassuan-config" --version | grep "^3\." > /dev/null || as_fn_error $? "Need assuan-3" "$LINENO" 5
  
  	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
  $as_echo "found" >&6; }