summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2017-08-01 21:28:11 +0900
committerAkinori Hattori <hattya@gentoo.org>2017-08-01 21:29:54 +0900
commit4ca6d819c08cc099a1b31dc1f8fc9a1e5ed32fad (patch)
treeb09d7ec5702e9e2e537774ce50149dd43926363b /app-dicts
parentapp-dicts/wnn-ldic: update to EAPI 6 (diff)
downloadgentoo-4ca6d819c08cc099a1b31dc1f8fc9a1e5ed32fad.tar.gz
gentoo-4ca6d819c08cc099a1b31dc1f8fc9a1e5ed32fad.tar.bz2
gentoo-4ca6d819c08cc099a1b31dc1f8fc9a1e5ed32fad.zip
app-dicts/wnn-ldic: fix build
Gentoo-Bug: 626064 Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'app-dicts')
-rw-r--r--app-dicts/wnn-ldic/wnn-ldic-1.04.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/app-dicts/wnn-ldic/wnn-ldic-1.04.ebuild b/app-dicts/wnn-ldic/wnn-ldic-1.04.ebuild
index 08f3cfea5e1d..9c3817297866 100644
--- a/app-dicts/wnn-ldic/wnn-ldic-1.04.ebuild
+++ b/app-dicts/wnn-ldic/wnn-ldic-1.04.ebuild
@@ -21,7 +21,11 @@ src_unpack() {
}
src_compile() {
- /usr/bin/Wnn4/atod lib.dic < "${DISTDIR}"/${A} || die
+ local atod=atod
+ if has_version "<app-i18n/freewnn-1.1.1_alpha23"; then
+ atod="${EPREFIX}"/usr/bin/Wnn4/atod
+ fi
+ "${atod}" lib.dic < "${DISTDIR}"/${A} || die
}
src_install() {