diff options
author | bouyer <bouyer> | 2005-01-13 13:30:08 +0000 |
---|---|---|
committer | bouyer <bouyer> | 2005-01-13 13:30:08 +0000 |
commit | 09df7e6aa0792447ac780ac2650d9b2286d3c37c (patch) | |
tree | 77dee336a6363ab07b31141d447004807e905989 /net/wget | |
parent | 4cb3f7394e2b4ee6a7da4155974a82aae3418713 (diff) | |
download | pkgsrc-09df7e6aa0792447ac780ac2650d9b2286d3c37c.tar.gz |
Support IPv6 via PKG_SUPPORTED_OPTIONS= inet6. Reviewed by Juan RP.
Diffstat (limited to 'net/wget')
-rw-r--r-- | net/wget/Makefile | 12 |
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" |