git: 6a21f85f736c - main - security/openfhe: Broken on systems where OpenMP isn't enabled

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 09 Dec 2022 02:41:46 UTC
The branch main has been updated by yuri:

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

commit 6a21f85f736c9ce739a38283e92be260ef8a94c1
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-12-09 02:39:24 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-12-09 02:39:24 +0000

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

diff --git a/security/openfhe/Makefile b/security/openfhe/Makefile
index ed9db7abf880..bf41b1567955 100644
--- a/security/openfhe/Makefile
+++ b/security/openfhe/Makefile
@@ -12,6 +12,9 @@ LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BROKEN_i386=	compilation fails: error: __int128 is not supported on this target
+.if !exists(/usr/include/omp.h)
+BROKEN=		requires OpenMP support that is missing on this architecture
+.endif
 
 BUILD_DEPENDS=	autoconf:devel/autoconf # possibly a mistake in the project