diff --git a/biology/hhsuite/Makefile b/biology/hhsuite/Makefile index 7686f86e7278..60e0fcb6ad66 100644 --- a/biology/hhsuite/Makefile +++ b/biology/hhsuite/Makefile @@ -1,42 +1,40 @@ PORTNAME= hhsuite DISTVERSIONPREFIX= v DISTVERSION= 3.3.0 PORTREVISION= 1 CATEGORIES= biology science MAINTAINER= yuri@FreeBSD.org COMMENT= Remote protein homology detection suite WWW= https://github.com/soedinglab/hh-suite LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_armv7= compilation fails: no member named 'neon_f64' in 'simde__m128d_private', see https://github.com/soedinglab/hh-suite/issues/322 - LIB_DEPENDS= libmpi.so:net/openmpi USES= compiler:c++11-lang cmake perl5 python shebangfix SHEBANG_GLOB= *.pl *.py USE_GITHUB= yes GH_ACCOUNT= soedinglab GH_PROJECT= hh-suite LDFLAGS+= -Wl,-rpath,${LOCALBASE}/mpi/openmpi/lib -L${LOCALBASE}/mpi/openmpi/lib -lmpi # force linking to openmpi, and not to mpich .if !exists(/usr/include/omp.h) PLIST_SUB+= OPENMP="@comment " .else PLIST_SUB+= OPENMP="" .endif .include .if ${ARCH} == aarch64 CMAKE_ON= HAVE_ARM8 .elif ${ARCH} == amd64 || ${ARCH} == i386 CMAKE_ON= HAVE_SSE2 .elif ${ARCH} == powerpc64le CMAKE_ON= HAVE_POWER8 .endif .include diff --git a/biology/hhsuite/files/patch-lib_simde_simde_x86_sse2.h b/biology/hhsuite/files/patch-lib_simde_simde_x86_sse2.h new file mode 100644 index 000000000000..898d98065043 --- /dev/null +++ b/biology/hhsuite/files/patch-lib_simde_simde_x86_sse2.h @@ -0,0 +1,11 @@ +--- lib/simde/simde/x86/sse2.h.orig 2022-10-01 09:24:35 UTC ++++ lib/simde/simde/x86/sse2.h +@@ -6591,7 +6591,7 @@ simde_x_mm_negate_pd(simde__m128d a) { + + #if defined(SIMDE_POWER_ALTIVEC_P9_NATIVE) + r_.altivec_f64 = vec_neg(a_.altivec_f64); +- #elif defined(SIMDE_ARM_NEON_A32V7_NATIVE) ++ #elif defined(SIMDE_ARM_NEON_A64V8_NATIVE) + r_.neon_f64 = vnegq_f64(a_.neon_f64); + #elif defined(SIMDE_WASM_SIMD128d_NATIVE) + r_.wasm_v128d = wasm_f64x2_neg(a_.wasm_v128d);