git: c7429d8e0eb5 - main - cad/gds3d: Broken on architectures that don't have OpenMP

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 21 Jul 2022 20:24:53 UTC
The branch main has been updated by yuri:

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

commit c7429d8e0eb54b7cd16ae1e60a915897a92abfda
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:24:50 +0000

    cad/gds3d: Broken on architectures that don't have OpenMP
    
    Reported by:    fallout
---
 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}