pkgsrc-Changes archive

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

CVS commit: pkgsrc/wm/blackbox



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Fri Jun 11 20:14:37 UTC 2021

Modified Files:
        pkgsrc/wm/blackbox: options.mk

Log Message:
blackbox: adjust options.mk to current package name


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/wm/blackbox/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/wm/blackbox/options.mk
diff -u pkgsrc/wm/blackbox/options.mk:1.1 pkgsrc/wm/blackbox/options.mk:1.2
--- pkgsrc/wm/blackbox/options.mk:1.1   Thu Jun 10 19:05:47 2021
+++ pkgsrc/wm/blackbox/options.mk       Fri Jun 11 20:14:37 2021
@@ -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