2007-01-30 08:09:40 +01:00
|
|
|
# $NetBSD: obsolete.mk,v 1.28 2007/01/30 07:09:40 wiz Exp $
|
2001-11-25 20:28:08 +01:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2004-06-14 05:16:42 +02:00
|
|
|
.if defined(PRIV_CONF_DIR)
|
|
|
|
PKG_SYSCONFDIR.priv?= ${PRIV_CONF_DIR}
|
|
|
|
.endif
|
2004-07-19 22:00:15 +02:00
|
|
|
|
2004-07-30 23:05:41 +02:00
|
|
|
###
|
2005-06-06 15:54:51 +02:00
|
|
|
### Set PKG_LEGACY_OPTIONS based on to-be-deprecated global variables.
|
2004-07-30 23:05:41 +02:00
|
|
|
###
|
2005-05-08 15:43:30 +02:00
|
|
|
|
2004-07-30 23:05:41 +02:00
|
|
|
.if defined(KERBEROS)
|
2005-05-08 15:43:30 +02:00
|
|
|
. if ${KERBEROS} == "4" && !empty(PKG_SUPPORTED_OPTIONS:Mkerberos4)
|
2005-06-06 15:54:51 +02:00
|
|
|
PKG_LEGACY_OPTIONS+= kerberos4
|
|
|
|
PKG_OPTIONS_DEPRECATED_WARNINGS+="Deprecated variable KERBEROS used, use PKG_DEFAULT_OPTIONS+=kerberos4 instead."
|
2005-05-08 15:43:30 +02:00
|
|
|
. elif !empty(PKG_SUPPORTED_OPTIONS:Mkerberos)
|
2005-06-06 15:54:51 +02:00
|
|
|
PKG_LEGACY_OPTIONS+= kerberos
|
|
|
|
PKG_OPTIONS_DEPRECATED_WARNINGS+="Deprecated variable KERBEROS used, use PKG_DEFAULT_OPTIONS+=kerberos instead."
|
2004-07-19 22:00:15 +02:00
|
|
|
. endif
|
|
|
|
.endif
|
2005-12-02 18:07:14 +01:00
|
|
|
|
|
|
|
PKG_OPTIONS_LEGACY_VARS+= USE_INET6:inet6
|