summaryrefslogtreecommitdiff
path: root/games/xarchon/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/xarchon/Makefile')
-rw-r--r--games/xarchon/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/games/xarchon/Makefile b/games/xarchon/Makefile
index e3ae05dffa6c..e1c5b6d32bbe 100644
--- a/games/xarchon/Makefile
+++ b/games/xarchon/Makefile
@@ -25,8 +25,14 @@ USE_REINPLACE= yes
MAN6= xarchon.6
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>