pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/37121: www/w3m compiles with ipv6 despite -inet6 option
>Number: 37121
>Category: pkg
>Synopsis: www/w3m compiles with ipv6 despite -inet6 option
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Oct 12 15:45:01 +0000 2007
>Originator: Yakovetsky Vladimir
>Release: NetBSD 4.99.31
>Organization:
>Environment:
System: NetBSD lrou.x.ua 4.99.31 NetBSD 4.99.31 (lrou_odd-1.852) #0: Sun Sep 30
18:16:16 EEST 2007 yx%lrou.x.ua@localhost:/sys/arch/i386/compile/lrou_odd i386
Architecture: i386
Machine: i386
>Description:
www/w3m (and www/w3m-img too)
compiles with ipv6 despite -inet6 option
>How-To-Repeat:
% grep -i inet6 /etc/mk.conf
MKINET6= no
PKG_DEFAULT_OPTIONS+= -inet6
% cd /usr/pkgsrc/www/w3m && make
...
checking if IPv6 support is enabled... yes
checking if IPv6 API available... checking for getaddrinfo... yes
...
>Fix:
--- www/w3m/options.mk.orig
+++ www/w3m/options.mk
@@ -27,8 +27,16 @@
# has a home-grown Unicode mapping table, which is huge too!
#
+PKG_SUPPORTED_OPTIONS+= inet6
+
.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