1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

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.
This commit is contained in:
Guido Falsi 2013-03-25 09:28:03 +00:00
parent 16f689a65a
commit e4e6b3a5d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=315207

View File

@ -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