a55c83b93b
PKG_LEGACY_OPTIONS PKG_OPTIONS_DEPRECATED_WARNINGS
57 lines
2.2 KiB
Makefile
57 lines
2.2 KiB
Makefile
# $NetBSD: obsolete.mk,v 1.11 2005/06/06 13:54:51 dillo 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
|
|
.if defined(USE_SOCKS)
|
|
. if ${USE_SOCKS} == "4" && !empty(PKG_SUPPORTED_OPTIONS:Msocks4)
|
|
PKG_LEGACY_OPTIONS+= socks4
|
|
PKG_OPTIONS_DEPRECATED_WARNINGS+="Deprecated variable SOCKS used, use PKG_DEFAULT_OPTIONS+=socks4 instead."
|
|
. elif ${USE_SOCKS} == "5" && !empty(PKG_SUPPORTED_OPTIONS:Msocks5)
|
|
PKG_LEGACY_OPTIONS+= socks5
|
|
PKG_OPTIONS_DEPRECATED_WARNINGS+="Deprecated variable SOCKS used, use PKG_DEFAULT_OPTIONS+=socks5 instead."
|
|
. endif
|
|
.endif
|
|
|
|
PKG_OPTIONS_LEGACY_VARS+= USE_CANNA:canna
|
|
PKG_OPTIONS_LEGACY_VARS+= USE_CUPS:cups
|
|
PKG_OPTIONS_LEGACY_VARS+= USE_DB4:db4
|
|
PKG_OPTIONS_LEGACY_VARS+= USE_ESOUND:esound
|
|
PKG_OPTIONS_LEGACY_VARS+= USE_GIF:gif
|
|
PKG_OPTIONS_LEGACY_VARS+= USE_I586:i586
|
|
PKG_OPTIONS_LEGACY_VARS+= USE_IDEA:idea
|
|
PKG_OPTIONS_LEGACY_VARS+= USE_INET6:inet6
|
|
PKG_OPTIONS_LEGACY_VARS+= USE_INN:inn
|
|
PKG_OPTIONS_LEGACY_VARS+= USE_LIBCRACK:libcrack
|
|
PKG_OPTIONS_LEGACY_VARS+= USE_MILTER:milter
|
|
PKG_OPTIONS_LEGACY_VARS+= USE_MMX:mmx
|
|
PKG_OPTIONS_LEGACY_VARS+= USE_OPENLDAP:ldap
|
|
PKG_OPTIONS_LEGACY_VARS+= USE_OSS:oss
|
|
PKG_OPTIONS_LEGACY_VARS+= USE_PAM:pam
|
|
PKG_OPTIONS_LEGACY_VARS+= USE_RSAREF2:rsaref
|
|
PKG_OPTIONS_LEGACY_VARS+= USE_SASL:sasl
|
|
PKG_OPTIONS_LEGACY_VARS+= USE_SASL2:sasl
|
|
PKG_OPTIONS_LEGACY_VARS+= USE_SJ3:sj3
|
|
PKG_OPTIONS_LEGACY_VARS+= USE_SSL:ssl
|
|
PKG_OPTIONS_LEGACY_VARS+= USE_WNN4:wnn4
|
|
PKG_OPTIONS_LEGACY_VARS+= USE_XFACE:xface
|
|
|
|
PKG_OPTIONS_LEGACY_OPTS+= PAM:pam
|