pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

grafana: tidy up do-build



Module Name:	pkgsrc-wip
Committed By:	Tobias Nygren <tnn%NetBSD.org@localhost>
Pushed By:	tnn
Date:		Thu Aug 20 13:36:32 2026 +0200
Changeset:	470821efdedde18ddc705d5260d445ea23e2cc5c

Modified Files:
	grafana/Makefile

Log Message:
grafana: tidy up do-build

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=470821efdedde18ddc705d5260d445ea23e2cc5c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 grafana/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diffs:
diff --git a/grafana/Makefile b/grafana/Makefile
index cff5347c04..b9ea3f63b5 100644
--- a/grafana/Makefile
+++ b/grafana/Makefile
@@ -80,9 +80,10 @@ post-extract:
 
 # These commands come from Makefile, build-go target.
 do-build:
-	cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} ${GO} run ./pkg/build/wire/cmd/wire/main.go gen -tags "oss" -gen_tags "(!enterprise && !pro)" ./pkg/server
-	cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} ${GO} generate ./pkg/services/preference
-	cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} ${GO} build -buildvcs=false -trimpath -ldflags "-X main.version=${PKGVERSION_NOREV} -X main.commit=${PKGVERSION} -X main.buildBranch=pkgsrc -X main.buildstamp=0" ./pkg/cmd/grafana
+	${RUN} cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} ${GO} telemetry off
+	${RUN} cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} ${GO} run ./pkg/build/wire/cmd/wire/main.go gen -tags "oss" -gen_tags "(!enterprise && !pro)" ./pkg/server
+	${RUN} cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} ${GO} generate ./pkg/services/preference
+	${RUN} cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} ${GO} build -buildvcs=false -trimpath -ldflags "-X main.version=${PKGVERSION_NOREV} -X main.commit=${PKGVERSION} -X main.buildBranch=pkgsrc -X main.buildstamp=0" ./pkg/cmd/grafana
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/grafana ${DESTDIR}${PREFIX}/bin/


Home | Main Index | Thread Index | Old Index