git: de429e89b5f6 - main - sysutils/parafly: fix build on powerpc

Piotr Kubaj pkubaj at FreeBSD.org
Thu Sep 23 09:23:47 UTC 2021


The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=de429e89b5f638e608d6640fbf6194c665cd1928

commit de429e89b5f638e608d6640fbf6194c665cd1928
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-09-23 09:17:14 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-09-23 09:17:14 +0000

    sysutils/parafly: fix build on powerpc
    
    LLVM on powerpc doesn't have libomp.
---
 sysutils/parafly/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

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>


More information about the dev-commits-ports-main mailing list