git: a06f92fcb24b - main - astro/siril: Broken on systems where OpenMP isn't enabled

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

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

commit a06f92fcb24bad4ff7209cc7a578b258fed25156
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:52:24 +0000

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

diff --git a/astro/siril/Makefile b/astro/siril/Makefile
index b118bb6c5722..f51cbe26590f 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 \