diff --git a/biology/trimadap/Makefile b/biology/trimadap/Makefile --- a/biology/trimadap/Makefile +++ b/biology/trimadap/Makefile @@ -1,7 +1,7 @@ PORTNAME= trimadap DISTVERSION= 0.1-3 DISTVERSIONSUFFIX= -gddfef21 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= biology MAINTAINER= jwb@FreeBSD.org @@ -10,9 +10,14 @@ LICENSE= GPLv2 -ONLY_FOR_ARCHS= amd64 i386 powerpc64le +ONLY_FOR_ARCHS= aarch64 amd64 armv7 i386 powerpc64le ONLY_FOR_ARCHS_REASON= uses hard-coded SSE instructions +aarch64_BUILD_DEPENDS= ${LOCALBASE}/include/sse2neon.h:devel/sse2neon +armv7_BUILD_DEPENDS= ${aarch64_BUILD_DEPENDS} +BUILD_DEPENDS+= ${${ARCH}_BUILD_DEPENDS} + +USES= localbase USE_GITHUB= yes GH_ACCOUNT= lh3 diff --git a/biology/trimadap/files/patch-ksw.c b/biology/trimadap/files/patch-ksw.c new file mode 100644 --- /dev/null +++ b/biology/trimadap/files/patch-ksw.c @@ -0,0 +1,14 @@ +--- ksw.c.orig 2024-10-15 15:21:11 UTC ++++ ksw.c +@@ -26,7 +26,11 @@ + #include + #include + #include ++#if defined(__arm__) || defined(__aarch64__) ++#include ++#else + #include ++#endif + #include "ksw.h" + + #ifdef __GNUC__