svn commit: r327200 - head/games/openxcom

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


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

Log:
  Fix build with clang/libc++

Modified:
  head/games/openxcom/Makefile

Modified: head/games/openxcom/Makefile
==============================================================================
--- head/games/openxcom/Makefile	Sat Sep 14 01:14:42 2013	(r327199)
+++ head/games/openxcom/Makefile	Sat Sep 14 01:14:54 2013	(r327200)
@@ -23,7 +23,6 @@ GH_COMMIT=	5c8b540
 USES=		gmake pkgconfig
 USE_SDL=	sdl mixer image gfx
 USE_GL=		gl
-USE_GCC=	yes
 
 BUILD_WRKSRC=	${WRKSRC}/src
 MAKEFILE=	Makefile.simple
@@ -39,6 +38,10 @@ PORTDATA=	*
 
 .include <bsd.port.options.mk>
 
+.if ${OSVERSION} < 1000000
+USE_GCC=	yes
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/pch.h \
 		${WRKSRC}/src/Engine/Surface.cpp


More information about the svn-ports-head mailing list