aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/ns/Makefile4
-rw-r--r--net/ns2/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/net/ns/Makefile b/net/ns/Makefile
index cf87c535cfc3..5cdbdc96c0f8 100644
--- a/net/ns/Makefile
+++ b/net/ns/Makefile
@@ -29,6 +29,10 @@ ALL_TARGET=
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 502112
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
.if ${ARCH} == "alpha" && ${OSVERSION} < 500000
BROKEN= "Does not compile on alpha 4.x"
.endif
diff --git a/net/ns2/Makefile b/net/ns2/Makefile
index cf87c535cfc3..5cdbdc96c0f8 100644
--- a/net/ns2/Makefile
+++ b/net/ns2/Makefile
@@ -29,6 +29,10 @@ ALL_TARGET=
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 502112
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
.if ${ARCH} == "alpha" && ${OSVERSION} < 500000
BROKEN= "Does not compile on alpha 4.x"
.endif