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 EC2F61384B4 for ; Mon, 2 Nov 2015 17:18:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 07E5D21C04F; Mon, 2 Nov 2015 17:17:54 +0000 (UTC) Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) (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 A731F21C01A for ; Mon, 2 Nov 2015 17:17:52 +0000 (UTC) Received: by wikq8 with SMTP id q8so56055086wik.1 for ; Mon, 02 Nov 2015 09:17:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=PVGzc6BdBZ0xtp9Fw5bdbE0nG08niYI/DlyyWp1h538=; b=SQeKUbxxsfKnbn0wMYhmj351lbOaoZuVCUndGOJiCL2y0zbMXhyAx0KB621Ti+I+Rk oO3nluL5jqRQzQnqhPsUC1i6UX0xh/sGaOkULvT6bWSeaoDuC1nFIiuEtor69cxYtm0o rga0rS4qJV0z1jOZOkX5rPEpci2HBNKoQV6ak3PlpsVHgKZVSYYwInKLJZDOY36kUutF EJwK+DdkdXu/yTN2XlW3rDVuIckoVBtYGo08N+n/ug8AnQh48bpE0mgRAjJ1jtVuyu8n 2TCaHYyIcOw1SIaphMwCx0TF2/il4uV+y8btYikczt7oUrGEggTXW7stUyKLOMpMsSGx hY4Q== X-Received: by 10.194.116.197 with SMTP id jy5mr24645685wjb.86.1446484671303; Mon, 02 Nov 2015 09:17:51 -0800 (PST) Received: from p006vm32.pbm.ihost.com (used3.centers.ihost.com. [32.97.185.24]) by smtp.gmail.com with ESMTPSA id j4sm19148006wmg.18.2015.11.02.09.17.49 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 02 Nov 2015 09:17:50 -0800 (PST) From: Leno Hou To: gentoo-dev@lists.gentoo.org, blueness@gentoo.org Cc: Leno Hou Subject: [gentoo-dev] [PATCH v1] enable gccgo for all platform Date: Mon, 2 Nov 2015 12:17:26 -0500 Message-Id: <1446484646-14770-1-git-send-email-lenohou@gmail.com> X-Mailer: git-send-email 2.1.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Archives-Salt: f1859e55-e97d-463d-9909-9f5de0624a10 X-Archives-Hash: 799bcb02d76cb181badaa820bf2f1653 1. go compiler only support x86 platform 2. gcc 5 includes go command to build go apps 3. for coreos enablement, it's use gcc 5 to build go apps Signed-off-by: Leno Hou --- app-admin/consul-template/consul-template-0.9.0-r1.ebuild | 5 ++++- app-admin/consul-template/consul-template-0.9.0.ebuild | 5 ++++- app-admin/consul-template/consul-template-9999.ebuild | 5 ++++- app-admin/consul/consul-0.5.2-r1.ebuild | 5 ++++- app-admin/consul/consul-0.5.2.ebuild | 5 ++++- app-admin/consul/consul-9999.ebuild | 5 ++++- app-admin/fleet/fleet-0.11.0-r1.ebuild | 5 ++++- app-admin/fleet/fleet-0.11.1.ebuild | 5 ++++- app-admin/fleet/fleet-0.11.5.ebuild | 5 ++++- app-admin/fleet/fleet-9999.ebuild | 5 ++++- app-admin/logstash-forwarder/logstash-forwarder-0.4.0-r1.ebuild | 2 +- app-admin/mongo-tools/mongo-tools-3.0.5.ebuild | 5 ++++- app-admin/mongo-tools/mongo-tools-3.0.6.ebuild | 5 ++++- app-admin/mongo-tools/mongo-tools-3.0.7.ebuild | 5 ++++- app-crypt/etcd-ca/etcd-ca-0_p20140903.ebuild | 2 +- app-crypt/etcd-ca/etcd-ca-0_p20150423-r1.ebuild | 2 +- app-crypt/etcd-ca/etcd-ca-0_p20150423.ebuild | 2 +- app-emulation/docker/docker-1.6.1.ebuild | 5 ++++- app-emulation/docker/docker-1.6.2.ebuild | 5 ++++- app-emulation/docker/docker-1.7.1.ebuild | 6 +++++- app-emulation/flannel/flannel-0.5.4.ebuild | 2 +- app-emulation/lxd/lxd-0.16.ebuild | 5 ++++- app-emulation/lxd/lxd-0.18.ebuild | 5 ++++- app-emulation/lxd/lxd-0.20.ebuild | 5 ++++- app-emulation/rkt/rkt-0.8.0.ebuild | 5 ++++- app-emulation/rkt/rkt-9999.ebuild | 5 ++++- app-emulation/runc/runc-0.0.2.ebuild | 2 +- dev-db/etcd/etcd-2.0.10-r1.ebuild | 2 +- dev-db/etcd/etcd-2.2.1.ebuild | 2 +- dev-db/etcdctl/etcdctl-0.4.6-r1.ebuild | 2 +- dev-db/etcdctl/etcdctl-0.4.6.ebuild | 2 +- dev-db/go-etcd/go-etcd-0_p20141013-r1.ebuild | 2 +- dev-db/go-etcd/go-etcd-2.0.0-r1.ebuild | 2 +- dev-db/go-etcd/go-etcd-2.0.0.ebuild | 2 +- dev-libs/go-fuse/go-fuse-0_p20140812-r1.ebuild | 2 +- dev-libs/go-fuse/go-fuse-0_p20150422.ebuild | 2 +- dev-libs/go-fuse/go-fuse-9999.ebuild | 2 +- dev-libs/go-usb/go-usb-9999.ebuild | 2 +- dev-vcs/hub/hub-2.2.0-r1.ebuild | 2 +- eclass/golang-base.eclass | 2 +- sys-apps/lmctfy/lmctfy-0.5.0-r1.ebuild | 5 ++++- sys-apps/lmctfy/lmctfy-0.5.0.ebuild | 5 ++++- sys-fs/etcd-fs/etcd-fs-0_p20140620.ebuild | 5 ++++- sys-fs/go-mtpfs/go-mtpfs-9999.ebuild | 5 ++++- 44 files changed, 120 insertions(+), 44 deletions(-) diff --git a/app-admin/consul-template/consul-template-0.9.0-r1.ebuild b/app-admin/consul-template/consul-template-0.9.0-r1.ebuild index cbc1059..a24ec80 100644 --- a/app-admin/consul-template/consul-template-0.9.0-r1.ebuild +++ b/app-admin/consul-template/consul-template-0.9.0-r1.ebuild @@ -14,7 +14,10 @@ LICENSE="MPL-2.0" SLOT="0" IUSE="test" -DEPEND=">=dev-lang/go-1.4:= +DEPEND="|| ( + >=dev-lang/go-1.4:= + >=sys-devel/gcc-5.1.0:=[go] + ) test? ( dev-go/go-tools ) app-admin/consul app-admin/vault" diff --git a/app-admin/consul-template/consul-template-0.9.0.ebuild b/app-admin/consul-template/consul-template-0.9.0.ebuild index 80a3de8..c35ed0a 100644 --- a/app-admin/consul-template/consul-template-0.9.0.ebuild +++ b/app-admin/consul-template/consul-template-0.9.0.ebuild @@ -14,7 +14,10 @@ LICENSE="MPL-2.0" SLOT="0" IUSE="test" -DEPEND=">=dev-lang/go-1.4 +DEPEND="|| ( + >=dev-lang/go-1.4 + >=sys-devel/gcc-5.1.0:=[go] + ) test? ( dev-go/go-tools ) app-admin/consul app-admin/vault" diff --git a/app-admin/consul-template/consul-template-9999.ebuild b/app-admin/consul-template/consul-template-9999.ebuild index 0dcf7f1..e43a1fd 100644 --- a/app-admin/consul-template/consul-template-9999.ebuild +++ b/app-admin/consul-template/consul-template-9999.ebuild @@ -15,7 +15,10 @@ LICENSE="MPL-2.0" SLOT="0" IUSE="test" -DEPEND=">=dev-lang/go-1.4:= +DEPEND="|| ( + >=dev-lang/go-1.4:= + >=sys-devel/gcc-5.1.0:=[go] + ) test? ( dev-go/go-tools ) app-admin/consul app-admin/vault" diff --git a/app-admin/consul/consul-0.5.2-r1.ebuild b/app-admin/consul/consul-0.5.2-r1.ebuild index a55ecdf..990bf25 100644 --- a/app-admin/consul/consul-0.5.2-r1.ebuild +++ b/app-admin/consul/consul-0.5.2-r1.ebuild @@ -15,7 +15,10 @@ SLOT="0" IUSE="test web" RESTRICT="test" -DEPEND=">=dev-lang/go-1.4:= +DEPEND="|| ( + >=dev-lang/go-1.4:= + >=sys-devel/gcc-5.1.0:=[go] + ) dev-go/go-crypto:= test? ( dev-go/go-tools ) web? ( diff --git a/app-admin/consul/consul-0.5.2.ebuild b/app-admin/consul/consul-0.5.2.ebuild index 8389045..334dfad 100644 --- a/app-admin/consul/consul-0.5.2.ebuild +++ b/app-admin/consul/consul-0.5.2.ebuild @@ -15,7 +15,10 @@ SLOT="0" IUSE="test web" RESTRICT="test" -DEPEND=">=dev-lang/go-1.4 +DEPEND="|| ( + >=dev-lang/go-1.4 + >=sys-devel/gcc-5.1.0:=[go] + ) dev-go/go-crypto test? ( dev-go/go-tools ) web? ( diff --git a/app-admin/consul/consul-9999.ebuild b/app-admin/consul/consul-9999.ebuild index 3c38c20..c1fc202 100644 --- a/app-admin/consul/consul-9999.ebuild +++ b/app-admin/consul/consul-9999.ebuild @@ -16,7 +16,10 @@ SLOT="0" IUSE="test web" RESTRICT="test" -DEPEND=">=dev-lang/go-1.4:= +DEPEND="|| ( + >=dev-lang/go-1.4:= + >=sys-devel/gcc-5.1.0:=[go] + ) dev-go/go-crypto:= test? ( dev-go/go-tools ) web? ( diff --git a/app-admin/fleet/fleet-0.11.0-r1.ebuild b/app-admin/fleet/fleet-0.11.0-r1.ebuild index 47e3f92..b2ae87d 100644 --- a/app-admin/fleet/fleet-0.11.0-r1.ebuild +++ b/app-admin/fleet/fleet-0.11.0-r1.ebuild @@ -16,7 +16,10 @@ KEYWORDS="~amd64" IUSE="doc examples test" DEPEND=" - >=dev-lang/go-1.3:= + || ( + >=dev-lang/go-1.3:= + >=sys-devel/gcc-5.1.0:=[go] + ) test? ( dev-go/go-tools ) " RDEPEND="" diff --git a/app-admin/fleet/fleet-0.11.1.ebuild b/app-admin/fleet/fleet-0.11.1.ebuild index 77c80c4..3ecb644 100644 --- a/app-admin/fleet/fleet-0.11.1.ebuild +++ b/app-admin/fleet/fleet-0.11.1.ebuild @@ -16,7 +16,10 @@ KEYWORDS="~amd64" IUSE="doc examples test" DEPEND=" - >=dev-lang/go-1.3:= + || ( + >=dev-lang/go-1.3:= + >=sys-devel/gcc-5.1.0:=[go] + ) test? ( dev-go/go-tools ) " RDEPEND="" diff --git a/app-admin/fleet/fleet-0.11.5.ebuild b/app-admin/fleet/fleet-0.11.5.ebuild index 07d7fdd..bdd4877 100644 --- a/app-admin/fleet/fleet-0.11.5.ebuild +++ b/app-admin/fleet/fleet-0.11.5.ebuild @@ -18,7 +18,10 @@ KEYWORDS="~amd64" IUSE="doc examples test" DEPEND=" - >=dev-lang/go-1.4:= + || ( + >=dev-lang/go-1.4:= + >=sys-devel/gcc-5.1.0:=[go] + ) test? ( dev-go/go-tools ) " RDEPEND="" diff --git a/app-admin/fleet/fleet-9999.ebuild b/app-admin/fleet/fleet-9999.ebuild index c203877..9315eb6 100644 --- a/app-admin/fleet/fleet-9999.ebuild +++ b/app-admin/fleet/fleet-9999.ebuild @@ -17,7 +17,10 @@ SLOT="0" KEYWORDS="" IUSE="doc examples test" -DEPEND=">=dev-lang/go-1.3:= +DEPEND="|| ( + >=dev-lang/go-1.3:= + >=sys-devel/gcc-5.1.0:=[go] + ) test? ( dev-go/go-tools )" RDEPEND="" diff --git a/app-admin/logstash-forwarder/logstash-forwarder-0.4.0-r1.ebuild b/app-admin/logstash-forwarder/logstash-forwarder-0.4.0-r1.ebuild index a9dbce5..2c48261 100644 --- a/app-admin/logstash-forwarder/logstash-forwarder-0.4.0-r1.ebuild +++ b/app-admin/logstash-forwarder/logstash-forwarder-0.4.0-r1.ebuild @@ -15,7 +15,7 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND="dev-lang/go:=" +DEPEND="|| ( dev-lang/go:= >=sys-devel/gcc-5.1.0:=[go] )" RDEPEND="" pkg_setup() { diff --git a/app-admin/mongo-tools/mongo-tools-3.0.5.ebuild b/app-admin/mongo-tools/mongo-tools-3.0.5.ebuild index 658782f..39d5dd1 100644 --- a/app-admin/mongo-tools/mongo-tools-3.0.5.ebuild +++ b/app-admin/mongo-tools/mongo-tools-3.0.5.ebuild @@ -24,7 +24,10 @@ IUSE="sasl ssl" RDEPEND="!=dev-lang/go-1.3 + || ( + >=dev-lang/go-1.3 + >=sys-devel/gcc-5.1.0:=[go] + ) btrfs? ( >=sys-fs/btrfs-progs-3.16.1 ) diff --git a/app-emulation/docker/docker-1.6.2.ebuild b/app-emulation/docker/docker-1.6.2.ebuild index 1eb4f5f..db34765 100644 --- a/app-emulation/docker/docker-1.6.2.ebuild +++ b/app-emulation/docker/docker-1.6.2.ebuild @@ -39,7 +39,10 @@ CDEPEND=" DEPEND=" ${CDEPEND} - >=dev-lang/go-1.3 + || ( + >=dev-lang/go-1.3 + >=sys-devel/gcc-5.1.0:=[go] + ) btrfs? ( >=sys-fs/btrfs-progs-3.16.1 ) diff --git a/app-emulation/docker/docker-1.7.1.ebuild b/app-emulation/docker/docker-1.7.1.ebuild index 6f618a2..43868ec 100644 --- a/app-emulation/docker/docker-1.7.1.ebuild +++ b/app-emulation/docker/docker-1.7.1.ebuild @@ -39,7 +39,11 @@ CDEPEND=" DEPEND=" ${CDEPEND} - >=dev-lang/go-1.4:= + || ( + >=dev-lang/go-1.4:= + >=sys-devel/gcc-5.1.0:=[go] + ) + btrfs? ( >=sys-fs/btrfs-progs-3.8 ) diff --git a/app-emulation/flannel/flannel-0.5.4.ebuild b/app-emulation/flannel/flannel-0.5.4.ebuild index 4b3992c..3233eb8 100644 --- a/app-emulation/flannel/flannel-0.5.4.ebuild +++ b/app-emulation/flannel/flannel-0.5.4.ebuild @@ -15,7 +15,7 @@ LICENSE="Apache-2.0" SLOT="0" IUSE="" -DEPEND=">=dev-lang/go-1.4:=" +DEPEND="|| ( >=dev-lang/go-1.4:= >=sys-devel/gcc-5.1.0:=[go] )" RDEPEND="" src_prepare() { diff --git a/app-emulation/lxd/lxd-0.16.ebuild b/app-emulation/lxd/lxd-0.16.ebuild index cb20eba..dd01e8c 100644 --- a/app-emulation/lxd/lxd-0.16.ebuild +++ b/app-emulation/lxd/lxd-0.16.ebuild @@ -21,7 +21,10 @@ inherit bash-completion-r1 eutils golang-build l10n systemd user vcs-snapshot DEPEND=" dev-go/go-crypto - >=dev-lang/go-1.4.2:= + || ( + >=dev-lang/go-1.4.2:= + >=sys-devel/gcc-5.1.0:=[go] + ) dev-libs/protobuf dev-vcs/git nls? ( sys-devel/gettext ) diff --git a/app-emulation/lxd/lxd-0.18.ebuild b/app-emulation/lxd/lxd-0.18.ebuild index fd53d98..559fa54 100644 --- a/app-emulation/lxd/lxd-0.18.ebuild +++ b/app-emulation/lxd/lxd-0.18.ebuild @@ -21,7 +21,10 @@ inherit bash-completion-r1 eutils golang-build l10n systemd user vcs-snapshot DEPEND=" dev-go/go-crypto - >=dev-lang/go-1.4.2:= + || ( + >=dev-lang/go-1.4.2:= + >=sys-devel/gcc-5.1.0:=[go] + ) dev-libs/protobuf dev-vcs/git nls? ( sys-devel/gettext ) diff --git a/app-emulation/lxd/lxd-0.20.ebuild b/app-emulation/lxd/lxd-0.20.ebuild index ab08cd1..bfb6018 100644 --- a/app-emulation/lxd/lxd-0.20.ebuild +++ b/app-emulation/lxd/lxd-0.20.ebuild @@ -21,7 +21,10 @@ inherit bash-completion-r1 eutils golang-build l10n systemd user vcs-snapshot DEPEND=" dev-go/go-crypto - >=dev-lang/go-1.4.2:= + || ( + >=dev-lang/go-1.4.2:= + >=sys-devel/gcc-5.1.0:=[go] + ) dev-libs/protobuf dev-vcs/git nls? ( sys-devel/gettext ) diff --git a/app-emulation/rkt/rkt-0.8.0.ebuild b/app-emulation/rkt/rkt-0.8.0.ebuild index e1354ed..3e5faeb 100644 --- a/app-emulation/rkt/rkt-0.8.0.ebuild +++ b/app-emulation/rkt/rkt-0.8.0.ebuild @@ -27,7 +27,10 @@ SLOT="0" IUSE="doc examples +rkt_stage1_coreos rkt_stage1_src +actool systemd" REQUIRED_USE="^^ ( rkt_stage1_coreos rkt_stage1_src )" -DEPEND=">=dev-lang/go-1.4.1 +DEPEND="|| ( + >=dev-lang/go-1.4.1 + >=sys-devel/gcc-5.1.0:=[go] + ) app-arch/cpio sys-fs/squashfs-tools dev-perl/Capture-Tiny diff --git a/app-emulation/rkt/rkt-9999.ebuild b/app-emulation/rkt/rkt-9999.ebuild index fcb665c..8d9c4aa 100644 --- a/app-emulation/rkt/rkt-9999.ebuild +++ b/app-emulation/rkt/rkt-9999.ebuild @@ -30,7 +30,10 @@ SLOT="0" IUSE="doc examples +rkt_stage1_coreos rkt_stage1_host rkt_stage1_src +actool systemd" REQUIRED_USE="^^ ( rkt_stage1_coreos rkt_stage1_host rkt_stage1_src )" -DEPEND=">=dev-lang/go-1.4.1 +DEPEND="|| ( + >=dev-lang/go-1.4.1 + >=sys-devel/gcc-5.1.0:=[go] + ) app-arch/cpio sys-fs/squashfs-tools dev-perl/Capture-Tiny diff --git a/app-emulation/runc/runc-0.0.2.ebuild b/app-emulation/runc/runc-0.0.2.ebuild index f5bb49f..0dcc097 100644 --- a/app-emulation/runc/runc-0.0.2.ebuild +++ b/app-emulation/runc/runc-0.0.2.ebuild @@ -23,7 +23,7 @@ LICENSE="Apache-2.0" SLOT="0" IUSE="" -DEPEND=">=dev-lang/go-1.4:=" +DEPEND="|| ( >=dev-lang/go-1.4:= >=sys-devel/gcc-5.1.0:=[go] )" RDEPEND="" src_prepare() { diff --git a/dev-db/etcd/etcd-2.0.10-r1.ebuild b/dev-db/etcd/etcd-2.0.10-r1.ebuild index 2b7d67d..8a18e0b 100644 --- a/dev-db/etcd/etcd-2.0.10-r1.ebuild +++ b/dev-db/etcd/etcd-2.0.10-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/coreos/etcd/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" IUSE="doc" -DEPEND=">=dev-lang/go-1.2:=" +DEPEND="|| ( >=dev-lang/go-1.2:= >=sys-devel/gcc-5.1.0:=[go] )" RDEPEND="!dev-db/etcdctl" pkg_setup() { diff --git a/dev-db/etcd/etcd-2.2.1.ebuild b/dev-db/etcd/etcd-2.2.1.ebuild index 3c29b13..45c9620 100644 --- a/dev-db/etcd/etcd-2.2.1.ebuild +++ b/dev-db/etcd/etcd-2.2.1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/coreos/etcd/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" IUSE="doc" -DEPEND=">=dev-lang/go-1.2:=" +DEPEND="|| ( >=dev-lang/go-1.2:= >=sys-devel/gcc-5.1.0:=[go] )" RDEPEND="!dev-db/etcdctl" pkg_setup() { diff --git a/dev-db/etcdctl/etcdctl-0.4.6-r1.ebuild b/dev-db/etcdctl/etcdctl-0.4.6-r1.ebuild index 8fb38cb..7159570 100644 --- a/dev-db/etcdctl/etcdctl-0.4.6-r1.ebuild +++ b/dev-db/etcdctl/etcdctl-0.4.6-r1.ebuild @@ -11,7 +11,7 @@ LICENSE="Apache-2.0" SLOT="0" IUSE="examples" -DEPEND=">=dev-lang/go-1.2:=" +DEPEND="|| ( >=dev-lang/go-1.2:= >=sys-devel/gcc-5.1.0:=[go] )" RDEPEND="" src_prepare() { diff --git a/dev-db/etcdctl/etcdctl-0.4.6.ebuild b/dev-db/etcdctl/etcdctl-0.4.6.ebuild index 45973ea..2cb600b 100644 --- a/dev-db/etcdctl/etcdctl-0.4.6.ebuild +++ b/dev-db/etcdctl/etcdctl-0.4.6.ebuild @@ -11,7 +11,7 @@ LICENSE="Apache-2.0" SLOT="0" IUSE="examples" -DEPEND=">=dev-lang/go-1.2" +DEPEND="|| ( >=dev-lang/go-1.2 >=sys-devel/gcc-5.1.0:=[go] )" RDEPEND="" src_prepare() { diff --git a/dev-db/go-etcd/go-etcd-0_p20141013-r1.ebuild b/dev-db/go-etcd/go-etcd-0_p20141013-r1.ebuild index 8ea0f6d..a6dcf05 100644 --- a/dev-db/go-etcd/go-etcd-0_p20141013-r1.ebuild +++ b/dev-db/go-etcd/go-etcd-0_p20141013-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://${GO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" IUSE="" -DEPEND=">=dev-lang/go-1.4" +DEPEND="|| (>=dev-lang/go-1.4 >=sys-devel/gcc-5.1.0:=[go] )" RDEPEND="" S=${WORKDIR} diff --git a/dev-db/go-etcd/go-etcd-2.0.0-r1.ebuild b/dev-db/go-etcd/go-etcd-2.0.0-r1.ebuild index 79358b5..eb446ab 100644 --- a/dev-db/go-etcd/go-etcd-2.0.0-r1.ebuild +++ b/dev-db/go-etcd/go-etcd-2.0.0-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://${GO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" IUSE="" -DEPEND=">=dev-lang/go-1.4:=" +DEPEND="|| ( >=dev-lang/go-1.4:= >=sys-devel/gcc-5.1.0:=[go] )" RDEPEND="" S=${WORKDIR} diff --git a/dev-db/go-etcd/go-etcd-2.0.0.ebuild b/dev-db/go-etcd/go-etcd-2.0.0.ebuild index 8ea0f6d..136a2bf 100644 --- a/dev-db/go-etcd/go-etcd-2.0.0.ebuild +++ b/dev-db/go-etcd/go-etcd-2.0.0.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://${GO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" IUSE="" -DEPEND=">=dev-lang/go-1.4" +DEPEND="|| ( >=dev-lang/go-1.4 >=sys-devel/gcc-5.1.0:=[go] )" RDEPEND="" S=${WORKDIR} diff --git a/dev-libs/go-fuse/go-fuse-0_p20140812-r1.ebuild b/dev-libs/go-fuse/go-fuse-0_p20140812-r1.ebuild index eb4bbe6..0a05325 100644 --- a/dev-libs/go-fuse/go-fuse-0_p20140812-r1.ebuild +++ b/dev-libs/go-fuse/go-fuse-0_p20140812-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://${GO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" IUSE="" -DEPEND=">=dev-lang/go-1.3" +DEPEND="|| ( >=dev-lang/go-1.3 >=sys-devel/gcc-5.1.0:=[go] )" RDEPEND="" S=${WORKDIR} diff --git a/dev-libs/go-fuse/go-fuse-0_p20150422.ebuild b/dev-libs/go-fuse/go-fuse-0_p20150422.ebuild index 839de1e..146d567 100644 --- a/dev-libs/go-fuse/go-fuse-0_p20150422.ebuild +++ b/dev-libs/go-fuse/go-fuse-0_p20150422.ebuild @@ -16,7 +16,7 @@ SLOT="0" KEYWORDS="~amd64" IUSE="" -DEPEND=">=dev-lang/go-1.3" +DEPEND="|| ( >=dev-lang/go-1.3 >=sys-devel/gcc-5.1.0:=[go] )" RDEPEND="" src_unpack() { diff --git a/dev-libs/go-fuse/go-fuse-9999.ebuild b/dev-libs/go-fuse/go-fuse-9999.ebuild index f3e190c..f7bfda69 100644 --- a/dev-libs/go-fuse/go-fuse-9999.ebuild +++ b/dev-libs/go-fuse/go-fuse-9999.ebuild @@ -17,7 +17,7 @@ SLOT="0" KEYWORDS="" IUSE="" -DEPEND=">=dev-lang/go-1.3" +DEPEND="|| ( >=dev-lang/go-1.3 >=sys-devel/gcc-5.1.0:=[go] )" RDEPEND="" GO_PN="github.com/hanwen/${PN}" diff --git a/dev-libs/go-usb/go-usb-9999.ebuild b/dev-libs/go-usb/go-usb-9999.ebuild index 268fd39..4a102f9 100644 --- a/dev-libs/go-usb/go-usb-9999.ebuild +++ b/dev-libs/go-usb/go-usb-9999.ebuild @@ -15,7 +15,7 @@ SLOT="0" KEYWORDS="" IUSE="" -DEPEND=">=dev-lang/go-1.4" +DEPEND="|| ( >=dev-lang/go-1.4 >=sys-devel/gcc-5.1.0:=[go] )" RDEPEND="" # Tests require a connected mtp device diff --git a/dev-vcs/hub/hub-2.2.0-r1.ebuild b/dev-vcs/hub/hub-2.2.0-r1.ebuild index f5240ae..a3c72db 100644 --- a/dev-vcs/hub/hub-2.2.0-r1.ebuild +++ b/dev-vcs/hub/hub-2.2.0-r1.ebuild @@ -15,7 +15,7 @@ SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" IUSE="" -DEPEND=">=dev-lang/go-1.4:=" +DEPEND="|| ( >=dev-lang/go-1.4:= >=sys-devel/gcc-5.1.0:=[go] )" RDEPEND=">=dev-vcs/git-1.7.3" DOC_CONTENTS="You may want to add 'alias git=hub' to your .{csh,bash}rc" diff --git a/eclass/golang-base.eclass b/eclass/golang-base.eclass index 0c54266..05bcc78 100644 --- a/eclass/golang-base.eclass +++ b/eclass/golang-base.eclass @@ -23,7 +23,7 @@ if [[ -z ${_GOLANG_BASE} ]]; then _GOLANG_BASE=1 -DEPEND=">=dev-lang/go-1.4.2:=" +DEPEND="|| ( >=dev-lang/go-1.4.2:= >=sys-devel/gcc-5.1.0:=[go] )" STRIP_MASK="*.a" # @ECLASS-VARIABLE: EGO_PN diff --git a/sys-apps/lmctfy/lmctfy-0.5.0-r1.ebuild b/sys-apps/lmctfy/lmctfy-0.5.0-r1.ebuild index 4a81c90..3142536 100644 --- a/sys-apps/lmctfy/lmctfy-0.5.0-r1.ebuild +++ b/sys-apps/lmctfy/lmctfy-0.5.0-r1.ebuild @@ -23,7 +23,10 @@ COMMON_DEPEND=" " DEPEND=" ${COMMON_DEPEND} - dev-lang/go:= + || ( + dev-lang/go:= + >=sys-devel/gcc-5.1.0:=[go] + ) " RDEPEND="${COMMON_DEPEND}" diff --git a/sys-apps/lmctfy/lmctfy-0.5.0.ebuild b/sys-apps/lmctfy/lmctfy-0.5.0.ebuild index 4e390ac..48ba6a9 100644 --- a/sys-apps/lmctfy/lmctfy-0.5.0.ebuild +++ b/sys-apps/lmctfy/lmctfy-0.5.0.ebuild @@ -19,7 +19,10 @@ DEPEND=" dev-libs/protobuf >=dev-cpp/gflags-2.1.1 dev-libs/re2 - dev-lang/go + || ( + dev-lang/go + >=sys-devel/gcc-5.1.0:=[go] + ) sys-libs/libapparmor " RDEPEND="${DEPEND}" diff --git a/sys-fs/etcd-fs/etcd-fs-0_p20140620.ebuild b/sys-fs/etcd-fs/etcd-fs-0_p20140620.ebuild index 8d6504c..8e05bdf 100644 --- a/sys-fs/etcd-fs/etcd-fs-0_p20140620.ebuild +++ b/sys-fs/etcd-fs/etcd-fs-0_p20140620.ebuild @@ -13,7 +13,10 @@ LICENSE="Apache-2.0" SLOT="0" IUSE="" DEPEND=" - >=dev-lang/go-1.3 + || ( + >=dev-lang/go-1.3 + >=sys-devel/gcc-5.1.0:=[go] + ) dev-db/go-etcd dev-libs/go-fuse" RDEPEND="" diff --git a/sys-fs/go-mtpfs/go-mtpfs-9999.ebuild b/sys-fs/go-mtpfs/go-mtpfs-9999.ebuild index 4da89fd..7a7df7f 100644 --- a/sys-fs/go-mtpfs/go-mtpfs-9999.ebuild +++ b/sys-fs/go-mtpfs/go-mtpfs-9999.ebuild @@ -20,7 +20,10 @@ COMMON_DEPEND="virtual/libusb DEPEND="${COMMON_DEPEND} dev-libs/go-fuse dev-libs/go-usb - dev-lang/go + || ( + dev-lang/go + >=sys-devel/gcc-5.1.0:=[go] + ) media-libs/libmtp" RDEPEND="${COMMON_DEPEND}" -- 2.1.0