summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-containers')
-rw-r--r--app-containers/cadvisor/cadvisor-0.36.0.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/app-containers/cadvisor/cadvisor-0.36.0.ebuild b/app-containers/cadvisor/cadvisor-0.36.0.ebuild
index 9e760144cab2..f039eb3ee130 100644
--- a/app-containers/cadvisor/cadvisor-0.36.0.ebuild
+++ b/app-containers/cadvisor/cadvisor-0.36.0.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=7
@@ -20,11 +20,12 @@ DEPEND="${COMMON_DEPEND}"
RDEPEND="${COMMON_DEPEND}"
src_prepare() {
+ default
sed -i -e "/go get/d" build/assets.sh || die
sed -i -e "s/git describe.*/echo ${PV} )/"\
-e "s/git rev-parse --short HEAD.*/echo ${COMMIT} )/"\
build/build.sh || die
- default
+ sed -i -e "s/-short -race/-short/" Makefile || die
}
src_compile() {