Date: Sat, 14 Sep 2013 01:14:54 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r327200 - head/games/openxcom Message-ID: <201309140114.r8E1EsuV016786@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309140114.r8E1EsuV016786>