svn commit: r327192 - head/games/ri-li
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sat Sep 14 01:13:39 UTC 2013
Author: amdmi3
Date: Sat Sep 14 01:13:38 2013
New Revision: 327192
URL: http://svnweb.freebsd.org/changeset/ports/327192
Log:
Fix build with clang/libc++
Modified:
head/games/ri-li/Makefile
Modified: head/games/ri-li/Makefile
==============================================================================
--- head/games/ri-li/Makefile Sat Sep 14 01:13:28 2013 (r327191)
+++ head/games/ri-li/Makefile Sat Sep 14 01:13:38 2013 (r327192)
@@ -28,5 +28,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|-lSDL |`${SDL_CONFIG} --libs`|' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's| gentoo||' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e '/strcpy.*DefPath/ s|.*|strcpy(DefPath,"${DATADIR}/");|' ${WRKSRC}/src/main.cc
+ @${REINPLACE_CMD} -e '/include/ s|iostream.h|iostream|' ${WRKSRC}/src/*.cc
+ @${REINPLACE_CMD} -e 's|cerr|std::&|g; s|endl|std::&|g' ${WRKSRC}/src/*.cc
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list