summaryrefslogtreecommitdiff
path: root/sys-libs/glibc/glibc-2.37-r2.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-05-07 05:35:45 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-05-07 05:35:45 +0100
commitc59fc2181f7402f8d0a548bcc897584a83139cc1 (patch)
tree29d91b826be40709b1a5c7e5772e6ad28c172c74 /sys-libs/glibc/glibc-2.37-r2.ebuild
parente863cb8850b3734386669ced72ba782bf20bde7a (diff)
gentoo auto-resync : 07:05:2023 - 05:35:45
Diffstat (limited to 'sys-libs/glibc/glibc-2.37-r2.ebuild')
-rw-r--r--sys-libs/glibc/glibc-2.37-r2.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-libs/glibc/glibc-2.37-r2.ebuild b/sys-libs/glibc/glibc-2.37-r2.ebuild
index 6e9fa3dcb8b2..3b760ddcf5b3 100644
--- a/sys-libs/glibc/glibc-2.37-r2.ebuild
+++ b/sys-libs/glibc/glibc-2.37-r2.ebuild
@@ -131,6 +131,7 @@ DEPEND="${COMMON_DEPEND}
sys-apps/grep
app-alternatives/awk
)
+ doc? ( dev-lang/perl )
test? ( >=net-dns/libidn2-2.3.0 )
"
RDEPEND="${COMMON_DEPEND}
@@ -1032,7 +1033,7 @@ glibc_do_configure() {
# execute Perl during configure if we're cross-compiling a prefix, but
# it will just disable mtrace in that case.
# 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))"
+ ac_cv_path_PERL="$(usex perl "${EPREFIX}"/usr/bin/perl $(usex test "${EPREFIX}"/usr/bin/perl $(usex doc "${EPREFIX}"/usr/bin/perl no)))"
# locale data is arch-independent
# https://bugs.gentoo.org/753740