From owner-svn-ports-all@freebsd.org Mon Dec 9 12:24:36 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D49D71D5ADC; Mon, 9 Dec 2019 12:24:36 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47Wj785Jy9z4YZH; Mon, 9 Dec 2019 12:24:36 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AD5241A895; Mon, 9 Dec 2019 12:24:36 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xB9COa7f077826; Mon, 9 Dec 2019 12:24:36 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xB9COasr077825; Mon, 9 Dec 2019 12:24:36 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <201912091224.xB9COasr077825@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Mon, 9 Dec 2019 12:24:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r519604 - head/games/tome4 X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: head/games/tome4 X-SVN-Commit-Revision: 519604 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Dec 2019 12:24:36 -0000 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