Date: Wed, 27 Apr 2022 13:40:20 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: dbdb55a5c4d5 - main - graphics/photoflare: check for omp.h on all architectures Message-ID: <202204271340.23RDeKBq079322@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204271340.23RDeKBq079322>