mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
app-metrics/carbonapi-booking-0.3.0: fix running tests
go-module injects -buildmode=pie which conflicts with -race Closes: https://bugs.gentoo.org/904051 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
This commit is contained in:
@@ -21,6 +21,16 @@ RDEPEND="${DEPEND}
|
||||
acct-user/carbon"
|
||||
BDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
export VERSION="gentoo-${PVR}"
|
||||
|
||||
# bug 904051: disable data-race detection, conflicts with
|
||||
# go-module's -buildmode=pie
|
||||
sed -i -e 's/ -race / /' Makefile || die
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /etc/carbonapi
|
||||
doins -r "${S}"/config/*
|
||||
|
||||
Reference in New Issue
Block a user