diff options
author | wiz <wiz> | 2007-01-29 21:24:13 +0000 |
---|---|---|
committer | wiz <wiz> | 2007-01-29 21:24:13 +0000 |
commit | 414bdf127cb7b375ecb4e27d828eec285909b350 (patch) | |
tree | f1fd2491f3056c65c5a1fd60fd13d9671d83c854 /x11 | |
parent | 985383f7aba81756937e27386dfcf244bea459d7 (diff) | |
download | pkgsrc-414bdf127cb7b375ecb4e27d828eec285909b350.tar.gz |
As Joachim König-Baltes correctly points out, assigning to variables
that end with a '+' is difficult in make(1).
Thus, rename the options variable from PKG_OPTIONS.gtk2+ to
PKG_OPTIONS.gtk2, and add a warning for those still using the
old one.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/gtk2/options.mk | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/x11/gtk2/options.mk b/x11/gtk2/options.mk index 77f874ef3bc..015fdcd72cc 100644 --- a/x11/gtk2/options.mk +++ b/x11/gtk2/options.mk @@ -1,6 +1,6 @@ -# $NetBSD: options.mk,v 1.4 2007/01/06 15:13:15 wiz Exp $ +# $NetBSD: options.mk,v 1.5 2007/01/29 21:24:13 wiz Exp $ -PKG_OPTIONS_VAR= PKG_OPTIONS.gtk2+ +PKG_OPTIONS_VAR= PKG_OPTIONS.gtk2 PKG_SUPPORTED_OPTIONS= cups debug PKG_OPTIONS_REQUIRED_GROUPS= gdk-target PKG_OPTIONS_GROUP.gdk-target= x11 @@ -9,6 +9,12 @@ PKG_OPTIONS_GROUP.gdk-target+= quartz .endif PKG_SUGGESTED_OPTIONS= x11 +# remove after pkgsrc-2007Q1 +.if defined(PKG_OPTIONS.gtk2+) +PKG_LEGACY_OPTIONS+= ${PKG_OPTIONS.gtk2+} +PKG_OPTIONS_DEPRECATED_WARNINGS+="Deprecated variable PKG_OPTIONS.gtk2+ used, use "${PKG_OPTIONS_VAR:Q}" instead." +.endif + .include "../../mk/bsd.options.mk" .if !empty(PKG_OPTIONS:Mcups) |