1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

math/libRmath: Allow build with curl 8.0.0+

(cherry picked from commit 73ce71d961)
This commit is contained in:
Po-Chuan Hsieh 2023-04-06 01:26:14 +08:00
parent 8c231c32ec
commit 65ba7f0bc4
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B

View File

@ -0,0 +1,22 @@
--- configure.orig 2022-10-23 22:16:12 UTC
+++ configure
@@ -47584,8 +47584,8 @@ fi
done
if test "x${have_libcurl}" = "xyes"; then
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libcurl is version 7 and >= 7.28.0" >&5
-printf %s "checking if libcurl is version 7 and >= 7.28.0... " >&6; }
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libcurl is >= 7.28.0" >&5
+printf %s "checking if libcurl is >= 7.28.0... " >&6; }
if test ${r_cv_have_curl728+y}
then :
printf %s "(cached) " >&6
@@ -47603,7 +47603,7 @@ int main()
{
#ifdef LIBCURL_VERSION_MAJOR
#if LIBCURL_VERSION_MAJOR > 7
- exit(1);
+ exit(0);
#elif LIBCURL_VERSION_MAJOR == 7 && LIBCURL_VERSION_MINOR >= 28
exit(0);
#else