openbsd-ports/sysutils/prometheus/patches/patch-Makefile_common
claudio 0401c27ec4 Update prometheus to v2.24.1.
This port needs an extra react web UI package that I provide. Building
react is a nightmare and to complicated for bulk builds. Also embedding
the web UI into the go binary makes it hard to extract it from other
offical builds.

OK rsadowski@ sthen@
2021-02-15 09:18:37 +00:00

21 lines
559 B
Plaintext

$OpenBSD: patch-Makefile_common,v 1.3 2021/02/15 09:18:37 claudio Exp $
Don't fetch promu form internet. This is just a build-dependency
Index: Makefile.common
--- Makefile.common.orig
+++ Makefile.common
@@ -261,11 +261,7 @@ common-docker-manifest:
promu: $(PROMU)
$(PROMU):
- $(eval PROMU_TMP := $(shell mktemp -d))
- curl -s -L $(PROMU_URL) | tar -xvzf - -C $(PROMU_TMP)
- mkdir -p $(FIRST_GOPATH)/bin
- cp $(PROMU_TMP)/promu-$(PROMU_VERSION).$(GO_BUILD_PLATFORM)/promu $(FIRST_GOPATH)/bin/promu
- rm -r $(PROMU_TMP)
+ @true
.PHONY: proto
proto: