From gnats@FreeBSD.org  Wed Sep 20 14:39:53 2006
Return-Path: <gnats@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D001B16A403;
	Wed, 20 Sep 2006 14:39:53 +0000 (UTC)
	(envelope-from gnats@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 584FE43D79;
	Wed, 20 Sep 2006 14:39:53 +0000 (GMT)
	(envelope-from gnats@FreeBSD.org)
Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1])
	by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k8KEdr9l047363;
	Wed, 20 Sep 2006 14:39:53 GMT
	(envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
	by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k8KEdqjD047362;
	Wed, 20 Sep 2006 14:39:52 GMT
	(envelope-from gnats)
Message-Id: <20060920134909.B6EF041B9@hades.panopticon>
Date: Wed, 20 Sep 2006 17:49:09 +0400 (MSD)
From: Dmitry Marakasov <amdmi3@mail.ru>
Reply-To: Dmitry Marakasov <amdmi3@mail.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc: linimon@freebsd.org
Subject: [MAINTAINER] games/fwp: unbreak on 4.x
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         103429
>Category:       ports
>Synopsis:       [MAINTAINER] games/fwp: unbreak on 4.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    shaun
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 20 14:40:31 GMT 2006
>Closed-Date:    Tue Nov 21 20:19:30 GMT 2006
>Last-Modified:  Tue Nov 21 20:30:16 GMT 2006
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->shaun 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Sep 20 14:41:54 UTC 2006 
Responsible-Changed-Why:  
shaun@ wants to have sparc64 and 4.x PRs 

http://www.freebsd.org/cgi/query-pr.cgi?pr=103429 
State-Changed-From-To: open->closed 
State-Changed-By: shaun 
State-Changed-When: Tue Nov 21 20:15:48 UTC 2006 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=103429 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/103429: commit references a PR
Date: Tue, 21 Nov 2006 20:23:08 +0000 (UTC)

 shaun       2006-11-21 20:19:16 UTC
 
   FreeBSD ports repository
 
   Modified files:
     games/fwp            Makefile 
   Log:
   Fix build on FreeBSD 4.x.
   
   PR:             ports/103429
   Submitted by:   Dmitry Marakasov <amdmi3@mail.ru> (maintainer)
   
   Revision  Changes    Path
   1.7       +2 -8      ports/games/fwp/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
