From 2c09d52d8a0b6ea19c822165ce271821a348570a Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 4 Sep 2022 02:45:48 +0100 Subject: dev-libs/libutf8proc: fix phase order; use BROOT - Fix phase order (reflect execution order, per devmanual) - Use BROOT for test deps Signed-off-by: Sam James --- dev-libs/libutf8proc/libutf8proc-2.7.0-r1.ebuild | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'dev-libs/libutf8proc') diff --git a/dev-libs/libutf8proc/libutf8proc-2.7.0-r1.ebuild b/dev-libs/libutf8proc/libutf8proc-2.7.0-r1.ebuild index 2e009ba02e2d..65c0146e8585 100644 --- a/dev-libs/libutf8proc/libutf8proc-2.7.0-r1.ebuild +++ b/dev-libs/libutf8proc/libutf8proc-2.7.0-r1.ebuild @@ -42,6 +42,12 @@ src_compile() { libdir='$(prefix)'"/$(get_libdir)" } +src_test() { + cp "${BROOT}"/usr/share/unicode-data/{DerivedCoreProperties,{Normalization,auxiliary/GraphemeBreak}Test}.txt data || die + + emake CC="$(tc-getCC)" check +} + src_install() { emake \ DESTDIR="${D}" \ @@ -50,9 +56,3 @@ src_install() { install use static-libs || find "${ED}" -name '*.a' -delete || die } - -src_test() { - cp "${EPREFIX}"/usr/share/unicode-data/{DerivedCoreProperties,{Normalization,auxiliary/GraphemeBreak}Test}.txt data || die - - emake CC="$(tc-getCC)" check -} -- cgit v1.2.3-65-gdbad