git: 5bb9a740e498 - 2022Q3 - math/curv: Broken on systems where OpenMP isn't enabled
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 24 Jul 2022 10:27:59 UTC
The branch 2022Q3 has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5bb9a740e49867e212bb2cf7739c0b8589558f5e
commit 5bb9a740e49867e212bb2cf7739c0b8589558f5e
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-24 10:27:01 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-24 10:27:54 +0000
math/curv: Broken on systems where OpenMP isn't enabled
Reported by: fallout
(cherry picked from commit 80e74486d6571bfbce9c248649f51cde53b9cd75)
---
math/curv/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/math/curv/Makefile b/math/curv/Makefile
index 8bf33c29bbeb..72ef848617f4 100644
--- a/math/curv/Makefile
+++ b/math/curv/Makefile
@@ -9,6 +9,10 @@ COMMENT= Language for making art using mathematics
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
+.if !exists(/usr/include/omp.h)
+BROKEN= requires OpenMP support that is missing on this architecture
+.endif
+
BUILD_DEPENDS= glm>0:math/glm
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libdouble-conversion.so:devel/double-conversion \