aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-12-09 18:29:50 +0800
committerkrion <krion@FreeBSD.org>2004-12-09 18:29:50 +0800
commitbdddb06e9de17fc7a4a2d96f04712ee13f084c08 (patch)
treed42951158793c98e4d7e7f2a54092afbc5d9ae71 /games
parent60935869bb5991c70bcc8970c61fa2821917e465 (diff)
downloadfreebsd-ports-gnome-bdddb06e9de17fc7a4a2d96f04712ee13f084c08.tar.gz
freebsd-ports-gnome-bdddb06e9de17fc7a4a2d96f04712ee13f084c08.tar.zst
freebsd-ports-gnome-bdddb06e9de17fc7a4a2d96f04712ee13f084c08.zip
BROKEN: Does not compile on 4.x
Diffstat (limited to 'games')
-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>