pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/inputmethod/anthy use PKG_OPTIONS_LEGACY_VARS to handl...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e73543ffc54e
branches:  trunk
changeset: 494978:e73543ffc54e
user:      dillo <dillo%pkgsrc.org@localhost>
date:      Wed Jun 01 14:03:15 2005 +0000

description:
use PKG_OPTIONS_LEGACY_VARS to handle legacy variables

diffstat:

 inputmethod/anthy/Makefile |  13 +++----------
 1 files changed, 3 insertions(+), 10 deletions(-)

diffs (29 lines):

diff -r 62fd0a69afa9 -r e73543ffc54e inputmethod/anthy/Makefile
--- a/inputmethod/anthy/Makefile        Wed Jun 01 14:00:55 2005 +0000
+++ b/inputmethod/anthy/Makefile        Wed Jun 01 14:03:15 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2005/05/22 20:08:08 jlam Exp $
+# $NetBSD: Makefile,v 1.6 2005/06/01 14:03:15 dillo Exp $
 
 .include       "../../inputmethod/anthy/Makefile.common"
 
@@ -16,17 +16,10 @@
 
 PKGCONFIG_OVERRIDE+=   anthy.pc.in
 
-# Global and legacy options
-.if defined(USE_2CH_DICT) && !empty(USE_2CH_DICT:M[Yy][Ee][Ss])
-PKG_DEFAULT_OPTIONS+=  2ch_dict
-.endif
-
-.if defined(USE_OKINAWA_DICT) && !empty(USE_OKINAWA_DICT:M[Yy][Ee][Ss])
-PKG_DEFAULT_OPTIONS+=  okinawa_dict
-.endif
-
 PKG_OPTIONS_VAR=       PKG_OPTIONS.anthy
 PKG_SUPPORTED_OPTIONS= 2ch_dict okinawa_dict
+PKG_OPTIONS_LEGACY_VARS+=      USE_2CH_DICT:2ch_dict
+PKG_OPTIONS_LEGACY_VARS+=      USE_OKINAWA_DICT:okinawa_dict
 
 .include       "../../mk/bsd.options.mk"
 



Home | Main Index | Thread Index | Old Index