[Bug 288152] databases/mongosh: update 2.3.8 → 2.5.5
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 288152] databases/mongosh: update 2.3.8 → 2.5.5"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 05 Aug 2025 11:40:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288152
--- Comment #5 from Hiroki Tagato <tagattie@FreeBSD.org> ---
(In reply to Fabien Amelinck from comment #4)
Thanks for the explanation. I understand that the post-fetch phase is needed
for the port to keep up with node lts updates.
In case .if !exists(${WRKDIR}/checkpoint) does not work, I think we can use
shell's if expression instead like:
post-fetch:
.if !exists(${WRKDIR}/checkpoint)
${FETCH_CMD} ...
...
.endif
|
v
post-fetch:
if [ ! -r ${DISTDIR}/${DIST_SUBDIR}/${NODEJS_TARBALL} ]; then \
${FETCH_CMD} ... \
... \
fi
Please note that a sentinel in WRKDIR does not work because WRKDIR is wiped in
the extract phase before extracting the distribution files[1][2].
[1]
https://github.com/freebsd/freebsd-ports/blob/main/Mk/bsd.port.mk#L3203-L3221
[2]
https://github.com/freebsd/freebsd-ports/blob/main/Mk/bsd.port.mk#L5417-L5422
--
You are receiving this mail because:
You are the assignee for the bug.