graphics/ebsynth: fix build on powerpc

LLVM on powerpc doesn't have libomp:
src/ebsynth_cpu.cpp:15:12: fatal error: 'omp.h' file not found
This commit is contained in:
Piotr Kubaj 2021-06-10 08:57:34 +00:00
parent 8f313982c4
commit 07d0c5c3ce

View file

@ -8,13 +8,20 @@ COMMENT= Example-based Image Synthesis and Style Transfer
LICENSE= PD
USES= compiler:c++11-lang
USE_GITHUB= yes
GH_ACCOUNT= jamriska
GH_TAGNAME= 2f5c97c0c21a
PLIST_FILES= bin/ebsynth
.include <bsd.port.options.mk>
.if ${ARCH} == powerpc
USES= compiler:gcc-c++11-lib
.else
USES= compiler:c++11-lang
.endif
do-build:
@(cd ${BUILD_WRKSRC} && ${CXX} src/ebsynth.cpp \
src/ebsynth_cpu.cpp src/ebsynth_nocuda.cpp \