From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7385015ACFC for ; Sat, 6 May 2023 22:29:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ADB0BE084A; Sat, 6 May 2023 22:29:11 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 909EEE084A for ; Sat, 6 May 2023 22:29:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B981F3412E0 for ; Sat, 6 May 2023 22:29:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2AFAF8AC for ; Sat, 6 May 2023 22:29:09 +0000 (UTC) From: "Andreas K. Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas K. Hüttel" Message-ID: <1683412111.4d2dfbde8b72aac769827dc0cbbb415af86f8004.dilfridge@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/glibc/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/glibc/glibc-2.37-r2.ebuild sys-libs/glibc/glibc-9999.ebuild X-VCS-Directories: sys-libs/glibc/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: 4d2dfbde8b72aac769827dc0cbbb415af86f8004 X-VCS-Branch: master Date: Sat, 6 May 2023 22:29:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e50d9f5f-90ab-4809-bfee-3c4dca32a43a X-Archives-Hash: 3f057bff874e86d2f9f61c3c35d1a0b2 commit: 4d2dfbde8b72aac769827dc0cbbb415af86f8004 Author: Andreas K. Hüttel gentoo org> AuthorDate: Sat May 6 22:28:31 2023 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Sat May 6 22:28:31 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d2dfbde sys-libs/glibc: Enable perl also for USE=doc Closes: https://bugs.gentoo.org/904344 Signed-off-by: Andreas K. Hüttel gentoo.org> sys-libs/glibc/glibc-2.37-r2.ebuild | 3 ++- sys-libs/glibc/glibc-9999.ebuild | 3 ++- 2 files changed, 4 insertions(+), 2 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 diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild index 3a3b70d0d31b..e98524b6b6c8 100644 --- a/sys-libs/glibc/glibc-9999.ebuild +++ b/sys-libs/glibc/glibc-9999.ebuild @@ -136,6 +136,7 @@ DEPEND="${COMMON_DEPEND} sys-apps/grep app-alternatives/awk ) + doc? ( dev-lang/perl ) test? ( >=net-dns/libidn2-2.3.0 ) " RDEPEND="${COMMON_DEPEND} @@ -1035,7 +1036,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