summaryrefslogtreecommitdiff
path: root/games/freebooters
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-12-09 10:29:50 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-12-09 10:29:50 +0000
commitf0c072ed9a7aa22e716d1af5b08c79700532619b (patch)
treec305f5a4426dec211b00a7881d3eb849efefed88 /games/freebooters
parentHandle includes properly. (diff)
BROKEN: Does not compile on 4.x
Diffstat (limited to 'games/freebooters')
-rw-r--r--games/freebooters/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/games/freebooters/Makefile b/games/freebooters/Makefile
index 25a7a66183af..a208b2bef0c0 100644
--- a/games/freebooters/Makefile
+++ b/games/freebooters/Makefile
@@ -20,6 +20,12 @@ DOC_FILES= AUTHORS COPYING COPYRIGHT NEWS README \
README_BUCCANEER TODO manual.tex
MAN6= freebooters.6 buccaneer.6
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= "Does not compile on 4.x"
+.endif
+
do-configure:
${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/sdl_setup.cc
${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/tools.cc
@@ -31,4 +37,4 @@ post-install:
cd ${WRKSRC}/doc/ && ${INSTALL_DATA} ${DOC_FILES} ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>