From b35e587dc63def0a4cba3937b2c6471ece047fef Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 4 Oct 2019 21:36:11 -0700 Subject: sys-cluster/kubectl: fix compile with go-1.13 Closes: https://bugs.gentoo.org/693548 Closes: https://bugs.gentoo.org/695676 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Zac Medico --- sys-cluster/kubectl/kubectl-1.15.3.ebuild | 1 + sys-cluster/kubectl/kubectl-1.15.4.ebuild | 1 + sys-cluster/kubectl/kubectl-1.16.0.ebuild | 1 + 3 files changed, 3 insertions(+) (limited to 'sys-cluster/kubectl') diff --git a/sys-cluster/kubectl/kubectl-1.15.3.ebuild b/sys-cluster/kubectl/kubectl-1.15.3.ebuild index 7a61b25dce90..2ab1aefbcfc3 100644 --- a/sys-cluster/kubectl/kubectl-1.15.3.ebuild +++ b/sys-cluster/kubectl/kubectl-1.15.3.ebuild @@ -25,6 +25,7 @@ src_prepare() { default sed -i -e "/vendor\/github.com\/jteeuwen\/go-bindata\/go-bindata/d" -e "s/-s -w/-w/" src/${EGO_PN}/hack/lib/golang.sh || die sed -i -e "/export PATH/d" src/${EGO_PN}/hack/generate-bindata.sh || die + rm src/${EGO_PN}/go.mod || die } src_compile() { diff --git a/sys-cluster/kubectl/kubectl-1.15.4.ebuild b/sys-cluster/kubectl/kubectl-1.15.4.ebuild index 7a61b25dce90..2ab1aefbcfc3 100644 --- a/sys-cluster/kubectl/kubectl-1.15.4.ebuild +++ b/sys-cluster/kubectl/kubectl-1.15.4.ebuild @@ -25,6 +25,7 @@ src_prepare() { default sed -i -e "/vendor\/github.com\/jteeuwen\/go-bindata\/go-bindata/d" -e "s/-s -w/-w/" src/${EGO_PN}/hack/lib/golang.sh || die sed -i -e "/export PATH/d" src/${EGO_PN}/hack/generate-bindata.sh || die + rm src/${EGO_PN}/go.mod || die } src_compile() { diff --git a/sys-cluster/kubectl/kubectl-1.16.0.ebuild b/sys-cluster/kubectl/kubectl-1.16.0.ebuild index 7a61b25dce90..2ab1aefbcfc3 100644 --- a/sys-cluster/kubectl/kubectl-1.16.0.ebuild +++ b/sys-cluster/kubectl/kubectl-1.16.0.ebuild @@ -25,6 +25,7 @@ src_prepare() { default sed -i -e "/vendor\/github.com\/jteeuwen\/go-bindata\/go-bindata/d" -e "s/-s -w/-w/" src/${EGO_PN}/hack/lib/golang.sh || die sed -i -e "/export PATH/d" src/${EGO_PN}/hack/generate-bindata.sh || die + rm src/${EGO_PN}/go.mod || die } src_compile() { -- cgit v1.2.3-65-gdbad