aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2006-10-05 06:22:37 +0800
committeralepulver <alepulver@FreeBSD.org>2006-10-05 06:22:37 +0800
commit10c69221ef77504f622a736f91206e4f95c8d92f (patch)
tree509927c930e0321d0561663cf398a50e7f9dc235 /games
parent053d58e947dada86171ff70fa440061513946b6a (diff)
downloadfreebsd-ports-gnome-10c69221ef77504f622a736f91206e4f95c8d92f.tar.gz
freebsd-ports-gnome-10c69221ef77504f622a736f91206e4f95c8d92f.tar.zst
freebsd-ports-gnome-10c69221ef77504f622a736f91206e4f95c8d92f.zip
- Fix building on !i386 (remove -mtune=i686 flag).
Reported by: pointyhat
Diffstat (limited to 'games')
-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