aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authormadpilot <madpilot@FreeBSD.org>2013-03-25 17:28:03 +0800
committermadpilot <madpilot@FreeBSD.org>2013-03-25 17:28:03 +0800
commit3dea81ceb3554e96fc63eb0e6e4efa34248d09cb (patch)
treed9137fe005cc60a9f37fce65dcfad06bec857e57 /games
parent5af4c12fbd3ff72ff0a5a1a161e1ba0c2df021a1 (diff)
downloadfreebsd-ports-gnome-3dea81ceb3554e96fc63eb0e6e4efa34248d09cb.tar.gz
freebsd-ports-gnome-3dea81ceb3554e96fc63eb0e6e4efa34248d09cb.tar.zst
freebsd-ports-gnome-3dea81ceb3554e96fc63eb0e6e4efa34248d09cb.zip
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.
Diffstat (limited to 'games')
-rw-r--r--games/corsix-th/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/games/corsix-th/Makefile b/games/corsix-th/Makefile
index 11bff010d0d0..e4d0ea3ffce0 100644
--- a/games/corsix-th/Makefile
+++ b/games/corsix-th/Makefile
@@ -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