From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1139593-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id D086D138350
	for <garchives@archives.gentoo.org>; Wed, 22 Jan 2020 20:08:45 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 0177DE07A7;
	Wed, 22 Jan 2020 20:08:45 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id D7335E07A7
	for <gentoo-commits@lists.gentoo.org>; Wed, 22 Jan 2020 20:08:44 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 80E7E34DC12
	for <gentoo-commits@lists.gentoo.org>; Wed, 22 Jan 2020 20:08:43 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 1617F97
	for <gentoo-commits@lists.gentoo.org>; Wed, 22 Jan 2020 20:08:42 +0000 (UTC)
From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" <williamh@gentoo.org>
Message-ID: <1579723712.9d5f3c85ac97b1c49201644409491f9820a88c1a.williamh@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.13.6.ebuild
X-VCS-Directories: dev-lang/go/
X-VCS-Committer: williamh
X-VCS-Committer-Name: William Hubbs
X-VCS-Revision: 9d5f3c85ac97b1c49201644409491f9820a88c1a
X-VCS-Branch: master
Date: Wed, 22 Jan 2020 20:08:42 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 27d4c2b2-4aed-48a1-82db-19ea648ab8f0
X-Archives-Hash: 5501608efd2627e39051d784b18df28e

commit:     9d5f3c85ac97b1c49201644409491f9820a88c1a
Author:     William Hubbs <william.hubbs <AT> sony <DOT> com>
AuthorDate: Wed Jan 22 20:03:30 2020 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Jan 22 20:08:32 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d5f3c85

dev-lang/go: fix has_version check in 1.13.6

This check should apply to the build machine.

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

 dev-lang/go/go-1.13.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/go/go-1.13.6.ebuild b/dev-lang/go/go-1.13.6.ebuild
index 6263c6c48eb..7f4ad5f7af8 100644
--- a/dev-lang/go/go-1.13.6.ebuild
+++ b/dev-lang/go/go-1.13.6.ebuild
@@ -150,7 +150,7 @@ pkg_pretend()
 		die "CHOST CTARGET pair unsupported: CHOST=${CHOST} CTARGET=${CTARGET}"
 	fi
 	[[ ${MERGE_TYPE} != binary ]] &&
-		use system-bootstrap && ! has_version "dev-lang/go" &&
+		use system-bootstrap && ! has_version -b "dev-lang/go" &&
 		die "dev-lang/go must be installed to use the system-bootstrap use flag"
 }