git: ac5e87b9286e - main - net-im/libsignal-node: Fix build on aarch64

From: Mikael Urankar <mikael_at_FreeBSD.org>
Date: Fri, 01 Jul 2022 08:54:12 UTC
The branch main has been updated by mikael:

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

commit ac5e87b9286eb44d8ef338f3a9cc6ae335ec8eaa
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2022-07-01 08:24:00 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2022-07-01 08:54:05 +0000

    net-im/libsignal-node: Fix build on aarch64
    
    Two crates uses unstable features, unlock them with RUSTC_BOOTSTRAP
    
    While here remove an extra space
---
 net-im/libsignal-node/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/net-im/libsignal-node/Makefile b/net-im/libsignal-node/Makefile
index 8d8d33fd7f5d..2a2c3f9570fa 100644
--- a/net-im/libsignal-node/Makefile
+++ b/net-im/libsignal-node/Makefile
@@ -255,11 +255,13 @@ MAKE_ENV=	ELECTRON_OVERRIDE_DIST_PATH=${LOCALBASE}/share/electron18 \
 		PYTHON=${PYTHON_CMD} \
 		XDG_CACHE_HOME=${WRKDIR}/.cache
 
-USE_LDCONFIG=	yes
+MAKE_ENV+=	RUSTC_BOOTSTRAP=aes,polyval
+
+USE_LDCONFIG=		yes
 
 PLIST_FILES=	lib/libsignal_node.so
 
-NODE_ARCH=	${ARCH:S/amd64/x64/:S/i386/ia32/:C/powerpc64.*/ppc64/}
+NODE_ARCH=	${ARCH:S/aarch64/arm64/:S/amd64/x64/:S/i386/ia32/:C/powerpc64.*/ppc64/}
 RUST_ARCH=	${ARCH:S/amd64/x86_64/:S/i386/i686/}
 
 .include <bsd.port.options.mk>