git: b586d676edd9 - main - biology/fermi-lite: Add ONLY_FOR_ARCHS line

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 19 Sep 2024 21:05:31 UTC
The branch main has been updated by yuri:

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

commit b586d676edd9d0b8ac8c9b319cdbe1cda7bb2fac
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-09-19 15:01:29 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-09-19 21:05:26 +0000

    biology/fermi-lite: Add ONLY_FOR_ARCHS line
    
    Reported by:    fallout
---
 biology/fermi-lite/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/biology/fermi-lite/Makefile b/biology/fermi-lite/Makefile
index 7d86d1c49267..5a2a8f5817e0 100644
--- a/biology/fermi-lite/Makefile
+++ b/biology/fermi-lite/Makefile
@@ -11,13 +11,17 @@ WWW=		https://github.com/lh3/fermi-lite
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+ONLY_FOR_ARCHS=		amd64 i386
+ONLY_FOR_ARCHS_REASON=	Use of the <emmintrin.h> header in ksw.c which is only for SSE2
+
 USES=		gmake
 USE_LDCONFIG=	yes
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	lh3
 
-CFLAGS_powerpc64le=	-DNO_WARN_X86_INTRINSICS
+CFLAGS_powerpc64le=	-DNO_WARN_X86_INTRINSICS # not sure if it was really ever built on powerpc64le
+CFLAGS_i386=	-msse2
 MAKE_ARGS=	CFLAGS="${CFLAGS}"
 
 BINARY_ALIAS=	gcc=${CC}