git: a3f6ca2af18b - main - misc/mxnet: Broken on systems where OpenMP isn't enabled

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 29 Jul 2022 20:54:45 UTC
The branch main has been updated by yuri:

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

commit a3f6ca2af18b75e8db454b755a7388d2bf013ccb
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-29 20:53:51 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-29 20:53:51 +0000

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

diff --git a/misc/mxnet/Makefile b/misc/mxnet/Makefile
index 861000eb5c7b..2847bf8696f4 100644
--- a/misc/mxnet/Makefile
+++ b/misc/mxnet/Makefile
@@ -8,6 +8,9 @@ COMMENT=	Apache MXNet: Ultra-scalable deep learning framework
 LICENSE=	APACHE20
 
 BROKEN_i386=	https://github.com/apache/incubator-mxnet/issues/20832
+.if !exists(/usr/include/omp.h)
+BROKEN=		requires OpenMP support that is missing on this architecture
+.endif
 
 BUILD_DEPENDS=	googletest>0:devel/googletest
 LIB_DEPENDS=	libdmlc.so:devel/dmlc-core \