diff options
author | dillo <dillo> | 2005-06-06 13:55:30 +0000 |
---|---|---|
committer | dillo <dillo> | 2005-06-06 13:55:30 +0000 |
commit | 71b437436cb44fcfdcfa214a743f1eee7a69d618 (patch) | |
tree | 7e444dda08714cb82f7f9c76677e16f14f2c3d5f /chat | |
parent | ded32b65b747b019fe6d05becde7914c6780a5bd (diff) | |
download | pkgsrc-71b437436cb44fcfdcfa214a743f1eee7a69d618.tar.gz |
handle legacy PKG_OPTIONS_VAR correctly, with warning
Diffstat (limited to 'chat')
-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" ### |