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