[Bug 288152] databases/mongosh: update 2.3.8 → 2.5.5

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 11 Jul 2025 18:45:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288152

            Bug ID: 288152
           Summary: databases/mongosh: update 2.3.8 → 2.5.5
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: fabien.amelinck+freebsd@advens.fr

Created attachment 262051
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=262051&action=edit
git_diff

Hi everyone,

Following this bug : https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288151
! Previously quoted bug (288151) has to be merge before this mongosh upgrade !


I updated my port to the latest version (2.3.8 is currently broken due to an
update in Node).

Changelog : https://github.com/mongodb-js/mongosh/releases


Following bug can be closed after the merge :
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287990

Can you please tell me if I can improve the end of the Makefile to check Node's
options ? It is there to fix this bug (mongosh cannot build without JIT) :
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285348

>.include <bsd.port.pre.mk>
>.include "${PORTSDIR}/www/node${NODEJS_VERSION}/Makefile.version"
>NODE_WITH_JIT!= make -C ${PORTSDIR}/www/node${NODEJS_VERSION} showconfig | grep -o "JIT=on" || true
>.if empty(NODE_WITH_JIT)
>IGNORE=	www/node${NODEJS_VERSION} must be built with JIT enabled. Run 'make -C ${PORTSDIR}/www/node${NODEJS_VERSION} config' to enable it.
>.endif
>.include <bsd.port.post.mk>


Thanks for your review.

-- 
You are receiving this mail because:
You are the assignee for the bug.