aboutsummaryrefslogtreecommitdiffstats
path: root/net/ns2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/ns2/Makefile')
-rw-r--r--net/ns2/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/ns2/Makefile b/net/ns2/Makefile
index 395ddcd7332c..307859707a47 100644
--- a/net/ns2/Makefile
+++ b/net/ns2/Makefile
@@ -31,6 +31,12 @@ ALL_TARGET=
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 700042
+.if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
+BROKEN= Does not compile with GCC 4.2
+.endif
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|/usr/src/local/Tcl-1.0 \\|${LOCALBASE}/include/tclcl \\|g' \
-e 's|/usr/src/local/Tcl-1.0\"|${LOCALBASE}/lib\"|g' \