pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/w3m Honor inet6 option. Based on patch provided b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c1eaa681657d
branches:  trunk
changeset: 534287:c1eaa681657d
user:      obache <obache%pkgsrc.org@localhost>
date:      Mon Oct 15 15:44:52 2007 +0000

description:
Honor inet6 option.  Based on patch provided by Yakovetsky Vladimir in PR 37121.

diffstat:

 www/w3m/options.mk |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r ffdec9d1cb47 -r c1eaa681657d www/w3m/options.mk
--- a/www/w3m/options.mk        Mon Oct 15 15:40:10 2007 +0000
+++ b/www/w3m/options.mk        Mon Oct 15 15:44:52 2007 +0000
@@ -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 @@
 
 .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



Home | Main Index | Thread Index | Old Index