git: 7a8e54be5299 - main - math/csdp: check for omp.h on all architectures

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Wed, 27 Apr 2022 13:39:51 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7a8e54be5299bc625097d94fdc40d1a3ab85b52a

commit 7a8e54be5299bc625097d94fdc40d1a3ab85b52a
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-04-27 13:18:31 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-04-27 13:18:31 +0000

    math/csdp: check for omp.h on all architectures
---
 math/csdp/Makefile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/math/csdp/Makefile b/math/csdp/Makefile
index 9319f4d5b148..30b1ebb28469 100644
--- a/math/csdp/Makefile
+++ b/math/csdp/Makefile
@@ -29,9 +29,7 @@ PLIST_FILES=	bin/complement \
 		bin/rand_graph \
 		bin/theta
 
-.include <bsd.port.options.mk>
-
-.if ${ARCH} == powerpc
+.if !exists(/usr/include/omp.h)
 USES+=		compiler:gcc-c++11-lib
 .endif