[PATCH 09/94] dev-lang/perl: recognise *-gnu as GNU Hurd

Sam James <[email protected]>
Newsgroups gmane.linux.gentoo.devel
Message-ID <cb35083f8af2c7666503d1fadfdc5f33695a3ea9.1774994284.git.sam@gentoo.org>
Signed-off-by: Sam James <[email protected]>
---
 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 2bd1cb3cf5eed..93f520dab7c16 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}"
-- 
2.53.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.