summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2017-07-24 00:29:44 +0900
committerAkinori Hattori <hattya@gentoo.org>2017-07-24 00:29:44 +0900
commitbe347972e3dac762a0b3ef5b1a916d0cb71ed583 (patch)
treec358a7701a421b2a7f550fa2c8916adf471d0add /app-i18n/skk-jisyo
parentx11-terms/mlterm: new upstream release (diff)
downloadgentoo-be347972e3dac762a0b3ef5b1a916d0cb71ed583.tar.gz
gentoo-be347972e3dac762a0b3ef5b1a916d0cb71ed583.tar.bz2
gentoo-be347972e3dac762a0b3ef5b1a916d0cb71ed583.zip
app-i18n/skk-jisyo: replace has_version → use
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'app-i18n/skk-jisyo')
-rw-r--r--app-i18n/skk-jisyo/skk-jisyo-999999.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/app-i18n/skk-jisyo/skk-jisyo-999999.ebuild b/app-i18n/skk-jisyo/skk-jisyo-999999.ebuild
index 2513ae57e57e..0df271059b3b 100644
--- a/app-i18n/skk-jisyo/skk-jisyo-999999.ebuild
+++ b/app-i18n/skk-jisyo/skk-jisyo-999999.ebuild
@@ -18,7 +18,7 @@ ECVS_PASS="guest"
LICENSE="GPL-2 freedist public-domain"
SLOT="0"
KEYWORDS=""
-IUSE="cdb"
+IUSE="cdb ${USE_RUBY//ruby/ruby_targets_ruby}"
DEPEND="${RUBY_DEPS}
app-i18n/skktools
@@ -54,7 +54,7 @@ src_compile() {
local ctdic="${MY_PN}.china_taiwan" ruby
mv ${ctdic}{.header,}
for ruby in ${USE_RUBY}; do
- if has_version dev-lang/ruby:${ruby:4:1}.${ruby:5}; then
+ if use ruby_targets_${ruby}; then
${ruby} ${SKKTOOLS_DIR}/ctdicconv.rb csv/${ctdic##*.}.csv | skkdic-expr2 >> ${ctdic}
break
fi