svn commit: r473073 - head/games/kartofel

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Jun 22 21:00:30 UTC 2018


Author: amdmi3
Date: Fri Jun 22 21:00:29 2018
New Revision: 473073
URL: https://svnweb.freebsd.org/changeset/ports/473073

Log:
  - Fix build with clang 6
  - Cosmetic fixes

Modified:
  head/games/kartofel/Makefile

Modified: head/games/kartofel/Makefile
==============================================================================
--- head/games/kartofel/Makefile	Fri Jun 22 20:55:12 2018	(r473072)
+++ head/games/kartofel/Makefile	Fri Jun 22 21:00:29 2018	(r473073)
@@ -18,6 +18,8 @@ USE_SDL=	sdl gfx mixer image ttf
 
 ALL_TARGET=	default
 
+CXXFLAGS+=	-Wno-c++11-narrowing
+
 DATA_DIRS=	sounds fonts music images levels
 
 PLIST_FILES=	bin/${PORTNAME}
@@ -39,7 +41,7 @@ post-patch:
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/kartofel ${STAGEDIR}${PREFIX}/bin
-	${MKDIR} ${STAGEDIR}${DATADIR}
-	cd ${WRKSRC} && ${COPYTREE_SHARE} "${DATA_DIRS}" ${STAGEDIR}${DATADIR}
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	@cd ${WRKSRC} && ${COPYTREE_SHARE} "${DATA_DIRS}" ${STAGEDIR}${DATADIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list