git: 046b3c5b45f9 - main - math/colpack: check for omp.h on all architectures
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 Apr 2022 13:39:54 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=046b3c5b45f9d827ca5f64d6e57efea068603b6f
commit 046b3c5b45f9d827ca5f64d6e57efea068603b6f
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-04-27 13:18:37 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-04-27 13:18:37 +0000
math/colpack: check for omp.h on all architectures
---
math/colpack/Makefile | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/math/colpack/Makefile b/math/colpack/Makefile
index 6f14e10cf6bc..7b3cfb895320 100644
--- a/math/colpack/Makefile
+++ b/math/colpack/Makefile
@@ -19,9 +19,7 @@ GH_PROJECT= ColPack
CMAKE_SOURCE_PATH= ${WRKSRC}/build/cmake
-.include <bsd.port.options.mk>
-
-.if ${ARCH} == powerpc
+.if !exists(/usr/include/omp.h)
USES+= compiler:gcc-c++11-lib
.else
USES+= compiler:c++11-lang