Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2022 20:25:41 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 45b7598c4220 - 2022Q3 - cad/gds3d: Broken on architectures that don't have OpenMP
Message-ID:  <202207212025.26LKPfC5049531@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



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