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 | 827c030269079c8f358bc515a50384456c8ce780 (patch) | |
tree | 7e444dda08714cb82f7f9c76677e16f14f2c3d5f /chat/xchat | |
parent | 798c8fe6c46c5965ebf3372f83cea09e4e312e05 (diff) | |
download | pkgsrc-827c030269079c8f358bc515a50384456c8ce780.tar.gz |
handle legacy PKG_OPTIONS_VAR correctly, with warning
Diffstat (limited to 'chat/xchat')
-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" ### |