diff options
Diffstat (limited to 'app-dicts/wnn-ldic')
-rw-r--r-- | app-dicts/wnn-ldic/wnn-ldic-1.04.ebuild | 6 |
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() { |