diff options
author | Sam James <sam@gentoo.org> | 2022-09-04 02:45:48 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-09-04 02:45:48 +0100 |
commit | 2c09d52d8a0b6ea19c822165ce271821a348570a (patch) | |
tree | b2a0d245fe45bb9b1b3212c51251f3db5559de24 /dev-libs/libutf8proc | |
parent | dev-libs/libutf8proc: fix regression on Prefix. (diff) | |
download | gentoo-2c09d52d8a0b6ea19c822165ce271821a348570a.tar.gz gentoo-2c09d52d8a0b6ea19c822165ce271821a348570a.tar.bz2 gentoo-2c09d52d8a0b6ea19c822165ce271821a348570a.zip |
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@gentoo.org>
Diffstat (limited to 'dev-libs/libutf8proc')
-rw-r--r-- | dev-libs/libutf8proc/libutf8proc-2.7.0-r1.ebuild | 12 |
1 files 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 -} |