Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Sep 2006 17:49:09 +0400 (MSD)
From:      Dmitry Marakasov <amdmi3@mail.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        linimon@FreeBSD.org
Subject:   ports/103429: [MAINTAINER] games/fwp: unbreak on 4.x
Message-ID:  <20060920134909.B6EF041B9@hades.panopticon>
Resent-Message-ID: <200609201440.k8KEeWaJ047625@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060920134909.B6EF041B9>