pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
victorialogs*: convert to GOFLAGS
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Mon Mar 16 13:03:22 2026 +0100
Changeset: 6b242ee23f2395cdedcd8af679ca4b17cf5e0c5f
Modified Files:
victorialogs-vlogscli/Makefile
victorialogs/Makefile
Log Message:
victorialogs*: convert to GOFLAGS
Stop abusing GO_BUILD_PATTERN now that GOFLAGS is available and intended
to add -ldflags ... or similar flags.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6b242ee23f2395cdedcd8af679ca4b17cf5e0c5f
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
victorialogs-vlogscli/Makefile | 2 +-
victorialogs/Makefile | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffs:
diff --git a/victorialogs-vlogscli/Makefile b/victorialogs-vlogscli/Makefile
index 4473d7b7e4..0e76e0abd7 100644
--- a/victorialogs-vlogscli/Makefile
+++ b/victorialogs-vlogscli/Makefile
@@ -4,7 +4,7 @@ PKGNAME= vlogscli-${VICTORIALOGS_VERS}
COMMENT= Interactive command-line tool for querying VictoriaLogs
-GO_BUILD_PATTERN+= -ldflags ' \
+GOFLAGS+= -ldflags ' \
-X github.com/VictoriaMetrics/VictoriaMetrics/lib/buildinfo.Version=vlogscli-${PKGVERSION_NOREV}'
GO_BUILD_PATTERN+= ./app/vlogscli
diff --git a/victorialogs/Makefile b/victorialogs/Makefile
index 55a20fb09b..92efbee0e0 100644
--- a/victorialogs/Makefile
+++ b/victorialogs/Makefile
@@ -4,7 +4,7 @@ PKGNAME= ${DISTNAME:tl}
COMMENT= Fast and easy to use database for logs
-GO_BUILD_PATTERN+= -ldflags ' \
+GOFLAGS+= -ldflags ' \
-X github.com/VictoriaMetrics/VictoriaMetrics/lib/buildinfo.Version=victoria-logs-${PKGVERSION_NOREV}'
GO_BUILD_PATTERN+= ./app/victoria-logs
Home |
Main Index |
Thread Index |
Old Index