summaryrefslogtreecommitdiff
path: root/net-mgmt/telegraf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/telegraf/Makefile')
-rw-r--r--net-mgmt/telegraf/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/net-mgmt/telegraf/Makefile b/net-mgmt/telegraf/Makefile
index b47bfe83af86..443694e6321f 100644
--- a/net-mgmt/telegraf/Makefile
+++ b/net-mgmt/telegraf/Makefile
@@ -1,7 +1,7 @@
PORTNAME= telegraf
DISTVERSIONPREFIX=v
-DISTVERSION= 1.35.1
-PORTREVISION= 1
+DISTVERSION= 1.35.4
+PORTREVISION= 2
CATEGORIES= net-mgmt
MAINTAINER= girgen@FreeBSD.org
@@ -17,7 +17,7 @@ USES= go:1.24,modules
USE_RC_SUBR= telegraf
GO_MODULE= github.com/influxdata/telegraf
-GO_BUILDFLAGS= -ldflags "-X main.goos=freebsd -X main.goarch=${ARCH} -X main.version=${DISTVERSION}"
+GO_BUILDFLAGS= -ldflags "-X github.com/influxdata/telegraf/internal.Version=${DISTVERSION}"
GO_TARGET= ./cmd/telegraf
SUB_FILES= telegraf