Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 May 2023 00:23:58 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6d78299a54d8 - main - games/veloren-weekly: simplify 6054513a40b1
Message-ID:  <202305070023.3470NwoU075896@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6d78299a54d87c2b959c760c1b4ac0a3022c9aa4

commit 6d78299a54d87c2b959c760c1b4ac0a3022c9aa4
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-05-07 00:00:31 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-05-07 00:23:56 +0000

    games/veloren-weekly: simplify 6054513a40b1
    
    - Other date(1) consumers in ports/ use -u POSIX flag
    - "date -u" uses UTC0 aka UTC+0 i.e., UTC with explicit offset
    - Reduces line length by 6 characters
---
 games/veloren-weekly/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games/veloren-weekly/Makefile b/games/veloren-weekly/Makefile
index 083ac688453e..b664a91c7169 100644
--- a/games/veloren-weekly/Makefile
+++ b/games/veloren-weekly/Makefile
@@ -53,7 +53,7 @@ post-patch:
 		${WRKSRC}/common/build.rs
 # Extract (snapshot) version from the port instead of empty file
 	@${REINPLACE_CMD} -e '/GIT_HASH/s/=.*/= "${GL_COMMIT:C/(.{8}).*/\1/}";/' \
-		-e "/GIT_DATE.*static/s/=.*/= \"$$(TZ=UTC date -r $$(${AWK} '/TIMESTAMP/ { print $$3 }' \
+		-e "/GIT_DATE.*static/s/=.*/= \"$$(date -ur $$(${AWK} '/TIMESTAMP/ { print $$3 }' \
 			${DISTINFO_FILE}) +'%Y-%m-%d-%H:%M')\";/" \
 		${WRKSRC}/common/src/util/mod.rs
 # Respect PREFIX != /usr/local for system assets



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202305070023.3470NwoU075896>