git: 0a618235c76d - main - biology/fasttree: fix build on powerpc
Piotr Kubaj
pkubaj at FreeBSD.org
Thu Jun 10 12:25:35 UTC 2021
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0a618235c76d379d40ae3087e19a8de0068c2221
commit 0a618235c76d379d40ae3087e19a8de0068c2221
Author: Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-06-10 12:25:31 +0000
Commit: Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-06-10 12:25:31 +0000
biology/fasttree: fix build on powerpc
LLVM on powerpc doesn't have libomp.
Same issue happens on armv6 and armv7 but someone has to test whether doing the same for those architectures is enough.
---
biology/fasttree/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/biology/fasttree/Makefile b/biology/fasttree/Makefile
index 30dd2cd31972..304ee4959939 100644
--- a/biology/fasttree/Makefile
+++ b/biology/fasttree/Makefile
@@ -16,6 +16,12 @@ BROKEN_armv7= fails to compile: FastTree-2.1.10.c:305:10: 'omp.h' file not foun
NO_WRKSUBDIR= yes
PLIST_FILES= bin/FastTree
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USES= compiler:gcc-c++11-lib
+.endif
+
do-extract:
@${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
More information about the dev-commits-ports-all
mailing list