summaryrefslogtreecommitdiffstats
path: root/games/tank/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/tank/Makefile')
-rw-r--r--games/tank/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/games/tank/Makefile b/games/tank/Makefile
index 99549cf..d3c7ed5 100644
--- a/games/tank/Makefile
+++ b/games/tank/Makefile
@@ -22,10 +22,16 @@ USE_GMAKE= yes
MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" PTHREAD_LIBS="${PTHREAD_LIBS}"
ALL_TARGET= linux-mesa-elf
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tank ${PREFIX}/bin
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.tga ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.au ${DATADIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud