On Wed, Jul 04, 2007 at 03:10:43PM +0000, Michael Johnson wrote:
> ahze        2007-07-04 15:10:43 UTC
> 
>   FreeBSD ports repository
> 
>   Modified files:
>     games/supertux       Makefile 
>   Log:
>   Use gcc3.4 on -CURRENT to fix build
>   
>   Reported by:    pointyhat via pav

How about attached patch?  We generally try to avoid forcing alternative
compiler when things can be trivially fixed.

./danfe

P.S.  This port also can be cleaned up a bit: extra whitespace after
WWW: in pkg-descr and Makefile header (the latter is up to you).
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/games/supertux/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- Makefile    4 Jul 2007 15:10:43 -0000       1.14
+++ Makefile    4 Jul 2007 15:56:43 -0000
@@ -15,7 +15,6 @@
 MAINTAINER=    [EMAIL PROTECTED]
 COMMENT=       Super Tux is a side-scroller similar to Super Mario Brothers
 
-USE_X_PREFIX=  yes
 USE_BZIP2=     yes
 USE_SDL=       image mixer
 USE_GL=                yes
@@ -24,10 +23,7 @@
 CONFIGURE_TARGET=      --build=${ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ARGS=                --disable-debug
 
-.include <bsd.port.pre.mk>
+post-patch:
+       @${REINPLACE_CMD} -e 's,Menu::,,' ${WRKSRC}/src/menu.h
 
-.if ${OSVERSION} > 700000
-USE_GCC=       3.4
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to