git: 419f09f7a25a - 2022Q3 - graphics/filmulator: Broken on systems where OpenMP isn't enabled

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

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

commit 419f09f7a25a996ea67d84e7eb1cc462cdc381c7
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:42:39 +0000

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

diff --git a/graphics/filmulator/Makefile b/graphics/filmulator/Makefile
index c17553d9dadd..0af5881e5a07 100644
--- a/graphics/filmulator/Makefile
+++ b/graphics/filmulator/Makefile
@@ -10,6 +10,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 \