From b9c68429af12729cb69a71be19e99216921f0af0 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Thu, 23 Jan 2020 11:27:02 -0600 Subject: [PATCH] dev-lang/go: prefer go over go-bootstrap for building Signed-off-by: William Hubbs --- 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 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" -- 2.26.2