commit: 5ef3d502f9bb696bb8871a6c572f2e8b23ccafab
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 9 01:36:09 2026 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 15 22:52:35 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ef3d502
dev-lang/perl: recognise *-gnu as GNU Hurd
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-lang/perl/perl-5.42.0.ebuild | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/dev-lang/perl/perl-5.42.0.ebuild b/dev-lang/perl/perl-5.42.0.ebuild
index 2bd1cb3cf5ee..93f520dab7c1 100644
--- a/dev-lang/perl/perl-5.42.0.ebuild
+++ b/dev-lang/perl/perl-5.42.0.ebuild
@@ -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}"