aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/pokerth/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/games/pokerth/Makefile b/games/pokerth/Makefile
index b700de5c4260..d737946cfe15 100644
--- a/games/pokerth/Makefile
+++ b/games/pokerth/Makefile
@@ -33,6 +33,12 @@ QMAKE_ARGS+= -unix PREFIX=${PREFIX}
PORTDOCS= server_setup_howto.txt
MAN1= pokerth.1
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700000
+BROKEN= does not compile on 6.x
+.endif
+
post-patch:
@${REINPLACE_CMD} -E \
-e 's|/usr([a-z|/]*)|${LOCALBASE}/\1|g' \
@@ -53,4 +59,4 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/docs/server_setup_howto.txt ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>