diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-03 13:53:01 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-03 13:53:01 +0100 |
commit | 4b4d352fc9761396c68812d8eccc63b7b14d6558 (patch) | |
tree | 4f290d635d831599222130ba8ddbf1a726129426 /dev-lang/go/go-1.18.5.ebuild | |
parent | a2c1a301b2ea85c230b30ef69ff667f230a1bf88 (diff) |
gentoo auto-resync : 03.08.2022 - 13:42:43
Diffstat (limited to 'dev-lang/go/go-1.18.5.ebuild')
-rw-r--r-- | dev-lang/go/go-1.18.5.ebuild | 8 |
1 files changed, 4 insertions, 4 deletions
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 } |