Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 May 2026 23:00:06 +0000
From:      =?utf-8?Q?=C3=84lven?= <alven@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 798bd355712c - main - net-mgmt/thanos: Fix BUILD_DATE syntax to fix build
Message-ID:  <6a0ceb76.1d08c.2f5c5ab9@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by alven:

URL: https://cgit.FreeBSD.org/ports/commit/?id=798bd355712c8b4f518573d6973c776f6000bd25

commit 798bd355712c8b4f518573d6973c776f6000bd25
Author:     Älven <alven@FreeBSD.org>
AuthorDate: 2026-05-19 22:46:03 +0000
Commit:     Älven <alven@FreeBSD.org>
CommitDate: 2026-05-19 22:59:13 +0000

    net-mgmt/thanos: Fix BUILD_DATE syntax to fix build
    
    * Change the syntax of BUILD_DATE after switching to GO_LDFLAGS as
    port was using double quotes but Uses/go.mk has single quotes where it
    interpolates GO_LDFLAGS, which requires use of different syntax.
    * Also switch date format of BUILD_DATE to classic ISO 8601.
    
    PR:             295384
    Reported by:    Chad Jacob Milios <milios@ccsys.com>
    Approved by:    db@, yuri@ (Mentors, implicit)
    Fixes:          2af7cdf6fd59 * net-mgmt/thanos: improve port
---
 net-mgmt/thanos/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mgmt/thanos/Makefile b/net-mgmt/thanos/Makefile
index 8a4cab1af936..9c4f9f220f53 100644
--- a/net-mgmt/thanos/Makefile
+++ b/net-mgmt/thanos/Makefile
@@ -25,7 +25,7 @@ GO_LDFLAGS=	-X github.com/prometheus/common/version.Branch="master" \
 
 PLIST_FILES=	bin/${PORTNAME}
 
-BUILD_DATE=	$$(date +%d-%B-%Y)
+BUILD_DATE=	${:Udate +%F:sh}
 REVISION=	cb1396b9
 
 .include <bsd.port.mk>


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a0ceb76.1d08c.2f5c5ab9>