git: 0e744155027d - main - math/tmv: check for omp.h on all architectures

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=0e744155027dd8674d9ee0e77f96aad9a62bf42f

commit 0e744155027dd8674d9ee0e77f96aad9a62bf42f
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-04-27 13:18:34 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-04-27 13:18:34 +0000

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

diff --git a/math/tmv/Makefile b/math/tmv/Makefile
index 43f05dc9ea63..b9035a2e213d 100644
--- a/math/tmv/Makefile
+++ b/math/tmv/Makefile
@@ -21,9 +21,7 @@ MAKEFILE=	${FILESDIR}/Makefile
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
-.if ${ARCH} == powerpc
+.if !exists(/usr/include/omp.h)
 USES+=		compiler:gcc-c++11-lib
 .endif