svn commit: r502943 - head/games/stuntrally

Piotr Kubaj pkubaj at FreeBSD.org
Wed May 29 08:45:04 UTC 2019


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>


More information about the svn-ports-head mailing list