diff options
author | Fabian Groffen <grobian@gentoo.org> | 2023-04-10 09:53:19 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2023-04-10 09:54:08 +0200 |
commit | 04a8d4d0f4e5f960f847796288237d71bfefdfc9 (patch) | |
tree | d46701a4144e88dc0ec7ddb766175e9858c2d90e /app-metrics | |
parent | dev-ruby/activerecord: stabilize 6.0.6.1 for amd64 (diff) | |
download | gentoo-04a8d4d0f4e5f960f847796288237d71bfefdfc9.tar.gz gentoo-04a8d4d0f4e5f960f847796288237d71bfefdfc9.tar.bz2 gentoo-04a8d4d0f4e5f960f847796288237d71bfefdfc9.zip |
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>
Diffstat (limited to 'app-metrics')
-rw-r--r-- | app-metrics/carbonapi-booking/carbonapi-booking-0.3.0.ebuild | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app-metrics/carbonapi-booking/carbonapi-booking-0.3.0.ebuild b/app-metrics/carbonapi-booking/carbonapi-booking-0.3.0.ebuild index 1e309c4d679b..e8633fd600e7 100644 --- a/app-metrics/carbonapi-booking/carbonapi-booking-0.3.0.ebuild +++ b/app-metrics/carbonapi-booking/carbonapi-booking-0.3.0.ebuild @@ -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/* |