diff options
author | alepulver <alepulver@FreeBSD.org> | 2006-10-04 22:22:37 +0000 |
---|---|---|
committer | alepulver <alepulver@FreeBSD.org> | 2006-10-04 22:22:37 +0000 |
commit | 10c69221ef77504f622a736f91206e4f95c8d92f (patch) | |
tree | 509927c930e0321d0561663cf398a50e7f9dc235 | |
parent | 053d58e947dada86171ff70fa440061513946b6a (diff) | |
download | FreeBSD-ports-10c69221ef77504f622a736f91206e4f95c8d92f.zip FreeBSD-ports-10c69221ef77504f622a736f91206e4f95c8d92f.tar.gz |
- Fix building on !i386 (remove -mtune=i686 flag).
Reported by: pointyhat
-rw-r--r-- | games/tyrquake/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/games/tyrquake/Makefile b/games/tyrquake/Makefile index e1e3a8a..97eb07a 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 |