git: 89bd892c5be4 - main - cad/openroad: Broken on systems where OpenMP isn't enabled

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 23 Jul 2022 14:55:01 UTC
The branch main has been updated by yuri:

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

commit 89bd892c5be41b6d45a5b79d5f763afb58cd62a0
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-23 14:54:28 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-23 14:54:59 +0000

    cad/openroad: Broken on systems where OpenMP isn't enabled
    
    Reported by:    fallout
---
 cad/openroad/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/cad/openroad/Makefile b/cad/openroad/Makefile
index 4e01b07bbfe2..0e9f395483ce 100644
--- a/cad/openroad/Makefile
+++ b/cad/openroad/Makefile
@@ -12,6 +12,9 @@ LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BROKEN_i386=	C++ issue on i386, should be resolved in the next update
+.if !exists(/usr/include/omp.h)
+BROKEN=		requires OpenMP support that is missing on this architecture
+.endif
 
 BUILD_DEPENDS=	base64:converters/base64 \
 		boost-libs>0:devel/boost-libs \