svn commit: r327191 - head/games/rezerwar

Dmitry Marakasov amdmi3 at FreeBSD.org
Sat Sep 14 01:13:28 UTC 2013


Author: amdmi3
Date: Sat Sep 14 01:13:28 2013
New Revision: 327191
URL: http://svnweb.freebsd.org/changeset/ports/327191

Log:
  Fix build with clang/libc++

Modified:
  head/games/rezerwar/Makefile

Modified: head/games/rezerwar/Makefile
==============================================================================
--- head/games/rezerwar/Makefile	Fri Sep 13 21:59:06 2013	(r327190)
+++ head/games/rezerwar/Makefile	Sat Sep 14 01:13:28 2013	(r327191)
@@ -23,8 +23,9 @@ PORTDOCS=	*
 
 .include <bsd.port.options.mk>
 
-.if ! ${PORT_OPTIONS:MDOCS}
 post-patch:
+	@${REINPLACE_CMD} -e 's|gcc|${CC}|' ${WRKSRC}/configure
+.if ! ${PORT_OPTIONS:MDOCS}
 	@${REINPLACE_CMD} -e '/TARGET_DOC/ d' ${WRKSRC}/mkfiles/Makefile.main
 .endif
 


More information about the svn-ports-all mailing list