summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2023-01-26 22:57:01 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2023-01-26 22:57:36 +0100
commit8bc459b38f9cdfa980e7fc6257b95cf08dbd2973 (patch)
tree4340a053581a93df37e90c09101578350a4d9c4c /sys-libs/glibc
parentapp-text/editorconfig-core-c: Stabilize 0.12.5 amd64, #892125 (diff)
downloadgentoo-8bc459b38f9cdfa980e7fc6257b95cf08dbd2973.tar.gz
gentoo-8bc459b38f9cdfa980e7fc6257b95cf08dbd2973.tar.bz2
gentoo-8bc459b38f9cdfa980e7fc6257b95cf08dbd2973.zip
sys-libs/glibc: Tests require mtrace and with that perl
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'sys-libs/glibc')
-rw-r--r--sys-libs/glibc/glibc-9999.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
index 33d217dc1787..76059f26c5dc 100644
--- a/sys-libs/glibc/glibc-9999.ebuild
+++ b/sys-libs/glibc/glibc-9999.ebuild
@@ -111,6 +111,7 @@ BDEPEND="
sys-apps/grep
app-alternatives/awk
)
+ test? ( dev-lang/perl )
"
COMMON_DEPEND="
gd? ( media-libs/gd:2= )
@@ -119,6 +120,7 @@ COMMON_DEPEND="
caps? ( sys-libs/libcap )
) )
perl? ( dev-lang/perl )
+ test? ( dev-lang/perl )
suid? ( caps? ( sys-libs/libcap ) )
selinux? ( sys-libs/libselinux )
systemtap? ( dev-util/systemtap )
@@ -1016,6 +1018,7 @@ glibc_do_configure() {
# 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"
# locale data is arch-independent
# https://bugs.gentoo.org/753740