commit: 2c09d52d8a0b6ea19c822165ce271821a348570a
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 4 01:45:48 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 4 01:45:48 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c09d52d
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 <sam <AT> gentoo.org>
dev-libs/libutf8proc/libutf8proc-2.7.0-r1.ebuild | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
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
-}