[PATCH 58/94] app-arch/unzip: port to Hurd

Sam James <[email protected]>
Newsgroups gmane.linux.gentoo.devel
Message-ID <fa266506b86a7c2e122121513ce0837e261abd8a.1774994337.git.sam@gentoo.org>
Did wonder about always using `generic` for unknown targets but it
may be subpar so leave that for now.

Signed-off-by: Sam James <[email protected]>
---
 .../{unzip-6.0_p29.ebuild => unzip-6.0_p29-r1.ebuild}      | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
 copy app-arch/unzip/{unzip-6.0_p29.ebuild => unzip-6.0_p29-r1.ebuild} (88%)

diff --git a/app-arch/unzip/unzip-6.0_p29.ebuild b/app-arch/unzip/unzip-6.0_p29-r1.ebuild
similarity index 88%
copy from app-arch/unzip/unzip-6.0_p29.ebuild
copy to app-arch/unzip/unzip-6.0_p29-r1.ebuild
index ab9eb46e6701b..c94a553316783 100644
--- a/app-arch/unzip/unzip-6.0_p29.ebuild
+++ b/app-arch/unzip/unzip-6.0_p29-r1.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
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="Info-ZIP"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
 IUSE="bzip2 natspec unicode"
 
 DEPEND="
@@ -69,6 +69,9 @@ src_configure() {
 		*linux*)             TARGET="linux_noasm" ;;
 		*-darwin*)           TARGET="macosx" ;;
 		*-solaris*)          TARGET="linux_noasm" ;;
+		*-gnu)               TARGET="generic" ;;
+		# generic may work but there may be a better-suited target
+		# so we should get people to check.
 		*) die "Unknown target; please update the ebuild to handle ${CHOST}" ;;
 	esac
 
-- 
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.