git: 420248a370dd - main - misc/gemini-cli: Simplify Makefile
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 Oct 2025 06:33:55 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=420248a370dde84bafb550b71965db74dc80f88e
commit 420248a370dde84bafb550b71965db74dc80f88e
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-10-13 05:48:13 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-10-13 06:33:50 +0000
misc/gemini-cli: Simplify Makefile
---
misc/gemini-cli/Makefile | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/misc/gemini-cli/Makefile b/misc/gemini-cli/Makefile
index cdaeb40b4efd..511011671965 100644
--- a/misc/gemini-cli/Makefile
+++ b/misc/gemini-cli/Makefile
@@ -49,9 +49,7 @@ do-fetch:
${MV} node_modules/${PACKAGE_NAME} lib/node_modules/@google/ && \
${LN} -sf ../lib/node_modules/${PACKAGE_NAME}/dist/index.js bin/gemini && \
${RM} -rf node_modules package.json && \
- ${FIND} . -type f -exec ${TOUCH} -h -d 1970-01-01T00:00:00Z {} \; && \
- ${FIND} . -type d -exec ${TOUCH} -h -d 1970-01-01T00:00:00Z {} \; && \
- ${FIND} . -type l -exec ${TOUCH} -h -d 1970-01-01T00:00:00Z {} \; && \
+ ${FIND} ${WRKDIR} -and -exec ${TOUCH} -h -d 1970-01-01T00:00:00Z {} \; && \
cd ${WRKDIR} && ${FIND} ${PORTNAME}-${DISTVERSION} -print0 | LC_ALL=C ${SORT} -z | \
${TAR} czf ${DISTDIR}/${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} --format=bsdtar --gid 0 --uid 0 --options gzip:!timestamp --no-recursion --null -T - \
); fi