aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/rexx-curl
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2006-12-13 20:41:35 +0800
committerroam <roam@FreeBSD.org>2006-12-13 20:41:35 +0800
commitde4cf73f5446a2a8a2c782e21edd36968046a9e7 (patch)
treea8af6bc7bac65179902c59b7a1f9ab026c6203c4 /ftp/rexx-curl
parentf6df9e67cbe8aa509adda747e0c3bcbe05c8c99b (diff)
downloadfreebsd-ports-gnome-de4cf73f5446a2a8a2c782e21edd36968046a9e7.tar.gz
freebsd-ports-gnome-de4cf73f5446a2a8a2c782e21edd36968046a9e7.tar.zst
freebsd-ports-gnome-de4cf73f5446a2a8a2c782e21edd36968046a9e7.zip
Update the ftp/curl port to 7.16.0.
Bump PORTREVISION of all dependent ports. Fix the build errors in the few ports that still use the long deprecated, and now obsoleted, cURL options. Thanks to everyone who took the time to look over the patch! Discussed on: -ports
Diffstat (limited to 'ftp/rexx-curl')
-rw-r--r--ftp/rexx-curl/Makefile3
-rw-r--r--ftp/rexx-curl/files/patch-rexxcurl.c11
2 files changed, 13 insertions, 1 deletions
diff --git a/ftp/rexx-curl/Makefile b/ftp/rexx-curl/Makefile
index 1853ca513eb0..88ec3bfda3a6 100644
--- a/ftp/rexx-curl/Makefile
+++ b/ftp/rexx-curl/Makefile
@@ -8,6 +8,7 @@
PORTNAME= curl
PORTVERSION= 1.4
+PORTREVISION= 1
CATEGORIES= ftp
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= rexx${PORTNAME}
@@ -18,7 +19,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= External function package providing an interface to the cURL package
BUILD_DEPENDS= rexx:${PORTSDIR}/lang/rexx-regina
-LIB_DEPENDS= curl.3:${PORTSDIR}/ftp/curl
+LIB_DEPENDS= curl.4:${PORTSDIR}/ftp/curl
RUN_DEPENDS= rexx:${PORTSDIR}/lang/rexx-regina
USE_GMAKE= yes
diff --git a/ftp/rexx-curl/files/patch-rexxcurl.c b/ftp/rexx-curl/files/patch-rexxcurl.c
new file mode 100644
index 000000000000..b2832bbbe4b6
--- /dev/null
+++ b/ftp/rexx-curl/files/patch-rexxcurl.c
@@ -0,0 +1,11 @@
+--- rexxcurl.c.orig Tue Dec 5 16:30:55 2006
++++ rexxcurl.c Tue Dec 5 16:31:14 2006
+@@ -323,7 +323,7 @@
+ { "RANGE" ,CURLOPT_RANGE ,RXCURLOPT_STRING },
+ { "REFERER" ,CURLOPT_REFERER ,RXCURLOPT_STRING },
+ { "RESUMEFROM" ,CURLOPT_RESUME_FROM ,RXCURLOPT_LONGLONG },
+-#if LIBCURL_VERSION_NUM >= 0x070d00
++#if LIBCURL_VERSION_NUM >= 0x070d00 && LIBCURL_VERSION_NUM < 0x071000
+ { "SOURCEPOSTQUOTE" ,CURLOPT_SOURCE_POSTQUOTE,RXCURLOPT_LIST },
+ { "SOURCEPREQUOTE" ,CURLOPT_SOURCE_PREQUOTE ,RXCURLOPT_LIST },
+ { "SOURCEQUOTE" ,CURLOPT_SOURCE_QUOTE ,RXCURLOPT_LIST },