diff options
author | 2023-02-05 15:56:06 -0600 | |
---|---|---|
committer | 2023-02-05 15:56:06 -0600 | |
commit | c2bd024be802b2ee95216744d2eb9cff44af2461 (patch) | |
tree | 8eef3ca5b686a6afc22f48d91dd7619370c1581e /app-admin/kube-bench | |
parent | app-containers/cadvisor: fix tests (diff) | |
download | gentoo-c2bd024be802b2ee95216744d2eb9cff44af2461.tar.gz gentoo-c2bd024be802b2ee95216744d2eb9cff44af2461.tar.bz2 gentoo-c2bd024be802b2ee95216744d2eb9cff44af2461.zip |
app-admin/kube-bench: fix tests
Closes: https://bugs.gentoo.org/892894
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'app-admin/kube-bench')
-rw-r--r-- | app-admin/kube-bench/kube-bench-0.6.8.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app-admin/kube-bench/kube-bench-0.6.8.ebuild b/app-admin/kube-bench/kube-bench-0.6.8.ebuild index 4d7ff54265c5..0e29d40ffca4 100644 --- a/app-admin/kube-bench/kube-bench-0.6.8.ebuild +++ b/app-admin/kube-bench/kube-bench-0.6.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,6 +13,11 @@ LICENSE="Apache-2.0 MIT MPL-2.0 BSD BSD-2" SLOT="0" KEYWORDS="~amd64" +src_prepare() { + default + sed -i -e 's/-short -race/-short/' makefile || die +} + src_compile() { emake KUBEBENCH_VERSION=v${PV} build } |