git: e7af5e32b407 - main - biology/hhsuite: check for omp.h on all architectures
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 Apr 2022 13:40:22 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=e7af5e32b40796da3f0c252941d5f427f7519234 commit e7af5e32b40796da3f0c252941d5f427f7519234 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2022-04-27 13:22:04 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2022-04-27 13:22:04 +0000 biology/hhsuite: check for omp.h on all architectures --- biology/hhsuite/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/biology/hhsuite/Makefile b/biology/hhsuite/Makefile index b0c6425e0e19..0c655ea1561a 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 <bsd.port.options.mk> .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 <bsd.port.mk>