Date: Wed, 6 Oct 2021 21:07:17 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 0716ab659929 - main - biology/pooler: fix build on powerpc Message-ID: <202110062107.196L7H0s049751@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=0716ab659929a0bd12bcff4faf0ab0993b297f14 commit 0716ab659929a0bd12bcff4faf0ab0993b297f14 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2021-10-06 20:52:30 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2021-10-06 20:52:30 +0000 biology/pooler: fix build on powerpc In file included from bit-common.c:63: In file included from ./bit-choice.h:23: In file included from ./triangle.h:44: ./openmp.h:19:10: fatal error: 'omp.h' file not found --- biology/pooler/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/biology/pooler/Makefile b/biology/pooler/Makefile index 8236638d0c4a..295c69325fbf 100644 --- a/biology/pooler/Makefile +++ b/biology/pooler/Makefile @@ -21,5 +21,10 @@ CFLAGS+= -fopenmp INSTALL_TARGET= install-strip PLIST_FILES= bin/pooler man/man1/pooler.1.gz share/applications/pooler.desktop -.include <bsd.port.mk> +.include <bsd.port.options.mk> + +.if ${ARCH} == powerpc +USES+= compiler:gcc-c++11-lib +.endif +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110062107.196L7H0s049751>