aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/ns/Makefile8
-rw-r--r--net/ns2/Makefile8
2 files changed, 4 insertions, 12 deletions
diff --git a/net/ns/Makefile b/net/ns/Makefile
index eefe4f0b4652..5596c93533f6 100644
--- a/net/ns/Makefile
+++ b/net/ns/Makefile
@@ -30,12 +30,8 @@ ALL_TARGET=
.include <bsd.port.pre.mk>
-.if ${ARCH} == "alpha" && ${OSVERSION} < 500000
-BROKEN= "Does not compile on alpha 4.x"
-.endif
-
-.if ${ARCH} == "sparc64"
-BROKEN= "Does not compile on sparc64"
+.if ${OSVERSION} >= 500000 || ${ARCH} != "i386"
+BROKEN= "Does not compile on !i386 or on FreeBSD >= 5.x"
.endif
do-install:
diff --git a/net/ns2/Makefile b/net/ns2/Makefile
index eefe4f0b4652..5596c93533f6 100644
--- a/net/ns2/Makefile
+++ b/net/ns2/Makefile
@@ -30,12 +30,8 @@ ALL_TARGET=
.include <bsd.port.pre.mk>
-.if ${ARCH} == "alpha" && ${OSVERSION} < 500000
-BROKEN= "Does not compile on alpha 4.x"
-.endif
-
-.if ${ARCH} == "sparc64"
-BROKEN= "Does not compile on sparc64"
+.if ${OSVERSION} >= 500000 || ${ARCH} != "i386"
+BROKEN= "Does not compile on !i386 or on FreeBSD >= 5.x"
.endif
do-install: