git: bbb537f2ffef - 2022Q3 - biology/star: Broken on systems where OpenMP isn't enabled

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 24 Jul 2022 01:25:29 UTC
The branch 2022Q3 has been updated by yuri:

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

commit bbb537f2ffef54819cebf19dd267ac92af4906fc
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-24 01:24:10 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-24 01:25:22 +0000

    biology/star: Broken on systems where OpenMP isn't enabled
    
    Reported by:    fallout
    Approved by:    portmgr (blanket)
    
    (cherry picked from commit 8832ed34986619f044270884b9dfabfcd9f4e856)
---
 biology/star/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/biology/star/Makefile b/biology/star/Makefile
index 66d4ac8a4dc0..12f862562221 100644
--- a/biology/star/Makefile
+++ b/biology/star/Makefile
@@ -11,6 +11,9 @@ LICENSE_FILE=	${WRKDIR}/STAR-${DISTVERSION}/LICENSE
 
 NOT_FOR_ARCHS=	i386 powerpc
 NOT_FOR_ARCHS_REASON=Needs 16+ GiB RAM for typical eukaryotic genome
+.if !exists(/usr/include/omp.h)
+BROKEN=		requires OpenMP support that is missing on this architecture
+.endif
 
 LIB_DEPENDS=	libhts.so:biology/htslib