aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/ztelnet/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/ztelnet/Makefile b/net/ztelnet/Makefile
index b02fbef35a2a..ebc1820c553c 100644
--- a/net/ztelnet/Makefile
+++ b/net/ztelnet/Makefile
@@ -28,6 +28,12 @@ PATCH_STRIP= -p1
MAN1= ztelnet.1
PLIST_FILES= bin/ztelnet
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Install fails on FreeBSD >= 5.x"
+.endif
+
post-patch:
# we can ignore warnings
@( cd ${WRKSRC}/ztelnet && \
@@ -49,4 +55,4 @@ do-install:
${INSTALL_PROGRAM} telnet/telnet ${PREFIX}/bin/ztelnet
${INSTALL_MAN} ${WRKSRC}/ztelnet.1 ${PREFIX}/man/man1/ztelnet.1
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>