diff options
Diffstat (limited to 'app-i18n/skk-jisyo/skk-jisyo-999999.ebuild')
-rw-r--r-- | app-i18n/skk-jisyo/skk-jisyo-999999.ebuild | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/app-i18n/skk-jisyo/skk-jisyo-999999.ebuild b/app-i18n/skk-jisyo/skk-jisyo-999999.ebuild index ddbeb94e7eb8..e7bc3532e9de 100644 --- a/app-i18n/skk-jisyo/skk-jisyo-999999.ebuild +++ b/app-i18n/skk-jisyo/skk-jisyo-999999.ebuild @@ -43,6 +43,14 @@ src_prepare() { eapply_user } +cdb_make() { + cdbmake "${1}" "${1}.tmp" +} + +tinycdb_make() { + cdb -c "${1}" +} + src_compile() { local ctdic="${MY_PN}.china_taiwan" ruby mv ${ctdic}{.header,} @@ -54,9 +62,9 @@ src_compile() { done if use cdb; then - local cdbmake="cdbmake" f + local cdbmake=cdb_make f if has_version dev-db/tinycdb; then - cdbmake="cdb -c" + cdbmake=tinycdb_make fi for f in {,zipcode/}${MY_PN}.*; do LC_ALL=C awk ' |