git: 34c51b63d7ff - main - biology/ugene: Broken on systems where OpenMP isn't enabled

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

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

commit 34c51b63d7ff1399ba51c26cd4ab08ef73d5d335
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-08-04 07:40:16 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-08-04 07:41:24 +0000

    biology/ugene: Broken on systems where OpenMP isn't enabled
    
    Reported by:    fallout
    Approved by:    portmgr (blanket)
---
 biology/ugene/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/biology/ugene/Makefile b/biology/ugene/Makefile
index 31f82940e35d..96ccd0e93c34 100644
--- a/biology/ugene/Makefile
+++ b/biology/ugene/Makefile
@@ -10,6 +10,9 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 BROKEN_aarch64=	Fails to build: invokes x86 asm
 BROKEN_riscv64=	Fails to build: invokes x86 asm
+.if !exists(/usr/include/omp.h)
+BROKEN=		requires OpenMP support that is missing on this architecture
+.endif
 
 RUN_DEPENDS=	bash:shells/bash