summaryrefslogtreecommitdiff
path: root/net/wget
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>2005-01-13 13:30:08 +0000
committerbouyer <bouyer@pkgsrc.org>2005-01-13 13:30:08 +0000
commit3af67119d7c16c3d66a932335d1c9cd5c357baf8 (patch)
tree77dee336a6363ab07b31141d447004807e905989 /net/wget
parent6c8685063da52e8e4b21c51d1e68d2bb4b1726f9 (diff)
downloadpkgsrc-3af67119d7c16c3d66a932335d1c9cd5c357baf8.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"