Date: Mon, 9 Dec 2019 12:24:36 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r519604 - head/games/tome4 Message-ID: <201912091224.xB9COasr077825@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Mon Dec 9 12:24:36 2019 New Revision: 519604 URL: https://svnweb.freebsd.org/changeset/ports/519604 Log: games/tome4: fix build on GCC architectures Use C++11 compiler: ==== Building te4-wfc (release) ==== lua_wfc.cpp g++ -O2 -pipe -fstack-protector-strong -O2 -pipe -fstack-protector-strong -fno-strict -aliasing -std=gnu89 -MMD -MP -DGLEW_STATIC -DNDEBUG=1 -I../src -I../src/luasocket -I../src/fov -I../src/expat -I../src/lxp -I../src/libtcod_import -I../src/physfs -I../src/zlib -I../src/bzip2 -I../src/lua -I../../../../../../../../include -pthread -O3 -std=c++11 -o "../obj/Release/te4-wfc/lua_wfc.o" -MF ../obj/Release/te4-wfc/lua_wfc.d -c "../src/wfc/lua_wfc.cpp" cc1plus: warning: command line option "-std=gnu89" is valid for C/ObjC but not for C++ cc1plus: error: unrecognized command line option "-std=c++11" PR: 242188 Approved by: lifanov (maintainer timeout) Modified: head/games/tome4/Makefile Modified: head/games/tome4/Makefile ============================================================================== --- head/games/tome4/Makefile Mon Dec 9 12:19:29 2019 (r519603) +++ head/games/tome4/Makefile Mon Dec 9 12:24:36 2019 (r519604) @@ -20,7 +20,7 @@ BUILD_DEPENDS= premake4:devel/premake4 LIB_DEPENDS= libvorbisfile.so:audio/libvorbis \ libpng.so:graphics/png -USES= gl gmake openal:al sdl tar:bzip2 xorg +USES= compiler:c++11-lang gl gmake openal:al sdl tar:bzip2 xorg USE_SDL= image2 sdl2 ttf2 USE_GL= gl glu USE_CSTD= gnu89 @@ -33,7 +33,7 @@ DESKTOP_ENTRIES="ToME 4" "" "${PORTNAME}" \ PLIST_SUB= PORTVERSION=${PORTVERSION} WRKSRC= ${WRKDIR}/t-engine4-src-${DISTVERSION} -MAKE_ARGS+= config=release verbose=yes ARCH="" CC=${CC} +MAKE_ARGS+= config=release verbose=yes ARCH="" CC=${CC} CXX=${CXX} .include <bsd.port.pre.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912091224.xB9COasr077825>