Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Sep 2021 09:23:46 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: de429e89b5f6 - main - sysutils/parafly: fix build on powerpc
Message-ID:  <202109230923.18N9Nk83039536@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=de429e89b5f638e608d6640fbf6194c665cd1928

commit de429e89b5f638e608d6640fbf6194c665cd1928
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-09-23 09:17:14 +0000
Commit:     Piotr Kubaj <pkubaj@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109230923.18N9Nk83039536>