git: 59564a1f5c3b - main - graphics/filmulator: Broken on systems where OpenMP isn't enabled

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 04 Aug 2022 07:41:31 UTC
The branch main has been updated by yuri:

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

commit 59564a1f5c3bb3bb7847002e7c4f69ffb0f55374
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-08-04 07:24:37 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-08-04 07:41:22 +0000

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

diff --git a/graphics/filmulator/Makefile b/graphics/filmulator/Makefile
index 9da8b77cd066..71b4708f09fd 100644
--- a/graphics/filmulator/Makefile
+++ b/graphics/filmulator/Makefile
@@ -8,6 +8,10 @@ COMMENT=	Simplified raw editor with the power of film
 
 LICENSE=	GPLv3+
 
+.if !exists(/usr/include/omp.h)
+BROKEN=		requires OpenMP support that is missing on this architecture
+.endif
+
 LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libexiv2.so:graphics/exiv2 \
 		liblensfun.so:graphics/lensfun \