commit:     7fe637b350a17dc25bbe76642dea0f2684344481
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  2 16:15:28 2025 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Jan  2 16:15:58 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fe637b3

dev-lang/perl: Fix cross-prefix builds by setting correct /bin/sh

I suspect more is needed here, but this was enough to get it building and 
basically working.

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 dev-lang/perl/perl-5.40.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lang/perl/perl-5.40.0-r1.ebuild 
b/dev-lang/perl/perl-5.40.0-r1.ebuild
index d4aa0af0669f..c5ab653cceb9 100644
--- a/dev-lang/perl/perl-5.40.0-r1.ebuild
+++ b/dev-lang/perl/perl-5.40.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -754,7 +754,7 @@ src_configure() {
                -Dmyhostname='localhost' \
                -Dperladmin='root@localhost' \
                -Ud_csh \
-               -Dsh="${EPREFIX}"/bin/sh \
+               -Dsh="${BROOT}"/bin/sh \
                -Dtargetsh="${EPREFIX}"/bin/sh \
                -Uusenm \
                "${EXTRA_ECONF[@]}"

Reply via email to