73a34d69f2
For a long time, the norm in pkgsrc was that packages had an option for IPv6 support "inet6", and this was not in PKG_SUGGESTED_OPTIONS. On NetBSD (and probably other BSD), USE_INET6 was defined in system mk files, and pkgsrc noticed this and enabled the inet6 option globally. But, in some environments, this did not happen. The inet6 option has been added to PKG_SUGGESTED_OPTIONS for almost all packages. This change decouples IPv6 support in pkgsrc from the base system. People building on systems that do not support IPv6, or who do not want IPv6 support in packages, can add PKG_DEFAULT_OPTIONS+= -inet6 to mk.conf. (Discussed for the last week on various lists, and ok wiz@.)
23 lines
859 B
Makefile
23 lines
859 B
Makefile
# $NetBSD: obsolete.mk,v 1.29 2012/06/13 14:29:16 gdt Exp $
|
|
#
|
|
# This file holds make(1) logic to allow obsolete or deprecated variables
|
|
# still to be used. These may eventually disappear over time as the contents
|
|
# are, by definition, obsolete and deprecated.
|
|
|
|
.if defined(PRIV_CONF_DIR)
|
|
PKG_SYSCONFDIR.priv?= ${PRIV_CONF_DIR}
|
|
.endif
|
|
|
|
###
|
|
### Set PKG_LEGACY_OPTIONS based on to-be-deprecated global variables.
|
|
###
|
|
|
|
.if defined(KERBEROS)
|
|
. if ${KERBEROS} == "4" && !empty(PKG_SUPPORTED_OPTIONS:Mkerberos4)
|
|
PKG_LEGACY_OPTIONS+= kerberos4
|
|
PKG_OPTIONS_DEPRECATED_WARNINGS+="Deprecated variable KERBEROS used, use PKG_DEFAULT_OPTIONS+=kerberos4 instead."
|
|
. elif !empty(PKG_SUPPORTED_OPTIONS:Mkerberos)
|
|
PKG_LEGACY_OPTIONS+= kerberos
|
|
PKG_OPTIONS_DEPRECATED_WARNINGS+="Deprecated variable KERBEROS used, use PKG_DEFAULT_OPTIONS+=kerberos instead."
|
|
. endif
|
|
.endif
|