diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-04-05 17:26:18 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-04-05 17:31:58 +0000 |
commit | 57d5d49107010fddf9ac7ff86fbbe1dbc50810e4 (patch) | |
tree | 2804df0cba01d8d89aa1caed03303fc3f0e8fe30 | |
parent | 73ce71d9616a830defac91ade52cee661069b02d (diff) | |
download | ports-57d5d49107010fddf9ac7ff86fbbe1dbc50810e4.tar.gz ports-57d5d49107010fddf9ac7ff86fbbe1dbc50810e4.zip |
math/R: Allow build with curl 8.0.0+
Approved by: portmgr (blanket)
-rw-r--r-- | math/R/files/patch-configure | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/math/R/files/patch-configure b/math/R/files/patch-configure index d29a9b4258a4..831a10096951 100644 --- a/math/R/files/patch-configure +++ b/math/R/files/patch-configure @@ -1,10 +1,30 @@ ---- configure.orig 2017-04-19 21:38:22 UTC +--- configure.orig 2023-03-07 23:16:14 UTC +++ configure -@@ -7528,6 +7528,7 @@ if test $ac_compiler_gnu = yes; then +@@ -8529,6 +8529,7 @@ if test $ac_compiler_gnu = yes; then else - G77= + GFC= fi +G77=yes ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +@@ -47587,8 +47588,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 +@@ -47606,7 +47607,7 @@ int main(int argc, const char * argv[]) + { + #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 |