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:
parent
8f313982c4
commit
07d0c5c3ce
1 changed files with 8 additions and 1 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue