summaryrefslogtreecommitdiff
path: root/net/wget
diff options
context:
space:
mode:
authorbouyer <bouyer>2005-01-13 13:30:08 +0000
committerbouyer <bouyer>2005-01-13 13:30:08 +0000
commit09df7e6aa0792447ac780ac2650d9b2286d3c37c (patch)
tree77dee336a6363ab07b31141d447004807e905989 /net/wget
parent4cb3f7394e2b4ee6a7da4155974a82aae3418713 (diff)
downloadpkgsrc-09df7e6aa0792447ac780ac2650d9b2286d3c37c.tar.gz
Support IPv6 via PKG_SUPPORTED_OPTIONS= inet6. Reviewed by Juan RP.
Diffstat (limited to 'net/wget')
-rw-r--r--net/wget/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/net/wget/Makefile b/net/wget/Makefile
index 7b6d2d86e08..1fd375c48d8 100644
--- a/net/wget/Makefile
+++ b/net/wget/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.75 2004/10/03 00:18:01 tv Exp $
+# $NetBSD: Makefile,v 1.76 2005/01/13 13:30:08 bouyer Exp $
DISTNAME= wget-1.9.1
PKGREVISION= 2
@@ -37,5 +37,15 @@ CONFIGURE_ARGS+=--with-ssl=${SSLBASE}
CONFIGURE_ARGS+=--without-ssl
.endif
+PKG_OPTIONS_VAR= PKG_OPTIONS.wget
+PKG_SUPPORTED_OPTIONS= inet6
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+= --enable-ipv6
+.else
+CONFIGURE_ARGS+= --disable-ipv6
+.endif
+
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"