Subject: Re: ipv6 for wget
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Juan RP <juan@xtraeme.nopcode.org>
List: tech-pkg
Date: 01/10/2005 20:43:08
--Signature=_Mon__10_Jan_2005_20_43_08_+0100_4sLTc20pnzjSBY5h
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Mon, 10 Jan 2005 20:37:55 +0100
Manuel Bouyer <bouyer@antioche.eu.org> wrote:

> is USE_INET6 deprecated ? It seems USE_INET6 is much more used than
> PKG_SUPPORTED_OPTIONS= inet6.
> The avantage of USE_INET6 it that it'll default to the right value depending
> on the system's ipv6 support. I don't know why wget's configure doesn't do it
> by itself.

It's much more used because all packages are not converted to use
bsd.options.mk yet, and if you use PKG_SUPPORTED_OPTIONS=inet6 it will
default to the right value as USE_INET6, e.g:

mk/bsd.prefs.mk:

# if the system is IPv6-ready, compile with IPv6 support turned on.
.if defined(USE_INET6)
.  if empty(USE_INET6:M[Yy][Ee][Ss]) || defined(USE_SOCKS)
USE_INET6=              NO
.  else
PKG_DEFAULT_OPTIONS+=   inet6
USE_INET6=              YES
.  endif
.elif empty(_OPSYS_HAS_INET6:M[nN][oO]) && !defined(USE_SOCKS)
PKG_DEFAULT_OPTIONS+=   inet6
USE_INET6=              YES
.else
USE_INET6=              NO
.endif

--Signature=_Mon__10_Jan_2005_20_43_08_+0100_4sLTc20pnzjSBY5h
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iD8DBQFB4trMypkLYVDran0RAlY+AJ9cwmMCliSWdvv+J5VzoSWREGJEFwCgss/S
ikGbTCa/aI/XjFHehQ0ImCw=
=xQdC
-----END PGP SIGNATURE-----

--Signature=_Mon__10_Jan_2005_20_43_08_+0100_4sLTc20pnzjSBY5h--