git: d3217bac8c6e - 2022Q3 - science/tblite: Broken on systems where OpenMP isn't enabled
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 24 Jul 2022 10:25:07 UTC
The branch 2022Q3 has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d3217bac8c6e6987ec8fcb3b267166c4b81c48b3
commit d3217bac8c6e6987ec8fcb3b267166c4b81c48b3
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-24 10:24:22 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-24 10:25:02 +0000
science/tblite: Broken on systems where OpenMP isn't enabled
Reported by: fallout
(cherry picked from commit 64dc70d08a580878dd0e7eebfd60bcd34eb19c46)
---
science/tblite/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/science/tblite/Makefile b/science/tblite/Makefile
index fddfbac47557..a4fc0c97b56d 100644
--- a/science/tblite/Makefile
+++ b/science/tblite/Makefile
@@ -9,6 +9,10 @@ COMMENT= Light-weight tight-binding framework
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
+.if !exists(/usr/include/omp.h)
+BROKEN= requires OpenMP support that is missing on this architecture
+.endif
+
BUILD_DEPENDS= mstore>0:science/mstore # unclear if this is really needed
LIB_DEPENDS= libdftd4.so:science/dftd4 \
libmctc-lib.so:science/mctc-lib \