diff options
author | alepulver <alepulver@FreeBSD.org> | 2006-10-08 07:11:48 +0800 |
---|---|---|
committer | alepulver <alepulver@FreeBSD.org> | 2006-10-08 07:11:48 +0800 |
commit | 6a1cd1b0b2499fb50fe86c1a480e5c6ea15d0b6b (patch) | |
tree | 8fdc3ac0214abdb528dca6d0a54d31df2e1d24a4 /games | |
parent | cbe7b81474c01236597f42bf12d739780cba7cfe (diff) | |
download | freebsd-ports-gnome-6a1cd1b0b2499fb50fe86c1a480e5c6ea15d0b6b.tar.gz freebsd-ports-gnome-6a1cd1b0b2499fb50fe86c1a480e5c6ea15d0b6b.tar.zst freebsd-ports-gnome-6a1cd1b0b2499fb50fe86c1a480e5c6ea15d0b6b.zip |
- Fix building on 5.x.
Reported by: pointyhat
Diffstat (limited to 'games')
-rw-r--r-- | games/allacrost/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/games/allacrost/Makefile b/games/allacrost/Makefile index f47f90bb4bee..7bec4bdd8243 100644 --- a/games/allacrost/Makefile +++ b/games/allacrost/Makefile @@ -23,7 +23,6 @@ USE_GMAKE= yes USE_LUA= 5.0 USE_SDL= sdl ttf mixer USE_GL= yes -USE_GCC= 3.4+ CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS= --datadir=${DATADIR} @@ -38,6 +37,10 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} BROKEN= does not compile on 4.x .endif +.if ${OSVERSION} < 600000 +USE_GCC= 4.0+ +.endif + post-patch: @${REINPLACE_CMD} -e 's|exit -1|exit 1|; /CXXFLAGS=/ d; \ s|-lSDL |`${SDL_CONFIG} --libs` |' ${WRKSRC}/configure |