svn commit: r315207 - head/games/corsix-th

Guido Falsi madpilot at FreeBSD.org
Mon Mar 25 09:28:04 UTC 2013


Author: madpilot
Date: Mon Mar 25 09:28:03 2013
New Revision: 315207
URL: http://svnweb.freebsd.org/changeset/ports/315207

Log:
  Since the code which base gcc is unable to handle on i386 is in the
  in game movie part of the source, force usage of alternative compilers
  only when the MOVIES option is selected.

Modified:
  head/games/corsix-th/Makefile

Modified: head/games/corsix-th/Makefile
==============================================================================
--- head/games/corsix-th/Makefile	Mon Mar 25 09:27:31 2013	(r315206)
+++ head/games/corsix-th/Makefile	Mon Mar 25 09:28:03 2013	(r315207)
@@ -31,10 +31,6 @@ MOVIES_DESC=	Play in-game movies
 .if ${PORT_OPTIONS:MMOVIES}
 CMAKE_ARGS+=	-DWITH_MOVIES=ON
 LIB_DEPENDS+=	swresample1:${PORTSDIR}/multimedia/ffmpeg1
-.else
-CMAKE_ARGS+=	-DWITH_MOVIES=OFF
-.endif
-
 # partly copied from editors/libreoffice
 .if ${ARCH} == "i386"
 .if exists(/usr/bin/clang) && ${OSVERSION} > 900014
@@ -45,6 +41,9 @@ CXX=		/usr/bin/clang++
 USE_GCC=	4.6+
 .endif
 .endif
+.else
+CMAKE_ARGS+=	-DWITH_MOVIES=OFF
+.endif
 
 post-patch:
 # Allow the game to find its resources without wrapper scripts


More information about the svn-ports-head mailing list