From: Zac Medico Date: Sat, 5 Oct 2019 04:36:11 +0000 (-0700) Subject: sys-cluster/kubectl: fix compile with go-1.13 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=b35e587dc63def0a4cba3937b2c6471ece047fef;p=gentoo.git 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 --- 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() {