diff options
author | madpilot <madpilot@FreeBSD.org> | 2013-03-25 17:28:03 +0800 |
---|---|---|
committer | madpilot <madpilot@FreeBSD.org> | 2013-03-25 17:28:03 +0800 |
commit | 3dea81ceb3554e96fc63eb0e6e4efa34248d09cb (patch) | |
tree | d9137fe005cc60a9f37fce65dcfad06bec857e57 /games | |
parent | 5af4c12fbd3ff72ff0a5a1a161e1ba0c2df021a1 (diff) | |
download | freebsd-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/Makefile | 7 |
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 |