From a11ba9ffa8140a9c55c950a6947bc472b489a10a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 3 Aug 2022 14:01:21 +0100 Subject: gentoo auto-resync : 03:08:2022 - 14:01:21 --- dev-lang/go/go-1.18.5.ebuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'dev-lang/go/go-1.18.5.ebuild') diff --git a/dev-lang/go/go-1.18.5.ebuild b/dev-lang/go/go-1.18.5.ebuild index 217891046702..7b657c57834f 100644 --- a/dev-lang/go/go-1.18.5.ebuild +++ b/dev-lang/go/go-1.18.5.ebuild @@ -21,7 +21,7 @@ case ${PV} in case ${PV} in *_beta*|*_rc*) ;; *) - KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" + KEYWORDS="-* amd64 arm arm64 ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris" ;; esac esac @@ -64,14 +64,14 @@ README.md go_arch() { # By chance most portage arch names match Go - local portage_arch=$(tc-arch $@) - case "${portage_arch}" in + local tc_arch=$(tc-arch $@) + case "${tc_arch}" in x86) echo 386;; x64-*) echo amd64;; ppc64) [[ $(tc-endian $@) = big ]] && echo ppc64 || echo ppc64le ;; riscv) echo riscv64 ;; s390) echo s390x ;; - *) echo "${portage_arch}";; + *) echo "${tc_arch}";; esac } -- cgit v1.2.3