git: 1a437a6a8c8e - main - databases/mongosh: broken on aarch64 and i386

From: Ronald Klop <ronald_at_FreeBSD.org>
Date: Tue, 03 Dec 2024 20:52:13 UTC
The branch main has been updated by ronald:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1a437a6a8c8ecbe0cd68d916c7ec864f72958d92

commit 1a437a6a8c8ecbe0cd68d916c7ec864f72958d92
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2024-12-03 20:47:34 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2024-12-03 20:47:34 +0000

    databases/mongosh: broken on aarch64 and i386
    
    arm64: https://lists.freebsd.org/archives/freebsd-pkg-fallout/2024-December/690739.html
    i386: https://lists.freebsd.org/archives/freebsd-pkg-fallout/2024-December/691742.html
    
    Reported by:    portsfallout.com
    Approved by:    ports cleanup
---
 databases/mongosh/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/databases/mongosh/Makefile b/databases/mongosh/Makefile
index 71da90cf10c9..67ed652a8717 100644
--- a/databases/mongosh/Makefile
+++ b/databases/mongosh/Makefile
@@ -22,6 +22,9 @@ WWW=		https://github.com/mongodb-js/mongosh/
 
 LICENSE=	APACHE20
 
+BROKEN_aarch64=	fails to compile: nx/src/native/index.js:147 throw new Error(`Unsupported architecture on FreeBSD: ${arch}`)
+BROKEN_i386=	fails to compile: nx/src/native/index.js:147 throw new Error(`Unsupported architecture on FreeBSD: ${arch}`)
+
 FETCH_DEPENDS=	npm${NODEJS_SUFFIX}>0:www/npm${NODEJS_SUFFIX}
 BUILD_DEPENDS=	bash>0:shells/bash \
 		brotli>=1.0.9,1:archivers/brotli \