Fix build on FreeBSD 4.x.

PR:		ports/103429
Submitted by:	Dmitry Marakasov <amdmi3@mail.ru> (maintainer)
This commit is contained in:
Shaun Amott 2006-11-21 20:19:16 +00:00
parent 893d68e145
commit 2ff13286ea
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=177752

View File

@ -25,19 +25,13 @@ USE_GL= yes
USE_SDL= sdl net mixer
USE_GCC= 3.4+
CONFIGURE_ARGS= --program-suffix=
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
SDL_CONFIG="${SDL_CONFIG}"
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= does not compile on 4.x
.endif
post-patch:
@${REINPLACE_CMD} -e '/LDFLAGS=/ s|$$LIBS|$$LDFLAGS|' \
${WRKSRC}/configure
@ -46,4 +40,4 @@ post-patch:
post-install:
@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
.include <bsd.port.post.mk>
.include <bsd.port.mk>