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
commitcd5fd0c8f465e62904c01f8f937dbd5bb334fc97 (patch)
tree7f9f8acacadfc10ceebe32a2ce6c6eb17feee6ac /inputmethod/anthy
parentd40ff3d8937ba64f7536a88e993d9b4ad873ed67 (diff)
downloadpkgsrc-cd5fd0c8f465e62904c01f8f937dbd5bb334fc97.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"