summaryrefslogtreecommitdiffstats
path: root/games/rtb/Makefile
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-12-09 10:20:37 +0000
committerkrion <krion@FreeBSD.org>2004-12-09 10:20:37 +0000
commit0bcd8b7de32cc33e9bb9c8a3a06333f9b02cc7e4 (patch)
treeb06f76e6c0ab233d5d78a8d585e23d6a4b9dc405 /games/rtb/Makefile
parente0a1ad1c1f8bd9635955b7c282b221bfc9ab5a95 (diff)
downloadFreeBSD-ports-0bcd8b7de32cc33e9bb9c8a3a06333f9b02cc7e4.zip
FreeBSD-ports-0bcd8b7de32cc33e9bb9c8a3a06333f9b02cc7e4.tar.gz
BROKEN: Does not compile on 4.x
Diffstat (limited to 'games/rtb/Makefile')
-rw-r--r--games/rtb/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/rtb/Makefile b/games/rtb/Makefile
index 0bdf998..84d1f0f 100644
--- a/games/rtb/Makefile
+++ b/games/rtb/Makefile
@@ -30,6 +30,12 @@ MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
CPPFLAGS= -I${LOCALBASE}/include -DHAVE_DECL_GETOPT
LDFLAGS= -L${LOCALBASE}/lib
+.include<bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= "Does not compile on 4.x"
+.endif
+
post-extract:
@${REINPLACE_CMD} -e 's/min/Min/; s/max/Max/' ${WRKSRC}/include/Various.h
@${REINPLACE_CMD} -E -e 's/\(int\*\)/int\*/' ${WRKSRC}/src/ArenaRealTime.cc
OpenPOWER on IntegriCloud