pkgsrc/news/inn/options.mk
jlam 07dd3147c6 Convert packages that test and use USE_INET6 to use the options framework
and to support the "inet6" option instead.

Remaining usage of USE_INET6 was solely for the benefit of the scripts
that generate the README.html files.  Replace:

	BUILD_DEFS+=	USE_INET6
with
	BUILD_DEFS+=	IPV6_READY

and teach the README-generation tools to look for that instead.

This nukes USE_INET6 from pkgsrc proper.  We leave a tiny bit of code
to continue to support USE_INET6 for pkgsrc-wip until it has been nuked
from there as well.
2007-09-07 22:12:10 +00:00

24 lines
493 B
Makefile

# $NetBSD: options.mk,v 1.3 2007/09/07 22:12:20 jlam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.inn
PKG_SUPPORTED_OPTIONS= inet6 python
PKG_SUGGESTED_OPTIONS= # empty
.include "../../mk/bsd.options.mk"
###
### IPv6 support
###
.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+= --enable-ipv6
.endif
###
### Python support for INN
###
.if !empty(PKG_OPTIONS:Mpython)
CONFIGURE_ARGS+= --with-python
CONFIGURE_ENV+= _PATH_PYTHON=${PYTHONBIN:Q}
.include "../../lang/python/application.mk"
.endif