commit:     88ab18b85b645bbc9fd962bb40fa88043a67f053
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 28 13:56:59 2019 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Mon Oct 28 13:57:26 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88ab18b8

app-admin/kube-bench: Fix build with go-1.12

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Manuel Rüger <mrueg <AT> gentoo.org>

 app-admin/kube-bench/kube-bench-0.0.34.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/kube-bench/kube-bench-0.0.34.ebuild 
b/app-admin/kube-bench/kube-bench-0.0.34.ebuild
index cf7b9e1eb72..5b943f248d2 100644
--- a/app-admin/kube-bench/kube-bench-0.0.34.ebuild
+++ b/app-admin/kube-bench/kube-bench-0.0.34.ebuild
@@ -49,7 +49,7 @@ RESTRICT="test"
 
 src_compile() {
        pushd src/${EGO_PN} || die
-       GOPATH="${S}" go build -mod vendor -v -ldflags "-X 
github.com/aquasecurity/kube-bench/cmd.KubeBenchVersion=${PV}" -o ${PN} . || die
+       GO111MODULE=on GOPATH="${S}" go build -mod vendor -v -ldflags "-X 
github.com/aquasecurity/kube-bench/cmd.KubeBenchVersion=${PV}" -o ${PN} . || die
        popd || die
 }
 

Reply via email to