ports/85248: games/quake3 Quake III Arena -- first person shooter (native build)
alexander
arundel at h3c.de
Fri Aug 26 16:30:25 UTC 2005
The following reply was made to PR ports/85248; it has been noted by GNATS.
From: alexander <arundel at h3c.de>
To: bug-followup at freebsd.org, shirshegsm at 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 && \
More information about the freebsd-ports-bugs
mailing list