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 2F8F1138206 for ; Thu, 28 Apr 2016 16:29:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8AFF521C016; Thu, 28 Apr 2016 16:29:29 +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 363D921C016 for ; Thu, 28 Apr 2016 16:29:29 +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 B98B7340CE4 for ; Thu, 28 Apr 2016 16:29:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 15000327 for ; Thu, 28 Apr 2016 16:29:23 +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: <1461860938.e9d3e68a0ce0bb76b0fc1f2e58877dbaac63daaa.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-9999.ebuild X-VCS-Directories: dev-lang/go/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: e9d3e68a0ce0bb76b0fc1f2e58877dbaac63daaa X-VCS-Branch: master Date: Thu, 28 Apr 2016 16:29:23 +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: 926f9b8d-9718-4505-babe-0452da5f483e X-Archives-Hash: 5e8e79f894f37fa47d7983ad89d97ad4 commit: e9d3e68a0ce0bb76b0fc1f2e58877dbaac63daaa Author: Zac Medico gentoo org> AuthorDate: Thu Apr 28 16:28:58 2016 +0000 Commit: Zac Medico gentoo org> CommitDate: Thu Apr 28 16:28:58 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9d3e68a 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-9999.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/go/go-9999.ebuild b/dev-lang/go/go-9999.ebuild index 8a116ae..85536d0 100644 --- a/dev-lang/go/go-9999.ebuild +++ b/dev-lang/go/go-9999.ebuild @@ -152,7 +152,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"