mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
games/stratagus: fix build on powerpc
/usr/bin/c++ -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/local/share/pixmaps\" -DUSE_BSD -DUSE_BZ2LIB -DUSE_MNG -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/wrkdirs/usr/ports/games/stratagus/work/stratagus-3.2.0/src/include -I/wrkdirs/usr/ports/games/stratagus/work/stratagus-3.2.0/src/guichan/include -I/wrkdirs/usr/ports/games/stratagus/work/stratagus-3.2.0/src/guichan/include/guichan -I/wrkdirs/usr/ports/games/stratagus/work/stratagus-3.2.0/src/third_party -I/wrkdirs/usr/ports/games/stratagus/work/.build -I/usr/local/include/lua51 -I/usr/local/include/SDL2 -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-register -fsigned-char -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-register -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/map/fow.cpp.o -MF CMakeFiles/stratagus.dir/src/map/fow.cpp.o.d -o CMakeFiles/stratagus.dir/src/map/fow.cpp.o -c /wrkdirs/usr/ports/games/stratagus/work/stratagus-3.2.0/src/map/fow.cpp /wrkdirs/usr/ports/games/stratagus/work/stratagus-3.2.0/src/map/fow.cpp:39:10: fatal error: 'omp.h' file not found ^~~~~~~
This commit is contained in:
parent
63b098abd0
commit
350e844519
@ -18,7 +18,7 @@ RUN_DEPENDS= zenity:x11/zenity
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= Wargus
|
||||
|
||||
USES= cmake compiler:c++17-lang lua:51 pkgconfig sdl
|
||||
USES= cmake lua:51 pkgconfig sdl
|
||||
USE_SDL= sdl2 mixer2 image2
|
||||
CMAKE_ARGS= -DGAMEDIR:STRING="bin" \
|
||||
-DTOLUA++_APP:STRING="tolua++-${LUA_VER}" \
|
||||
@ -43,6 +43,14 @@ VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis \
|
||||
libogg.so:audio/libogg
|
||||
VORBIS_CMAKE_BOOL= WITH_OGGVORBIS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${ARCH} == powerpc
|
||||
USES+= compiler:gcc-c++11-lib
|
||||
.else
|
||||
USES+= compiler:c++17-lang
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${CHOSEN_COMPILER_TYPE} == clang
|
||||
|
Loading…
Reference in New Issue
Block a user