git: 0f20e25bb0c8 - main - biology/hhsuite: Broken on systems where OpenMP isn't enabled
Date: Thu, 04 Aug 2022 07:41:37 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0f20e25bb0c89821c657ce7d8424f6e6ad1c9a45
commit 0f20e25bb0c89821c657ce7d8424f6e6ad1c9a45
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-08-04 07:38:21 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-08-04 07:41:24 +0000
biology/hhsuite: Broken on systems where OpenMP isn't enabled
Reported by: fallout
---
biology/hhsuite/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/biology/hhsuite/Makefile b/biology/hhsuite/Makefile
index 0c655ea1561a..a2bb0c1df3a0 100644
--- a/biology/hhsuite/Makefile
+++ b/biology/hhsuite/Makefile
@@ -10,6 +10,10 @@ COMMENT= Remote protein homology detection suite
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
+.if !exists(/usr/include/omp.h)
+BROKEN= requires OpenMP support that is missing on this architecture
+.endif
+
LIB_DEPENDS= libmpi.so:net/openmpi
USES= compiler:c++11-lang cmake perl5 python shebangfix