diff options
author | Akinori Hattori <hattya@gentoo.org> | 2016-09-15 23:15:47 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2016-09-15 23:15:47 +0900 |
commit | 62f9bf9e5956bace267b89f61e9afa76ea28938c (patch) | |
tree | 5932308ae0f821a5088bffb82b1ea57a86ad9e9b /app-i18n | |
parent | xfce-extra/xfce4-clipman-plugin: bump to 1.4.0 (diff) | |
download | gentoo-62f9bf9e5956bace267b89f61e9afa76ea28938c.tar.gz gentoo-62f9bf9e5956bace267b89f61e9afa76ea28938c.tar.bz2 gentoo-62f9bf9e5956bace267b89f61e9afa76ea28938c.zip |
app-i18n/skk-jisyo: fix build with dev-db/cdb
Gentoo-Bug: 591376
Package-Manager: portage-2.2.28
Diffstat (limited to 'app-i18n')
-rw-r--r-- | app-i18n/skk-jisyo/skk-jisyo-201605.ebuild | 12 | ||||
-rw-r--r-- | app-i18n/skk-jisyo/skk-jisyo-999999.ebuild | 12 |
2 files changed, 20 insertions, 4 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 ' 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 ' |