Since there is a useflag available and it's trivial to add it, I think we should add it to the ebuild. ipv6 is a global flag and should control as much as possible the installed packages. The solution (I tested it) is just: -IUSE="nls dbus gnutls" +IUSE="ipv6 nls dbus gnutls" local myconf + if ! use ipv6; then + myconf="${myconf} --disable-ipv6" + fi if ! use nls; then myconf="${myconf} --disable-nls" fi
The current set of USE flags have been discussed together with upstream, and their recommendation is to always enable ipv6. The reason there is a configure option for it is that this may allow compilation on systems that do not have any support for ipv6 at all. The ipv6 support does not pull in any extra dependencies and the amount of extra code it pulls in is very small, so I see no benefit in making this into a USE flag. Please feel free to reopen the bug if you have actual problems with the ipv6 support.
*** Bug 368493 has been marked as a duplicate of this bug. ***