git: 39c5a8fe6ba8 - main - science/gbtolib: Broken on systems where OpenMP isn't enabled
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 30 Jul 2022 07:34:48 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=39c5a8fe6ba891857e9859624dd5cd662344db59
commit 39c5a8fe6ba891857e9859624dd5cd662344db59
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-30 07:33:26 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-30 07:34:35 +0000
science/gbtolib: Broken on systems where OpenMP isn't enabled
Reported by: fallout
---
science/gbtolib/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/science/gbtolib/Makefile b/science/gbtolib/Makefile
index ec8fcdbf995f..055f95696e3b 100644
--- a/science/gbtolib/Makefile
+++ b/science/gbtolib/Makefile
@@ -10,6 +10,10 @@ COMMENT= High-performance library for evaluation of molecular integrals
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
+.if !exists(/usr/include/omp.h)
+BROKEN= requires OpenMP support that is missing on this architecture
+.endif
+
LIB_DEPENDS= libopenblas.so:math/openblas
USES= cmake fortran zip