git: 45b7598c4220 - 2022Q3 - cad/gds3d: Broken on architectures that don't have OpenMP
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 21 Jul 2022 20:25:41 UTC
The branch 2022Q3 has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=45b7598c422004f85b346194949ea529177070f4
commit 45b7598c422004f85b346194949ea529177070f4
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-21 20:24:12 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-21 20:25:32 +0000
cad/gds3d: Broken on architectures that don't have OpenMP
Reported by: fallout
(cherry picked from commit c7429d8e0eb54b7cd16ae1e60a915897a92abfda)
---
cad/gds3d/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/cad/gds3d/Makefile b/cad/gds3d/Makefile
index f456e544f1b4..a9cf8aaf55ca 100644
--- a/cad/gds3d/Makefile
+++ b/cad/gds3d/Makefile
@@ -12,6 +12,10 @@ USES= gl gmake localbase:ldflags xorg
USE_XORG= x11
USE_GL= gl
+.if !exists(/usr/include/omp.h)
+BROKEN= requires OpenMP support that is missing on this architecture
+.endif
+
USE_GITHUB= yes
GH_ACCOUNT= trilomix
GH_PROJECT= ${PORTNAME:tu}