git: dbdb55a5c4d5 - main - graphics/photoflare: check for omp.h on all architectures

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

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

commit dbdb55a5c4d571de05a0d31a2a04b04e27bd75eb
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-04-27 13:21:59 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-04-27 13:21:59 +0000

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

diff --git a/graphics/photoflare/Makefile b/graphics/photoflare/Makefile
index 81046b274a53..f057196aeacc 100644
--- a/graphics/photoflare/Makefile
+++ b/graphics/photoflare/Makefile
@@ -22,9 +22,7 @@ LDFLAGS+=	`pkg-config --libs GraphicsMagick++` ${LDFLAGS_${CHOSEN_COMPILER_TYPE}
 LDFLAGS_clang=	-lomp
 LDFLAGS_gcc=	-fopenmp
 
-.include <bsd.port.options.mk>
-
-.if ${ARCH} == armv7 || ${ARCH} == powerpc
+.if !exists(/usr/include/omp.h)
 USES+=		compiler:gcc-c++11-lib
 .else
 USES+=		compiler:c++17-lang