From 6c977db8c662acb39805c8591c64fec68657155d Mon Sep 17 00:00:00 2001
From: Yuri Victorovich <yuri@FreeBSD.org>
Date: Thu, 4 Aug 2022 00:31:00 -0700
Subject: [PATCH] math/saga: Broken on systems where OpenMP isn't enabled

Reported by:	fallout
Approved by:	portmgr (blanket)
---
 math/saga/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/math/saga/Makefile b/math/saga/Makefile
index 585f110bdffb..73daeed1e329 100644
--- a/math/saga/Makefile
+++ b/math/saga/Makefile
@@ -10,6 +10,10 @@ COMMENT=	System for Automated Geoscientific Analyses
 LICENSE=	GPLv2 LGPL21
 LICENSE_COMB=	multi
 
+.if !exists(/usr/include/omp.h)
+BROKEN=		requires OpenMP support that is missing on this architecture
+.endif
+
 BUILD_DEPENDS=	clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} \
 		swig:devel/swig
 LIB_DEPENDS=	libcurl.so:ftp/curl \
-- 
GitLab