git: 184c53534196 - 2026Q2 - net/tun2socks: Change GO_BUILDFLAGS => GO_LDFLAGS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 01 Jul 2026 10:15:37 UTC
The branch 2026Q2 has been updated by tiga:
URL: https://cgit.FreeBSD.org/ports/commit/?id=184c53534196b1d887f8c90d8f6e098597de9e4b
commit 184c53534196b1d887f8c90d8f6e098597de9e4b
Author: Tiago Gasiba <tiga@FreeBSD.org>
AuthorDate: 2026-07-01 10:10:15 +0000
Commit: Tiago Gasiba <tiga@FreeBSD.org>
CommitDate: 2026-07-01 10:15:22 +0000
net/tun2socks: Change GO_BUILDFLAGS => GO_LDFLAGS
MFH: 2026Q2
(cherry picked from commit bb63f8ee550b7a02e63170963efb3f44bf3c523a)
---
net/tun2socks/Makefile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/net/tun2socks/Makefile b/net/tun2socks/Makefile
index 672045db4772..685b0f7d0818 100644
--- a/net/tun2socks/Makefile
+++ b/net/tun2socks/Makefile
@@ -41,8 +41,7 @@ GH_TUPLE= ajg:form:v1.5.1:ajg_form/vendor/github.com/ajg/form \
wireguard:wireguard-go:f333402bd9cb:wireguard_wireguard_go/vendor/golang.zx2c4.com/wireguard
GO_TARGET= .
-GO_BUILDFLAGS= -ldflags="-w -s \
- -X github.com/${GH_ACCOUNT}/${PORTNAME}/v2/internal/version.Version=v${DISTVERSION}"
+GO_LDFLAGS= -X github.com/${GH_ACCOUNT}/${PORTNAME}/v2/internal/version.Version=v${DISTVERSION}
PLIST_FILES= bin/${PORTNAME}