From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 99CCA138206 for ; Thu, 28 Apr 2016 15:45:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 24D2521C016; Thu, 28 Apr 2016 15:45:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CBF9121C016 for ; Thu, 28 Apr 2016 15:45:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E8F78340C72 for ; Thu, 28 Apr 2016 15:45:49 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 679EF327 for ; Thu, 28 Apr 2016 15:45:44 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1461858333.665cebe34f6e452bd138bc6749804e6ffc1cc865.zmedico@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/go/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/go/go-1.6.2.ebuild X-VCS-Directories: dev-lang/go/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 665cebe34f6e452bd138bc6749804e6ffc1cc865 X-VCS-Branch: master Date: Thu, 28 Apr 2016 15:45:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 32936e65-3598-4465-baa0-035f3c619625 X-Archives-Hash: 108ab36cdacc455448932fb2bfae7301 commit: 665cebe34f6e452bd138bc6749804e6ffc1cc865 Author: Zac Medico gentoo org> AuthorDate: Thu Apr 28 15:42:25 2016 +0000 Commit: Zac Medico gentoo org> CommitDate: Thu Apr 28 15:45:33 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=665cebe3 dev-lang/go: fix gccgo support to use gcc-config --get-bin-path (bug 579958) Package-Manager: portage-2.2.28 dev-lang/go/go-1.6.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-1.6.2.ebuild b/dev-lang/go/go-1.6.2.ebuild index 07d84b0..88dace6 100644 --- a/dev-lang/go/go-1.6.2.ebuild +++ b/dev-lang/go/go-1.6.2.ebuild @@ -155,7 +155,7 @@ src_compile() export GOROOT_BOOTSTRAP="${WORKDIR}"/go-$(go_os)-$(go_arch)-bootstrap if use gccgo; then mkdir -p "${GOROOT_BOOTSTRAP}/bin" || die - local go_binary=$(type -P go-5 2>/dev/null) + local go_binary=$(gcc-config --get-bin-path)/go-5 [[ -x ${go_binary} ]] || go_binary=$( find "${EPREFIX}"/usr/${CHOST}/gcc-bin/*/go-5 | sort -V | tail -n1) [[ -x ${go_binary} ]] || die "go-5: command not found"