1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

biology/pooler: use openmp only when omp.h is present

This commit is contained in:
Piotr Kubaj 2022-04-27 13:22:12 +00:00
parent 1115257612
commit eaf43a218b

View File

@ -15,15 +15,12 @@ GH_ACCOUNT= ssb22
GH_PROJECT= PrimerPooler
INSTALL_TARGET= install-strip
CFLAGS+= -fopenmp
WRKSRC_SUBDIR= pooler
PLIST_FILES= bin/pooler man/man1/pooler.1.gz share/applications/pooler.desktop
.include <bsd.port.options.mk>
.if ${ARCH} == powerpc
USES+= compiler:gcc-c++11-lib
.if exists(/usr/include/omp.h)
CFLAGS+= -fopenmp
.endif
.include <bsd.port.mk>