From d4eb70324020f6bd8e735e08a7d2a89e06393a9d Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Thu, 23 Jan 2020 09:41:51 -0600 Subject: [PATCH] dev-lang/go: add back the bdepend for dev-lang/go It should be safe to use go to build itself. Also, this cleans up the has_version testing to select the bootstrap implementation. Signed-off-by: William Hubbs --- dev-lang/go/go-9999.ebuild | 7 ++++++- dev-lang/go/x | 28 ++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 dev-lang/go/x diff --git a/dev-lang/go/go-9999.ebuild b/dev-lang/go/go-9999.ebuild index 635b905c4d91..82c9facbd671 100644 --- a/dev-lang/go/go-9999.ebuild +++ b/dev-lang/go/go-9999.ebuild @@ -40,7 +40,9 @@ SLOT="0/${PV}" IUSE="gccgo" BDEPEND="gccgo? ( >=sys-devel/gcc-5[go(-)] ) - !gccgo? ( >=dev-lang/go-bootstrap-1.13.6 )" + !gccgo? ( || ( + dev-lang/go + dev-lang/go-bootstrap ) )" RDEPEND="!