diff options
author | obache <obache> | 2007-10-15 15:44:52 +0000 |
---|---|---|
committer | obache <obache> | 2007-10-15 15:44:52 +0000 |
commit | 9310be6327f9b21bdaab92ac7b4f328aad5f5333 (patch) | |
tree | 4922b653eb4e72f12902e6b7620893d74e941a61 /www/w3m | |
parent | 939e9d29f9fb8afdeff091db26b4224fab2e5023 (diff) | |
download | pkgsrc-9310be6327f9b21bdaab92ac7b4f328aad5f5333.tar.gz |
Honor inet6 option. Based on patch provided by Yakovetsky Vladimir in PR 37121.
Diffstat (limited to 'www/w3m')
-rw-r--r-- | www/w3m/options.mk | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/www/w3m/options.mk b/www/w3m/options.mk index 5d50316fb99..11a40139788 100644 --- a/www/w3m/options.mk +++ b/www/w3m/options.mk @@ -1,7 +1,7 @@ -# $NetBSD: options.mk,v 1.5 2005/12/05 23:55:23 rillig Exp $ +# $NetBSD: options.mk,v 1.6 2007/10/15 15:44:52 obache Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.w3m -PKG_SUPPORTED_OPTIONS= w3m-lynx-key w3m-m17n w3m-unicode +PKG_SUPPORTED_OPTIONS= inet6 w3m-lynx-key w3m-m17n w3m-unicode PKG_SUGGESTED_OPTIONS= w3m-m17n .if ${_W3M_USE_IMAGE} == "YES" @@ -29,6 +29,12 @@ PKG_SUGGESTED_OPTIONS+= w3m-image-gdk-pixbuf .include "../../mk/bsd.options.mk" +.if !empty(PKG_OPTIONS:Minet6) +CONFIGURE_ARGS+= --enable-ipv6 +.else +CONFIGURE_ARGS+= --disable-ipv6 +.endif + .if !empty(PKG_OPTIONS:Mw3m-m17n) CONFIGURE_ARGS+= --enable-m17n .else |