diff options
author | itojun <itojun> | 2002-03-15 08:18:45 +0000 |
---|---|---|
committer | itojun <itojun> | 2002-03-15 08:18:45 +0000 |
commit | 1991525f79bf4ccac77b32a91ea40d6ff0eff7f1 (patch) | |
tree | 768df87b8eb2da85d1b100c92bed86b5892e7145 | |
parent | b62d030dafbd9b0c6aa95e6ae2010338f6f35bb9 (diff) | |
download | pkgsrc-1991525f79bf4ccac77b32a91ea40d6ff0eff7f1.tar.gz |
re-enable IPv6.
-rw-r--r-- | www/curl/Makefile | 9 | ||||
-rw-r--r-- | www/curl/distinfo | 3 | ||||
-rw-r--r-- | www/curl/patches/patch-aa | 13 |
3 files changed, 23 insertions, 2 deletions
diff --git a/www/curl/Makefile b/www/curl/Makefile index db59c34d93e..14182cb4ed6 100644 --- a/www/curl/Makefile +++ b/www/curl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2002/03/15 07:46:22 itojun Exp $ +# $NetBSD: Makefile,v 1.15 2002/03/15 08:18:45 itojun Exp $ DISTNAME= curl-7.9.5 CATEGORIES= www @@ -11,6 +11,7 @@ HOMEPAGE= http://curl.haxx.se/ COMMENT= client that groks URLs # list it into IPv6-ready packages +.include "../../mk/bsd.prefs.mk" BUILD_DEFS+= USE_INET6 USE_BUILDLINK_ONLY= yes @@ -19,6 +20,12 @@ USE_GMAKE= yes USE_LIBTOOL= yes LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig CONFIGURE_ARGS+= --with-ssl=${BUILDLINK_DIR} +.if defined(USE_INET6) && ${USE_INET6} == "YES" +CONFIGURE_ARGS+= --enable-ipv6 +.else +CONFIGURE_ARGS+= --disable-ipv6 +.endif +CONFIGURE_ARGS+= --enable-debug # This causes curl-config not to be regenerated during build-time as it was # already created at configure-time. diff --git a/www/curl/distinfo b/www/curl/distinfo index e9d05403a72..0d71939ad97 100644 --- a/www/curl/distinfo +++ b/www/curl/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.8 2002/03/15 07:46:22 itojun Exp $ +$NetBSD: distinfo,v 1.9 2002/03/15 08:18:45 itojun Exp $ SHA1 (curl-7.9.5.tar.gz) = 3c493a59d62c26b1ce9ba5c291b7ba1f244149e5 Size (curl-7.9.5.tar.gz) = 677596 bytes +SHA1 (patch-aa) = a8bf65bc0a29b6fa301d46ed1b8fab70930fdc96 diff --git a/www/curl/patches/patch-aa b/www/curl/patches/patch-aa new file mode 100644 index 00000000000..90dc3dceef8 --- /dev/null +++ b/www/curl/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.3 2002/03/15 08:18:46 itojun Exp $ + +--- lib/hostip.c- Fri Mar 15 17:14:26 2002 ++++ lib/hostip.c Fri Mar 15 17:14:32 2002 +@@ -293,7 +293,7 @@ + char sbuf[NI_MAXSERV]; + + memset(&hints, 0, sizeof(hints)); +- hints.ai_family = PF_INET; ++ hints.ai_family = PF_UNSPEC; + hints.ai_socktype = SOCK_STREAM; + hints.ai_flags = AI_CANONNAME; + snprintf(sbuf, sizeof(sbuf), "%d", port); |