summaryrefslogtreecommitdiff
path: root/inputmethod/anthy
diff options
context:
space:
mode:
authordillo <dillo@pkgsrc.org>2005-06-01 14:03:15 +0000
committerdillo <dillo@pkgsrc.org>2005-06-01 14:03:15 +0000
commiteb20da550706a38a8597f8ba4590aa1c1643f40c (patch)
tree7f9f8acacadfc10ceebe32a2ce6c6eb17feee6ac /inputmethod/anthy
parent00f7a6753d65f840b718af4d20a984a72af10f77 (diff)
downloadpkgsrc-eb20da550706a38a8597f8ba4590aa1c1643f40c.tar.gz
use PKG_OPTIONS_LEGACY_VARS to handle legacy variables
Diffstat (limited to 'inputmethod/anthy')
-rw-r--r--inputmethod/anthy/Makefile13
1 files changed, 3 insertions, 10 deletions
diff --git a/inputmethod/anthy/Makefile b/inputmethod/anthy/Makefile
index 706ae65bf93..58bb9a00280 100644
--- a/inputmethod/anthy/Makefile
+++ b/inputmethod/anthy/Makefile
@@ -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 @@ CONFIGURE_ENV+= EMACS=no
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"