dev-lang/perl: Sync with Gentoo

It's from Gentoo commit 5ef3d502f9bb696bb8871a6c572f2e8b23ccafab.

Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
Flatcar Buildbot 2026-03-23 07:32:11 +00:00
parent 3fdfba62d1
commit a06e958cb1

View File

@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -173,7 +173,8 @@ pkg_setup() {
case ${CHOST} in
*-darwin*) osname="darwin" ;;
*-solaris*) osname="solaris" ;;
*) osname="linux" ;;
*-linux*) osname="linux" ;;
*-gnu) osname="gnu" ;;
esac
myarch="${CHOST%%-*}-${osname}"