git: 4fb03baa4bb7 - main - science/erkale: paralle flavor only available where OpenMP is available

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 23 Jan 2025 18:30:21 UTC
The branch main has been updated by yuri:

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

commit 4fb03baa4bb79fc41bacb5e2f4646abd021bb975
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-01-23 13:45:01 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-01-23 18:30:18 +0000

    science/erkale: paralle flavor only available where OpenMP is available
    
    Reported by:    fallout
---
 science/erkale/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/science/erkale/Makefile b/science/erkale/Makefile
index e9b90b17e8a8..28b59af794d4 100644
--- a/science/erkale/Makefile
+++ b/science/erkale/Makefile
@@ -45,6 +45,9 @@ CMAKE_OFF=	USE_OPENMP
 .else # parallel
 CMAKE_ON+=	USE_OPENMP
 SUFFIX=		_omp
+.  if !exists(/usr/include/omp.h)
+BROKEN=		requires OpenMP support that is missing on this architecture
+.  endif
 .endif
 
 OPTIONS_SINGLE=		LINALG