commit: 141168bb010c32538eec0b78501dfda0abf3e5bf Author: William Hubbs <william.hubbs <AT> sony <DOT> com> AuthorDate: Fri Mar 22 15:40:15 2019 +0000 Commit: William Hubbs <williamh <AT> gentoo <DOT> org> CommitDate: Fri Mar 22 15:41:07 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=141168bb
dev-lang/go: document the reason we download all bootstrap archives Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: William Hubbs <williamh <AT> gentoo.org> dev-lang/go/go-1.12.1.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.12.1.ebuild b/dev-lang/go/go-1.12.1.ebuild index 0a21a156b98..1426dfb091d 100644 --- a/dev-lang/go/go-1.12.1.ebuild +++ b/dev-lang/go/go-1.12.1.ebuild @@ -10,8 +10,8 @@ MY_PV=${PV/_/} inherit toolchain-funcs -BOOTSTRAP_DIST="https://dev.gentoo.org/~williamh/dist" BOOTSTRAP_VERSION="bootstrap-1.8" +BOOTSTRAP_DIST="https://dev.gentoo.org/~williamh/dist" BOOTSTRAP_URI=" ${BOOTSTRAP_DIST}/go-linux-amd64-${BOOTSTRAP_VERSION}.tbz ${BOOTSTRAP_DIST}/go-linux-arm-${BOOTSTRAP_VERSION}.tbz @@ -47,6 +47,13 @@ case ${PV} in ;; esac esac + +# If gccgo is not being used to build Go, there is no way to know the +# architecture or operating system of the build machine, so we need to +# download all of our bootstrap archives to allow this ebuild to work +# under crossdev. +# +# https://bugs.gentoo.org/671394 SRC_URI+="!gccgo? ( ${BOOTSTRAP_URI} )" DESCRIPTION="A concurrent garbage collected and typesafe programming language"