From 88ab18b85b645bbc9fd962bb40fa88043a67f053 Mon Sep 17 00:00:00 2001 From: Manuel Rüger Date: Mon, 28 Oct 2019 14:56:59 +0100 Subject: app-admin/kube-bench: Fix build with go-1.12 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Manuel Rüger --- app-admin/kube-bench/kube-bench-0.0.34.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app-admin/kube-bench') 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 cf7b9e1eb726..5b943f248d2e 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 } -- cgit v1.2.3-65-gdbad