commit: c2bd024be802b2ee95216744d2eb9cff44af2461 Author: William Hubbs <williamh <AT> gentoo <DOT> org> AuthorDate: Sun Feb 5 21:56:06 2023 +0000 Commit: William Hubbs <williamh <AT> gentoo <DOT> org> CommitDate: Sun Feb 5 21:56:06 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2bd024b
app-admin/kube-bench: fix tests Closes: https://bugs.gentoo.org/892894 Signed-off-by: William Hubbs <williamh <AT> gentoo.org> 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 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 }