git: 769b0fad6ea5 - 2024Q1 - finance/fabric: Not for non-64-bit architectures

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 12 Jan 2024 02:56:15 UTC
The branch 2024Q1 has been updated by yuri:

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

commit 769b0fad6ea55159b4e6572ca0a69ea9b7c2823c
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-01-12 02:54:51 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-01-12 02:56:10 +0000

    finance/fabric: Not for non-64-bit architectures
    
    Reported by:    https://portsfallout.com/
    
    (cherry picked from commit 216e1100d18485f72c8288dbb505784a9f68064a)
---
 finance/fabric/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/finance/fabric/Makefile b/finance/fabric/Makefile
index 1336d107767a..83823ef1958b 100644
--- a/finance/fabric/Makefile
+++ b/finance/fabric/Makefile
@@ -11,6 +11,8 @@ WWW=		https://wiki.hyperledger.org/display/fabric
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+NOT_FOR_ARCHS=	armv6 armv7 i386 mips powerpc # compilation fails on non-64-bit systems: fabric-amcl/core/FP256BN/FP.go:111:19: cannot convert MConst (constant 30564559323915749 of type Chunk) to type int
+
 USES=		go:modules
 USE_GITHUB=	yes
 GH_ACCOUNT=	hyperledger