commit:     805a7923d1d845587bd38ea90808e605fbc2f1d6
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 26 22:06:13 2023 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Thu Jan 26 22:06:47 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=805a7923

sys-libs/glibc: fix that

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 sys-libs/glibc/glibc-9999.ebuild | 4 ++--
 1 file 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

Reply via email to