Subject: ipv6 for wget
To: None <tech-pkg@NetBSD.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-pkg
Date: 01/10/2005 19:02:20
--fdj2RfSjLxBAspz7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,
would anyone mind if I commit the attached patch to net/wget (with pkgrevision
bymp) ?
It enables ipv6 support for wget.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--

--fdj2RfSjLxBAspz7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=wget-diff

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/wget/Makefile,v
retrieving revision 1.75
diff -u -r1.75 Makefile
--- Makefile	3 Oct 2004 00:18:01 -0000	1.75
+++ Makefile	10 Jan 2005 18:01:09 -0000
@@ -37,5 +37,11 @@
 CONFIGURE_ARGS+=--without-ssl
 .endif
 
+BUILD_DEFS+=		USE_INET6
+
+.if defined(USE_INET6) && ${USE_INET6} == YES
+CONFIGURE_ARGS+=	--enable-ipv6
+.endif
+
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

--fdj2RfSjLxBAspz7--