ports/103429: [MAINTAINER] games/fwp: unbreak on 4.x

Dmitry Marakasov amdmi3 at mail.ru
Wed Sep 20 14:40:54 UTC 2006


>Number:         103429
>Category:       ports
>Synopsis:       [MAINTAINER] games/fwp: unbreak on 4.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 20 14:40:31 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 6.1-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 6.1-RELEASE-p5 FreeBSD 6.1-RELEASE-p5 #0: Fri Sep 1 14:24:31 MSD 2006 amdmi3 at hades.panopticon:/usr/obj/usr/src/sys/HADES i386


>Description:
Unbreak on 4.x (0.0.8 build normally).
>How-To-Repeat:
>Fix:

--- fwp.patch begins here ---
diff -ruN fwp.orig/Makefile fwp/Makefile
--- fwp.orig/Makefile	Wed Sep 20 17:46:56 2006
+++ fwp/Makefile	Wed Sep 20 17:47:43 2006
@@ -24,19 +24,13 @@
 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
@@ -45,4 +39,4 @@
 post-install:
 	@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
--- fwp.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list