From c2bd024be802b2ee95216744d2eb9cff44af2461 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Sun, 5 Feb 2023 15:56:06 -0600 Subject: [PATCH] app-admin/kube-bench: fix tests Closes: https://bugs.gentoo.org/892894 Signed-off-by: William Hubbs --- app-admin/kube-bench/kube-bench-0.6.8.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 4d7ff54265c5f..0e29d40ffca44 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 }