summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-metrics/carbonapi-booking/carbonapi-booking-0.3.0.ebuild10
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/*