1 |
commit: 4ca6d819c08cc099a1b31dc1f8fc9a1e5ed32fad |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 1 12:28:11 2017 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 1 12:29:54 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ca6d819 |
7 |
|
8 |
app-dicts/wnn-ldic: fix build |
9 |
|
10 |
Gentoo-Bug: 626064 |
11 |
|
12 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
13 |
|
14 |
app-dicts/wnn-ldic/wnn-ldic-1.04.ebuild | 6 +++++- |
15 |
1 file changed, 5 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/app-dicts/wnn-ldic/wnn-ldic-1.04.ebuild b/app-dicts/wnn-ldic/wnn-ldic-1.04.ebuild |
18 |
index 08f3cfea5e1..9c381729786 100644 |
19 |
--- a/app-dicts/wnn-ldic/wnn-ldic-1.04.ebuild |
20 |
+++ b/app-dicts/wnn-ldic/wnn-ldic-1.04.ebuild |
21 |
@@ -21,7 +21,11 @@ src_unpack() { |
22 |
} |
23 |
|
24 |
src_compile() { |
25 |
- /usr/bin/Wnn4/atod lib.dic < "${DISTDIR}"/${A} || die |
26 |
+ local atod=atod |
27 |
+ if has_version "<app-i18n/freewnn-1.1.1_alpha23"; then |
28 |
+ atod="${EPREFIX}"/usr/bin/Wnn4/atod |
29 |
+ fi |
30 |
+ "${atod}" lib.dic < "${DISTDIR}"/${A} || die |
31 |
} |
32 |
|
33 |
src_install() { |