From: William Hubbs Date: Thu, 23 Jan 2020 17:27:02 +0000 (-0600) Subject: dev-lang/go: prefer go over go-bootstrap for building X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=b9c68429af12729cb69a71be19e99216921f0af0;p=gentoo.git dev-lang/go: prefer go over go-bootstrap for building Signed-off-by: William Hubbs --- 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"