git: 6ce78af78a1f - main - devel/xopcodecalc: restrict the build to x86 only due to assembly

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Mon, 22 Jun 2026 15:31:37 UTC
The branch main has been updated by danfe:

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

commit 6ce78af78a1f584c18359083926d4532572e2636
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2026-06-22 15:30:18 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2026-06-22 15:30:18 +0000

    devel/xopcodecalc: restrict the build to x86 only due to assembly
    
    Reported by:    pkg-fallout
---
 devel/xopcodecalc/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/devel/xopcodecalc/Makefile b/devel/xopcodecalc/Makefile
index 98c9f0d32f84..71dcdf7f9b35 100644
--- a/devel/xopcodecalc/Makefile
+++ b/devel/xopcodecalc/Makefile
@@ -9,6 +9,9 @@ WWW=		https://github.com/horsicq/XOpcodeCalc
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+ONLY_FOR_ARCHS=	amd64 i386
+ONLY_FOR_ARCHS_REASON=	has parts written in x86 assembly language
+
 USES=		pkgconfig qt:5
 GNU_CONFIGURE=	yes
 USE_QT=		buildtools:build qmake:build core gui widgets