diff options
Diffstat (limited to 'dev-libs/libutf8proc/libutf8proc-2.5.0.ebuild')
-rw-r--r-- | dev-libs/libutf8proc/libutf8proc-2.5.0.ebuild | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/dev-libs/libutf8proc/libutf8proc-2.5.0.ebuild b/dev-libs/libutf8proc/libutf8proc-2.5.0.ebuild index 5a659f96fa5b..0e8e2c250e3e 100644 --- a/dev-libs/libutf8proc/libutf8proc-2.5.0.ebuild +++ b/dev-libs/libutf8proc/libutf8proc-2.5.0.ebuild @@ -46,7 +46,16 @@ src_install() { } src_test() { - cp "${EPREFIX}"/usr/share/unicode-data/{Normalization,auxiliary/GraphemeBreak}Test.txt data || die + 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 + + cp "${ucddir}"/{Normalization,auxiliary/GraphemeBreak}Test.txt data || die emake CC="$(tc-getCC)" check } |