diff --git a/biology/hhsuite/Makefile b/biology/hhsuite/Makefile index b0c6425e0e19e..0c655ea1561ab 100644 --- a/biology/hhsuite/Makefile +++ b/biology/hhsuite/Makefile @@ -20,6 +20,12 @@ 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 @@ -30,10 +36,4 @@ CMAKE_ON= HAVE_SSE2 CMAKE_ON= HAVE_POWER8 .endif -.if ${ARCH} == powerpc -PLIST_SUB+= OPENMP="@comment " -.else -PLIST_SUB+= OPENMP="" -.endif - .include