git: dc9d16a503d8 - main - databases/mongosh: broken on armv7

From: Ronald Klop <ronald_at_FreeBSD.org>
Date: Fri, 06 Dec 2024 09:31:45 UTC
The branch main has been updated by ronald:

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

commit dc9d16a503d85f61a999cff9cd70ff67144e031e
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2024-12-06 09:29:01 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2024-12-06 09:31:28 +0000

    databases/mongosh: broken on armv7
    
    Improve broken messages on aarch64 & i386 also.
    
    Reported by:    https://lists.freebsd.org/archives/freebsd-pkg-fallout/2024-December/692291.html
    Approved by:    ports cleanup blanket
---
 databases/mongosh/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/databases/mongosh/Makefile b/databases/mongosh/Makefile
index 67ed652a8717..ded337db4633 100644
--- a/databases/mongosh/Makefile
+++ b/databases/mongosh/Makefile
@@ -22,8 +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}`)
+BROKEN_aarch64=	fails to compile: nx/src/native/index.js:147 Error: Unsupported architecture on FreeBSD: arm64
+BROKEN_armv7=	fails to compile: nx/src/native/index.js:147 Error: Unsupported architecture on FreeBSD: arm
+BROKEN_i386=	fails to compile: nx/src/native/index.js:147 Error: Unsupported architecture on FreeBSD: ia32
 
 FETCH_DEPENDS=	npm${NODEJS_SUFFIX}>0:www/npm${NODEJS_SUFFIX}
 BUILD_DEPENDS=	bash>0:shells/bash \