Date: Wed, 29 May 2019 08:45:03 +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: r502943 - head/games/stuntrally Message-ID: <201905290845.x4T8j3Cf055857@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Wed May 29 08:45:03 2019 New Revision: 502943 URL: https://svnweb.freebsd.org/changeset/ports/502943 Log: games/stuntrally: simplify GCC build fix Submitted by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D20441 Modified: head/games/stuntrally/Makefile Modified: head/games/stuntrally/Makefile ============================================================================== --- head/games/stuntrally/Makefile Wed May 29 08:25:32 2019 (r502942) +++ head/games/stuntrally/Makefile Wed May 29 08:45:03 2019 (r502943) @@ -57,14 +57,11 @@ MASTER_SERVER_CMAKE_BOOL= BUILD_MASTER_SERVER MASTER_SERVER_DESC= Build the master server MASTER_SERVER_LIB_DEPENDS= libenet.so:net/enet -.include <bsd.port.pre.mk> +CXXFLAGS+= ${CXXFLAGS_${CHOOSEN_COPMILER_TYPE}} +CXXFLAGS_gcc= -Wno-narrowing -.if ${CHOSEN_COMPILER_TYPE} == gcc -CXXFLAGS+= -Wno-narrowing -.endif - post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Readme.txt ${STAGEDIR}${DOCSDIR}/ -.include <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905290845.x4T8j3Cf055857>