Date: Thu, 15 Jul 2021 10:37:35 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: 834b9cb4da3b - main - graphics/photoflare: fix build on powerpc Message-ID: <202107151037.16FAbZdE080805@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=834b9cb4da3b5f38f4e619912679c88f278211ec commit 834b9cb4da3b5f38f4e619912679c88f278211ec Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2021-07-15 10:37:29 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2021-07-15 10:37:29 +0000 graphics/photoflare: fix build on powerpc src/workers/filterworkermp.cpp:23:10: fatal error: 'omp.h' file not found --- graphics/photoflare/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/graphics/photoflare/Makefile b/graphics/photoflare/Makefile index faec11b36c16..22fc1f4164e2 100644 --- a/graphics/photoflare/Makefile +++ b/graphics/photoflare/Makefile @@ -12,7 +12,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.md LIB_DEPENDS= libGraphicsMagick++.so:graphics/GraphicsMagick -USES= compiler:c++17-lang desktop-file-utils gl qmake qt:5 localbase pkgconfig +USES= desktop-file-utils gl qmake qt:5 localbase pkgconfig USE_GITHUB= yes USE_QT= core gui network printsupport widgets buildtools_build linguisttools_build USE_GL= gl @@ -22,4 +22,12 @@ LDFLAGS+= `pkg-config --libs GraphicsMagick++` ${LDFLAGS_${CHOSEN_COMPILER_TYPE} LDFLAGS_clang= -lomp LDFLAGS_gcc= -fopenmp +.include <bsd.port.options.mk> + +.if ${ARCH} == powerpc +USES+= compiler:gcc-c++11-lib +.else +USES+= compiler:c++17-lang +.endif + .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107151037.16FAbZdE080805>