aboutsummaryrefslogtreecommitdiffstats
path: root/games/KnightCap
diff options
context:
space:
mode:
Diffstat (limited to 'games/KnightCap')
-rw-r--r--games/KnightCap/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/games/KnightCap/Makefile b/games/KnightCap/Makefile
index edfe375fb86f..33b735facb14 100644
--- a/games/KnightCap/Makefile
+++ b/games/KnightCap/Makefile
@@ -26,6 +26,12 @@ DOCSDIR= ${PREFIX}/share/doc/KnightCap
PORTDOCS= README
PLIST_FILES= bin/KnightCap
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/KnightCap ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@@ -33,4 +39,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>