git: 42d8674b572d - 2025Q1 - science/dynare: Broken where OpenMP isn't available

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 19 Feb 2025 18:04:05 UTC
The branch 2025Q1 has been updated by yuri:

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

commit 42d8674b572d12061cb4bff7b25bfc350e32425b
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-02-19 14:48:09 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-02-19 18:04:03 +0000

    science/dynare: Broken where OpenMP isn't available
    
    Reported by:    fallout
    
    (cherry picked from commit a9511de2bab3332c67d321c31641adc2010932b1)
---
 science/dynare/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/science/dynare/Makefile b/science/dynare/Makefile
index d539c22911b0..bf2e108da26e 100644
--- a/science/dynare/Makefile
+++ b/science/dynare/Makefile
@@ -12,6 +12,9 @@ LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 BROKEN_aarch64=	cannot open module file 'ieee_arithmetic.mod' for reading at (1): No such file or directory
+.if !exists(/usr/include/omp.h)
+BROKEN=		requires OpenMP support that is missing on this architecture
+.endif
 
 BUILD_DEPENDS=	${LOCALBASE}/include/boost/tokenizer.hpp:devel/boost-libs
 LIB_DEPENDS=	libhdf5.so:science/hdf5 \