dev-lang/go: document the reason we download all bootstrap archives
authorWilliam Hubbs <william.hubbs@sony.com>
Fri, 22 Mar 2019 15:40:15 +0000 (10:40 -0500)
committerWilliam Hubbs <williamh@gentoo.org>
Fri, 22 Mar 2019 15:41:07 +0000 (10:41 -0500)
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: William Hubbs <williamh@gentoo.org>
dev-lang/go/go-1.12.1.ebuild

index 0a21a156b9859bc7782993bac7f6d60fff16fc05..1426dfb091d9a25ad527a91daedbd1dd7a4ccd52 100644 (file)
@@ -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"