From 5378115305421c3bdceb3e30f3d6da402ecd19bc Mon Sep 17 00:00:00 2001 From: shaun Date: Tue, 21 Nov 2006 20:19:16 +0000 Subject: Fix build on FreeBSD 4.x. PR: ports/103429 Submitted by: Dmitry Marakasov (maintainer) --- games/fwp/Makefile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'games') diff --git a/games/fwp/Makefile b/games/fwp/Makefile index 1f5e039..2089006 100644 --- a/games/fwp/Makefile +++ b/games/fwp/Makefile @@ -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 - -.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 +.include -- cgit v1.1