summaryrefslogtreecommitdiff
path: root/games/tyrquake
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2006-10-04 22:22:37 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2006-10-04 22:22:37 +0000
commitb510d7776db638c71f347d5d1e25e3b2f6ec65ee (patch)
treea72ebcc3e835e8376e88308fd67f0f12e7cc98ec /games/tyrquake
parentFix ntraceroute on 64-bit systems. (diff)
- Fix building on !i386 (remove -mtune=i686 flag).
Reported by: pointyhat
Diffstat (limited to 'games/tyrquake')
-rw-r--r--games/tyrquake/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/tyrquake/Makefile b/games/tyrquake/Makefile
index e1e3a8ab98e5..97eb07af3d1b 100644
--- a/games/tyrquake/Makefile
+++ b/games/tyrquake/Makefile
@@ -33,8 +33,9 @@ MAKE_ENV+= OPTIMIZED_CFLAGS=N
MAKE_ENV+= USE_X86_ASM=N
.endif
-.if ${OSVERSION} < 500000
post-patch:
+ @${REINPLACE_CMD} -e '/-mtune/d' ${WRKSRC}/${MAKEFILE}
+.if ${OSVERSION} < 500000
@${REINPLACE_CMD} -e 's|<stdint\.h>|<inttypes.h>|' \
${WRKSRC}/common/model.c ${WRKSRC}/include/bspfile.h
.endif