aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/scotty3
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/scotty3')
-rw-r--r--net-mgmt/scotty3/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net-mgmt/scotty3/Makefile b/net-mgmt/scotty3/Makefile
index f0ff6ae5e707..d748a5e7162c 100644
--- a/net-mgmt/scotty3/Makefile
+++ b/net-mgmt/scotty3/Makefile
@@ -56,6 +56,12 @@ PLIST_SUB+= X11='@comment '
LATEST_LINK= scotty3
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 700042
+BROKEN= Does not compile with GCC 4.2
+.endif
+
post-patch:
${MV} ${WRKSRC}/scotty.c ${WRKSRC}/scotty.c.orig
${CP} -p ${FILESDIR}/scotty.c ${WRKSRC}/scotty.c
@@ -67,4 +73,4 @@ post-install:
${LN} -s tkined1.5.0 ${PREFIX}/bin/tkined
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>