Changeset View
Changeset View
Standalone View
Standalone View
games/naev/Makefile
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Lines | |||||
SDL_MIXER_CONFIGURE_WITH= sdlmixer | SDL_MIXER_CONFIGURE_WITH= sdlmixer | ||||
SDL2_DESC= Use SDL2 instead of SDL | SDL2_DESC= Use SDL2 instead of SDL | ||||
SDL2_CONFIGURE_WITH= sdl2 | SDL2_CONFIGURE_WITH= sdl2 | ||||
SDL2_USE= SDL=sdl2 | SDL2_USE= SDL=sdl2 | ||||
SDL2_USE_OFF= SDL=sdl | SDL2_USE_OFF= SDL=sdl | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
.if ${COMPILER_TYPE} == "gcc" | |||||
USE_GCC= yes | |||||
.endif | |||||
tobik: So IIUC this is supposed to bring in a newer gcc from ports when building on a system which… | |||||
.if ${PORT_OPTIONS:MSDL_MIXER} | .if ${PORT_OPTIONS:MSDL_MIXER} | ||||
. if ${PORT_OPTIONS:MSDL2} | . if ${PORT_OPTIONS:MSDL2} | ||||
USE_SDL+= mixer2 | USE_SDL+= mixer2 | ||||
. else | . else | ||||
USE_SDL+= mixer | USE_SDL+= mixer | ||||
. endif | . endif | ||||
.endif | .endif | ||||
.include <bsd.port.post.mk> | .include <bsd.port.post.mk> |
So IIUC this is supposed to bring in a newer gcc from ports when building on a system which still uses gcc 4.2 as the default compiler.
But is this then not effectively the same as USES=compiler:c++0x?