pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libstatgrab Convert options.mk to standard forma...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3535b1206937
branches:  trunk
changeset: 393018:3535b1206937
user:      obache <obache%pkgsrc.org@localhost>
date:      Sat May 16 04:18:13 2009 +0000

description:
Convert options.mk to standard format/usage.

diffstat:

 devel/libstatgrab/options.mk |  15 +++++----------
 1 files changed, 5 insertions(+), 10 deletions(-)

diffs (29 lines):

diff -r 7c7b9fef30a7 -r 3535b1206937 devel/libstatgrab/options.mk
--- a/devel/libstatgrab/options.mk      Sat May 16 01:34:22 2009 +0000
+++ b/devel/libstatgrab/options.mk      Sat May 16 04:18:13 2009 +0000
@@ -1,20 +1,15 @@
-# $NetBSD: options.mk,v 1.2 2008/04/09 16:21:48 jlam Exp $
+# $NetBSD: options.mk,v 1.3 2009/05/16 04:18:13 obache Exp $
 
-PKG_OPTIONS_VAR=       libstatgrab
+PKG_OPTIONS_VAR=       PKG_OPTIONS.libstatgrab
 PKG_SUPPORTED_OPTIONS= saidar statgrab
-PKG_DEFAULT_OPTIONS=   saidar statgrab
+PKG_SUGGESTED_OPTIONS= saidar statgrab
+PKG_OPTIONS_LEGACY_VARS+=      WITHOUT_SAIDAR:-saidar
+PKG_OPTIONS_LEGACY_VARS+=      WITHOUT_STATGRAB:-statgrab
 
 .include "../../mk/bsd.options.mk"
 
 PLIST_VARS+=           saidar statgrab
 
-.if defined(WITHOUT_SAIDAR)
-PKG_OPTIONS_DEPRECATED_WARNINGS+="Deprecated variable WITHOUT_SAIDAR used; use \`\`-saidar'' instead."
-.endif
-.if defined(WITHOUT_STATGRAB)
-PKG_OPTIONS_DEPRECATED_WARNINGS+="Deprecated variable WITHOUT_STATGRAB used; use \`\`-statgrab'' instead."
-.endif
-
 .if !empty(PKG_OPTIONS:Mstatgrab)
 PLIST.statgrab=                yes
 .else



Home | Main Index | Thread Index | Old Index