- Fix building on 5.x.
Reported by: pointyhat
This commit is contained in:
parent
4fc075eb0f
commit
e50dc48618
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=174873
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user