diff options
author | dillo <dillo@pkgsrc.org> | 2005-06-06 13:55:30 +0000 |
---|---|---|
committer | dillo <dillo@pkgsrc.org> | 2005-06-06 13:55:30 +0000 |
commit | ac0a526208f036034248db4c68de7ae0ee7f843c (patch) | |
tree | 7e444dda08714cb82f7f9c76677e16f14f2c3d5f /chat/xchat/options.mk | |
parent | a55c83b93b77d12f544762f47b102b459761f68d (diff) | |
download | pkgsrc-ac0a526208f036034248db4c68de7ae0ee7f843c.tar.gz |
handle legacy PKG_OPTIONS_VAR correctly, with warning
Diffstat (limited to 'chat/xchat/options.mk')
-rw-r--r-- | chat/xchat/options.mk | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/chat/xchat/options.mk b/chat/xchat/options.mk index c43408aaf1d..132935abe97 100644 --- a/chat/xchat/options.mk +++ b/chat/xchat/options.mk @@ -1,16 +1,18 @@ -# $NetBSD: options.mk,v 1.4 2005/06/06 12:02:08 tron Exp $ +# $NetBSD: options.mk,v 1.5 2005/06/06 13:55:30 dillo Exp $ .include "../../mk/bsd.prefs.mk" -.if defined(PKG_OPTIONS.xchat2) -PKG_OPTIONS.xchat?= ${PKG_OPTIONS.xchat2} -.endif PKG_OPTIONS_VAR= PKG_OPTIONS.xchat PKG_SUPPORTED_OPTIONS= inet6 ssl socks5 PKG_SUGGESTED_OPTIONS= inet6 ssl PKG_OPTIONS_LEGACY_OPTS+= socks:socks5 +.if defined(PKG_OPTIONS.xchat2) +PKG_LEGACY_OPTIONS+= ${PKG_OPTIONS.xchat2} +PKG_OPTIONS_DEPRECATED_WARNINGS+="Deprecated variable PKG_OPTIONS.xchat2 used, use "${PKG_OPTIONS_VAR:Q}" instead." +.endif + .include "../../mk/bsd.options.mk" ### |