git: e705bd87add3 - main - security/node-sqlcipher: Restrict to amd64 and aarch64

From: Mikael Urankar <mikael_at_FreeBSD.org>
Date: Sun, 13 Apr 2025 08:18:30 UTC
The branch main has been updated by mikael:

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

commit e705bd87add309d8e6d8ba9fa23e2ff98c91140b
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2025-04-13 08:18:00 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2025-04-13 08:18:00 +0000

    security/node-sqlcipher: Restrict to amd64 and aarch64
    
    The only consumer of this port is signal-desktop which only
    works on amd64 and aarch64.
    
    While here remove an extra '\'
---
 security/node-sqlcipher/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/security/node-sqlcipher/Makefile b/security/node-sqlcipher/Makefile
index 6630bca44bda..47415998e6a5 100644
--- a/security/node-sqlcipher/Makefile
+++ b/security/node-sqlcipher/Makefile
@@ -4,7 +4,7 @@ CATEGORIES=	security
 MASTER_SITES=	https://github.com/signalapp/node-sqlcipher/archive/refs/tags/v${DISTVERSION}/:sqlcipher \
 		LOCAL/mikael/signal-desktop/:npm
 DISTFILES=	node-sqlcipher-${DISTVERSION}.tar.gz:sqlcipher \
-		node-sqlcipher-${DISTVERSION}-npm-cache.tar.gz:npm \
+		node-sqlcipher-${DISTVERSION}-npm-cache.tar.gz:npm
 
 MAINTAINER=	mikael@FreeBSD.org
 COMMENT=	Fast N-API-based Node.js addon wrapping sqlcipher and FTS5 segmenting APIs
@@ -13,6 +13,8 @@ WWW=		https://github.com/signalapp/node-sqlcipher
 LICENSE=	AGPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+ONLY_FOR_ARCHS=	aarch64 amd64
+
 BUILD_DEPENDS=	${LOCALBASE}/lib/libsignal_sqlcipher_extension.a:devel/signal-sqlcipher-extension \
 		npm:www/npm${NODEJS_SUFFIX}