summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <william.hubbs@sony.com>2020-01-23 11:27:02 -0600
committerWilliam Hubbs <williamh@gentoo.org>2020-01-23 11:27:57 -0600
commitb9c68429af12729cb69a71be19e99216921f0af0 (patch)
tree8bd540e6dae71d429c9cf061a03c3d4882ce7d12 /dev-lang
parentnet-misc/asterisk-g729: handle QA_PREBUILT with 13.0 (diff)
downloadgentoo-b9c68429af12729cb69a71be19e99216921f0af0.tar.gz
gentoo-b9c68429af12729cb69a71be19e99216921f0af0.tar.bz2
gentoo-b9c68429af12729cb69a71be19e99216921f0af0.zip
dev-lang/go: prefer go over go-bootstrap for building
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/go/go-9999.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-lang/go/go-9999.ebuild b/dev-lang/go/go-9999.ebuild
index 82c9facbd671..e72c431625b7 100644
--- a/dev-lang/go/go-9999.ebuild
+++ b/dev-lang/go/go-9999.ebuild
@@ -145,10 +145,10 @@ src_compile()
[[ -x ${go_binary} ]] ||
die "go-$(gcc-major-version): command not found"
ln -s "${go_binary}" "${GOROOT_BOOTSTRAP}/bin/go" || die
- elif has_version -b dev-lang/go-bootstrap; then
- export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap"
elif has_version -b dev-lang/go; then
export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go"
+ elif has_version -b dev-lang/go-bootstrap; then
+ export GOROOT_BOOTSTRAP="${BROOT}/usr/lib/go-bootstrap"
else
eerror "Go cannot be built without go or go-bootstrap installed"
die "Should not be here, please report a bug"