summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2019-10-28 14:56:59 +0100
committerManuel Rüger <mrueg@gentoo.org>2019-10-28 14:57:26 +0100
commit88ab18b85b645bbc9fd962bb40fa88043a67f053 (patch)
tree3839b2804da2c06049c593bd7e478cd84a0594c7 /app-admin/kube-bench
parentmedia-gfx/{gimp,mypaint-brushes} + media-libs/{babl,gegl,libmypaint}: maintai... (diff)
downloadgentoo-88ab18b85b645bbc9fd962bb40fa88043a67f053.tar.gz
gentoo-88ab18b85b645bbc9fd962bb40fa88043a67f053.tar.bz2
gentoo-88ab18b85b645bbc9fd962bb40fa88043a67f053.zip
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@gentoo.org>
Diffstat (limited to 'app-admin/kube-bench')
-rw-r--r--app-admin/kube-bench/kube-bench-0.0.34.ebuild2
1 files changed, 1 insertions, 1 deletions
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
}