Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jul 2007 16:01:54 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Michael Johnson <ahze@FreeBSD.org>
Cc:        cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/games/supertux Makefile
Message-ID:  <20070704160154.GA9394@FreeBSD.org>
In-Reply-To: <200707041510.l64FAhY1080905@repoman.freebsd.org>
References:  <200707041510.l64FAhY1080905@repoman.freebsd.org>

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

--jRHKVT23PllUwdXP
Content-Type: text/plain; charset=koi8-r
Content-Disposition: inline

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).

--jRHKVT23PllUwdXP
Content-Type: text/plain; charset=koi8-r
Content-Disposition: attachment; filename=d2

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=	ahze@FreeBSD.org
 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>

--jRHKVT23PllUwdXP--



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