diff options
Diffstat (limited to 'sys-libs/glibc/glibc-2.37-r2.ebuild')
-rw-r--r-- | sys-libs/glibc/glibc-2.37-r2.ebuild | 3 |
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 |