tech-pkg archive

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

IPV6_READY, USE_INET6 and inet6 PKG_OPTIONS



Hi,

I would like to clean up inet6 option handling.

First, IPV6_READY, is it still usable?
Must it be added to BUILD_DEFS for any ipv6 ready packages?
(It is not documented in the guide, then I feel many packages do not care it)

Second,  USE_INET6:inet6 is added to  PKG_OPTIONS_LEGACY_VARS in 
mk/defaults/obsolete.mk.
Is it still required?
USE_INET6 is set as "YES" by default in /usr/share/mk/bsd.own.mk for NetBSD,
so unwanted deprecated variable warning will be risen in any package having 
inet6 option.
Furthermore, even inet6 support is experimental, and not in 
PKG_SUGGESTED_OPTIONS,
it will be enabled automatically, it is unwished behavior.
I feel USE_INET6 should be gone away, or opposite behavior, i.e. if 
USE_INET6=NO,
inet6 option will be disabled by default.

Finally, inet6 option in PKG_OPTIONS, even if inet6 option is in 
PKG_SUGGESTED_OPTIONS,
I feel it should be removed from PKG_OPTIONS automatically if IPV6_READY=no.
(but I don't know if there are inet6 options require no system inet6 support or 
not).

Any comments, suggestions, or objections?

--
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index