summaryrefslogtreecommitdiff
path: root/www/curl
diff options
context:
space:
mode:
Diffstat (limited to 'www/curl')
-rw-r--r--www/curl/Makefile12
-rw-r--r--www/curl/PLIST4
-rw-r--r--www/curl/distinfo8
-rw-r--r--www/curl/options.mk12
4 files changed, 23 insertions, 13 deletions
diff --git a/www/curl/Makefile b/www/curl/Makefile
index f12839482dd..5bb2bb27237 100644
--- a/www/curl/Makefile
+++ b/www/curl/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.65 2006/07/04 06:30:25 wiz Exp $
+# $NetBSD: Makefile,v 1.66 2006/08/10 14:18:14 wiz Exp $
-DISTNAME= curl-7.15.4
+DISTNAME= curl-7.15.5
CATEGORIES= www
MASTER_SITES= http://curl.haxx.se/download/ \
ftp://ftp.sunet.se/pub/www/utilities/curl/ \
@@ -26,14 +26,10 @@ CONFIGURE_ENV+= F77=${FALSE:Q}
# needs perl
TEST_TARGET= check
-.include "../../mk/bsd.prefs.mk"
-
-.if empty(USE_INET6:M[yY][eE][sS])
-CONFIGURE_ARGS+= --disable-ipv6
-.endif
+.include "options.mk"
post-configure:
- @if ${GREP} '#define HAVE_SYS_SELECT_H 1' ${WRKSRC}/src/config.h \
+ if ${GREP} '#define HAVE_SYS_SELECT_H 1' ${WRKSRC}/src/config.h \
>/dev/null; \
then \
line='#include <sys/select.h>'; \
diff --git a/www/curl/PLIST b/www/curl/PLIST
index c147d200cb3..34898505eaa 100644
--- a/www/curl/PLIST
+++ b/www/curl/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.20 2006/07/03 21:32:09 wiz Exp $
+@comment $NetBSD: PLIST,v 1.21 2006/08/10 14:18:16 wiz Exp $
bin/curl
bin/curl-config
include/curl/curl.h
@@ -25,6 +25,7 @@ man/man3/curl_easy_unescape.3
man/man3/curl_escape.3
man/man3/curl_formadd.3
man/man3/curl_formfree.3
+man/man3/curl_formget.3
man/man3/curl_free.3
man/man3/curl_getdate.3
man/man3/curl_getenv.3
@@ -33,6 +34,7 @@ man/man3/curl_global_init.3
man/man3/curl_global_init_mem.3
man/man3/curl_mprintf.3
man/man3/curl_multi_add_handle.3
+man/man3/curl_multi_assign.3
man/man3/curl_multi_cleanup.3
man/man3/curl_multi_fdset.3
man/man3/curl_multi_info_read.3
diff --git a/www/curl/distinfo b/www/curl/distinfo
index 74a8c29c009..880728844c7 100644
--- a/www/curl/distinfo
+++ b/www/curl/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.45 2006/07/03 21:32:09 wiz Exp $
+$NetBSD: distinfo,v 1.46 2006/08/10 14:18:16 wiz Exp $
-SHA1 (curl-7.15.4.tar.bz2) = 74d3ce2060754a2ccc7a7775712e22720f74a662
-RMD160 (curl-7.15.4.tar.bz2) = bbef248926d3935272746f605d91e6f03badff6b
-Size (curl-7.15.4.tar.bz2) = 1519792 bytes
+SHA1 (curl-7.15.5.tar.bz2) = b79ee06d1da58c12c23a1b8aeccdb2b74a692cc7
+RMD160 (curl-7.15.5.tar.bz2) = 4494cffb382c81b7211830c7e6e40ef9ed8f4ef0
+Size (curl-7.15.5.tar.bz2) = 1543007 bytes
diff --git a/www/curl/options.mk b/www/curl/options.mk
new file mode 100644
index 00000000000..60bee6d8405
--- /dev/null
+++ b/www/curl/options.mk
@@ -0,0 +1,12 @@
+# $NetBSD: options.mk,v 1.1 2006/08/10 14:18:16 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.curl
+PKG_SUPPORTED_OPTIONS= inet6
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+= --enable-ipv6
+.else
+CONFIGURE_ARGS+= --disable-ipv6
+.endif