summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-09-23 09:17:14 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-09-23 09:17:14 +0000
commitde429e89b5f638e608d6640fbf6194c665cd1928 (patch)
treecd6ba526e3721b438fa9c72be71e98d2cf34fa7b
parentdevel/ocaml-result: update the port to version 1.5 (diff)
sysutils/parafly: fix build on powerpc
LLVM on powerpc doesn't have libomp.
-rw-r--r--sysutils/parafly/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysutils/parafly/Makefile b/sysutils/parafly/Makefile
index 51e2ac87f887..3acb97b09107 100644
--- a/sysutils/parafly/Makefile
+++ b/sysutils/parafly/Makefile
@@ -21,4 +21,10 @@ LDFLAGS+= -fopenmp
PLIST_FILES= bin/ParaFly
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USES+= compiler:gcc-c++11-lib
+.endif
+
.include <bsd.port.mk>