git: 53f89c876f70 - 2022Q3 - astro/siril: Broken on systems where OpenMP isn't enabled

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 08 Aug 2022 03:53:27 UTC
The branch 2022Q3 has been updated by yuri:

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

commit 53f89c876f7075dd7506e8b206ce65ef55d88234
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-08-08 03:52:24 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-08-08 03:53:25 +0000

    astro/siril: Broken on systems where OpenMP isn't enabled
    
    Reported by:    fallout
    
    (cherry picked from commit a06f92fcb24bad4ff7209cc7a578b258fed25156)
---
 astro/siril/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/astro/siril/Makefile b/astro/siril/Makefile
index eba683098304..b70417103f14 100644
--- a/astro/siril/Makefile
+++ b/astro/siril/Makefile
@@ -10,6 +10,9 @@ LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
 BROKEN_i386=	undefined reference to `__atomic_load' and `__atomic_compare_exchange' #`
+.if !exists(/usr/include/omp.h)
+BROKEN=		requires OpenMP support that is missing on this architecture
+.endif
 
 BUILD_DEPENDS=	cmake:devel/cmake
 LIB_DEPENDS=	libavformat.so:multimedia/ffmpeg \