git: e0fbf5a0186d - 2023Q2 - games/veloren-weekly: simplify 6054513a40b1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 07 May 2023 00:24:13 UTC
The branch 2023Q2 has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=e0fbf5a0186dbdb8d128743d5b4e221e90f0f50b commit e0fbf5a0186dbdb8d128743d5b4e221e90f0f50b 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:24:08 +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 (cherry picked from commit 6d78299a54d87c2b959c760c1b4ac0a3022c9aa4) --- 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