diff options
Diffstat (limited to 'app-i18n/ibus/ibus-1.5.25.ebuild')
-rw-r--r-- | app-i18n/ibus/ibus-1.5.25.ebuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/app-i18n/ibus/ibus-1.5.25.ebuild b/app-i18n/ibus/ibus-1.5.25.ebuild index 9dc461da301e..91604ca0e0a1 100644 --- a/app-i18n/ibus/ibus-1.5.25.ebuild +++ b/app-i18n/ibus/ibus-1.5.25.ebuild @@ -113,6 +113,14 @@ src_prepare() { src_configure() { local unicodedir="${EPREFIX}"/usr/share/unicode + local ucddir + + if has_verson '<app-i18n/unicode-data-14.0.0-r1'; then + ucddir="${unicodedir}-data" + else + ucddir=${unicodedir} + fi + local python_conf=() if use python; then python_setup @@ -137,7 +145,7 @@ src_configure() { $(use_enable nls) \ $(use_enable test tests) \ $(use_enable unicode unicode-dict) \ - $(use_with unicode ucd-dir "${EPREFIX}/usr/share/unicode-data") \ + $(use_with unicode ucd-dir "${ucddir}") \ $(use_enable vala) \ $(use_enable wayland) \ "${python_conf[@]}" |