Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Aug 2005 16:30:25 GMT
From:      alexander <arundel@h3c.de>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/85248: games/quake3 Quake III Arena -- first person shooter (native build)
Message-ID:  <200508261630.j7QGUP1s011352@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/85248; it has been noted by GNATS.

From: alexander <arundel@h3c.de>
To: bug-followup@freebsd.org, shirshegsm@gmail.com
Cc:  
Subject: Re: ports/85248: games/quake3 Quake III Arena -- first person shooter (native build)
Date: Fri, 26 Aug 2005 18:24:11 +0200

 Here's a little patch for the Makefile. It gets rid of a few obsolete gcc
 flags which cause gcc to produce a lot of warnings during the build process.
 
 Thx a bunch for this great port.
 
 --- ./Makefile.orig	Tue Aug 23 16:10:34 2005
 +++ ./Makefile	Fri Aug 26 18:16:21 2005
 @@ -19,8 +19,10 @@
  BUILD_DEPENDS=		nasm:${PORTSDIR}/devel/nasm
  
  USE_GMAKE=		yes
 +USE_REINPLACE=		yes
  USE_PERL5_BUILD=	yes
  USE_GL=		yes
 +CONFLICTS=		q3server
  
  # We need that -a flag
  do-extract:
 @@ -30,6 +32,10 @@
  
  pre-build:
 		${MKDIR} ${WRKSRC}/lcc/build
 +
 +		${REINPLACE_CMD} -e 's|-mcpu|-march|g ; s|-malign-loops|-falign-loops|g ; \
 +		s|-malign-jumps|-falign-jumps|g ; s|-malign-functions|-falign-functions|g' \
 +		${WRKSRC}/code/Construct
  
  do-build:
 		cd ${WRKSRC}/code && \
 
 



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