summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2019-04-24 13:17:13 -0500
committerWilliam Hubbs <williamh@gentoo.org>2019-04-24 13:17:40 -0500
commit41229db8bf494d1f7a8adba500983438a0882d6f (patch)
tree2c089584cf1bd90f78bcf0b26743aa34c5ddfc8b /dev-lang/go
parentdev-lang/go: Unpack bootstrap archive for current platform only (diff)
downloadgentoo-41229db8bf494d1f7a8adba500983438a0882d6f.tar.gz
gentoo-41229db8bf494d1f7a8adba500983438a0882d6f.tar.bz2
gentoo-41229db8bf494d1f7a8adba500983438a0882d6f.zip
dev-lang/go: Add src_unpack fix to 1.11.9
Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-lang/go')
-rw-r--r--dev-lang/go/go-1.11.9.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-lang/go/go-1.11.9.ebuild b/dev-lang/go/go-1.11.9.ebuild
index 7e249d23dab4..cda631645e86 100644
--- a/dev-lang/go/go-1.11.9.ebuild
+++ b/dev-lang/go/go-1.11.9.ebuild
@@ -157,8 +157,11 @@ src_unpack()
{
if [[ ${PV} = 9999 ]]; then
git-r3_src_unpack
+ else
+ unpack "go${MY_PV}.src.tar.gz"
fi
- default
+ use gccgo ||
+ unpack "go-$(go_os ${CBUILD})-$(go_arch ${CBUILD})-${BOOTSTRAP_VERSION}.tbz"
}
src_compile()