summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-i18n/skk-jisyo/skk-jisyo-201605.ebuild')
-rw-r--r--app-i18n/skk-jisyo/skk-jisyo-201605.ebuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/app-i18n/skk-jisyo/skk-jisyo-201605.ebuild b/app-i18n/skk-jisyo/skk-jisyo-201605.ebuild
index 119fba78fa31..943b3a5c1c67 100644
--- a/app-i18n/skk-jisyo/skk-jisyo-201605.ebuild
+++ b/app-i18n/skk-jisyo/skk-jisyo-201605.ebuild
@@ -33,11 +33,19 @@ src_prepare() {
eapply_user
}
+cdb_make() {
+ cdbmake "${1}" "${1}.tmp"
+}
+
+tinycdb_make() {
+ cdb -c "${1}"
+}
+
src_compile() {
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 '