pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/wm/blackbox blackbox: adjust options.mk to current pac...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/905b33fde767
branches:  trunk
changeset: 454441:905b33fde767
user:      gutteridge <gutteridge%pkgsrc.org@localhost>
date:      Fri Jun 11 20:14:37 2021 +0000

description:
blackbox: adjust options.mk to current package name

diffstat:

 wm/blackbox/options.mk |  13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 2bd5fddfe077 -r 905b33fde767 wm/blackbox/options.mk
--- a/wm/blackbox/options.mk    Fri Jun 11 17:23:41 2021 +0000
+++ b/wm/blackbox/options.mk    Fri Jun 11 20:14:37 2021 +0000
@@ -1,9 +1,18 @@
-# $NetBSD: options.mk,v 1.1 2021/06/10 19:05:47 gutteridge Exp $
+# $NetBSD: options.mk,v 1.2 2021/06/11 20:14:37 gutteridge Exp $
 
-PKG_OPTIONS_VAR=       PKG_OPTIONS.blackbox70
+PKG_OPTIONS_VAR=       PKG_OPTIONS.blackbox
 PKG_SUPPORTED_OPTIONS= nls xft2
 PKG_SUGGESTED_OPTIONS= nls xft2
 
+.include "../../mk/bsd.prefs.mk"
+
+# This package was previously named blackbox70.
+.if defined(PKG_OPTIONS.blackbox70)
+PKG_LEGACY_OPTIONS+=   ${PKG_OPTIONS.blackbox70}
+PKG_OPTIONS_DEPRECATED_WARNINGS+=      \
+       "Deprecated variable PKG_OPTIONS.blackbox70 used, use "${PKG_OPTIONS_VAR:Q}" instead."
+.endif
+
 .include "../../mk/bsd.options.mk"
 
 PLIST_VARS+=   nls



Home | Main Index | Thread Index | Old Index