git: bbc137241a6e - 2022Q3 - science/cp2k: Broken on systems where OpenMP isn't enabled
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 25 Jul 2022 02:06:38 UTC
The branch 2022Q3 has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=bbc137241a6e00e8cf84e144c86ea67fcc3a21e9
commit bbc137241a6e00e8cf84e144c86ea67fcc3a21e9
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-25 02:05:43 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-25 02:06:32 +0000
science/cp2k: Broken on systems where OpenMP isn't enabled
Reported by: fallout
(cherry picked from commit caa6112c41b2751a8cdc408a6e07abf6e835c28c)
---
science/cp2k/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/science/cp2k/Makefile b/science/cp2k/Makefile
index 2ab7472836f2..b6d07ab0fdd2 100644
--- a/science/cp2k/Makefile
+++ b/science/cp2k/Makefile
@@ -9,6 +9,10 @@ COMMENT= Quantum chemistry and solid state physics software package
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
+.if !exists(/usr/include/omp.h)
+BROKEN= requires OpenMP support that is missing on this architecture
+.endif
+
BUILD_DEPENDS= fypp:devel/py-fypp@${PY_FLAVOR}
LIB_DEPENDS= libblas.so:math/blas \
libfftw3.so:math/fftw3 \