summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2023-01-26 23:06:13 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2023-01-26 23:06:47 +0100
commit805a7923d1d845587bd38ea90808e605fbc2f1d6 (patch)
tree4e95f0cb5dd06a42ccb45bd6be5208c864296008 /sys-libs/glibc
parentapp-text/editorconfig-core-c: Stabilize 0.12.5 arm64, #892125 (diff)
downloadgentoo-805a7923d1d845587bd38ea90808e605fbc2f1d6.tar.gz
gentoo-805a7923d1d845587bd38ea90808e605fbc2f1d6.tar.bz2
gentoo-805a7923d1d845587bd38ea90808e605fbc2f1d6.zip
sys-libs/glibc: fix that
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'sys-libs/glibc')
-rw-r--r--sys-libs/glibc/glibc-9999.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
index 76059f26c5dc..413594ad57c4 100644
--- a/sys-libs/glibc/glibc-9999.ebuild
+++ b/sys-libs/glibc/glibc-9999.ebuild
@@ -1017,8 +1017,8 @@ glibc_do_configure() {
# up a Perl from outside the prefix instead. configure will fail to
# execute Perl during configure if we're cross-compiling a prefix, but
# it will just disable mtrace in that case.
- ac_cv_path_PERL="$(usex perl "${EPREFIX}"/usr/bin/perl no)"
- use test && ac_cv_path_PERL="${EPREFIX}/usr/bin/perl"
+ # Note: mtrace is needed by the test suite.
+ ac_cv_path_PERL="$(usex perl "${EPREFIX}"/usr/bin/perl $(usex test "${EPREFIX}"/usr/bin/perl no))"
# locale data is arch-independent
# https://bugs.gentoo.org/753740