1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

fix: correct the error message for libassuan too

This commit is contained in:
Mathieu Arnold 2024-07-13 11:19:00 +02:00
parent 89914c4ba9
commit 067121415c
No known key found for this signature in database
GPG Key ID: 7F620E0A9E9D41BE

View File

@ -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; }