commit:     b9c68429af12729cb69a71be19e99216921f0af0
Author:     William Hubbs <william.hubbs <AT> sony <DOT> com>
AuthorDate: Thu Jan 23 17:27:02 2020 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Jan 23 17:27:57 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9c68429

dev-lang/go: prefer go over go-bootstrap for building

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 dev-lang/go/go-9999.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lang/go/go-9999.ebuild b/dev-lang/go/go-9999.ebuild
index 82c9facbd67..e72c431625b 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"

Reply via email to