diff options
author | wiz <wiz> | 2007-01-29 21:24:13 +0000 |
---|---|---|
committer | wiz <wiz> | 2007-01-29 21:24:13 +0000 |
commit | f6570d99e0e2fb0b0246d52be1e3050a3695dcf3 (patch) | |
tree | f1fd2491f3056c65c5a1fd60fd13d9671d83c854 /x11/gtk2/options.mk | |
parent | 959a9b701ce67eeb7a9b27c6557e03b98b908d67 (diff) | |
download | pkgsrc-f6570d99e0e2fb0b0246d52be1e3050a3695dcf3.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/gtk2/options.mk')
-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) |