diff options
author | obache <obache@pkgsrc.org> | 2007-10-15 15:44:52 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2007-10-15 15:44:52 +0000 |
commit | 96cd0c9712300baee3a926d2262fb8ce4e3bc26c (patch) | |
tree | 4922b653eb4e72f12902e6b7620893d74e941a61 /www/w3m | |
parent | fd69b6da468cd2dbb246b6f5310176082fd399d8 (diff) | |
download | pkgsrc-96cd0c9712300baee3a926d2262fb8ce4e3bc26c.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 |