aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-03-19 22:27:54 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-03-19 22:27:54 +0000
commit3a21f3db1b0aa2d8061a2da9bd2b0e1847d38ccb (patch)
treeee66a2c37351cf8511e539e46f92e96cd92dadfb
parentd9037993092384e407ee3c7bf1b9c6a688153366 (diff)
downloadports-3a21f3db1b0aa2d8061a2da9bd2b0e1847d38ccb.tar.gz
ports-3a21f3db1b0aa2d8061a2da9bd2b0e1847d38ccb.zip
Notes
-rw-r--r--net/ns/Makefile8
-rw-r--r--net/ns2/Makefile8
2 files changed, 14 insertions, 2 deletions
diff --git a/net/ns/Makefile b/net/ns/Makefile
index 811e530d9e01..b25577578f57 100644
--- a/net/ns/Makefile
+++ b/net/ns/Makefile
@@ -27,10 +27,16 @@ CONFIGURE_ARGS= --with-tcl-ver=8.3 --with-tk-ver=8.3
ALL_TARGET=
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "alpha" && ${OSVERSION} < 500000
+BROKEN= "Does not compile on alpha 4.x"
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ns ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/ns.1 ${PREFIX}/man/man1
${MKDIR} ${PREFIX}/share/examples/ns2
${INSTALL_DATA} ${WRKSRC}/tcl/ex/*.tcl ${PREFIX}/share/examples/ns2
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/net/ns2/Makefile b/net/ns2/Makefile
index 811e530d9e01..b25577578f57 100644
--- a/net/ns2/Makefile
+++ b/net/ns2/Makefile
@@ -27,10 +27,16 @@ CONFIGURE_ARGS= --with-tcl-ver=8.3 --with-tk-ver=8.3
ALL_TARGET=
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "alpha" && ${OSVERSION} < 500000
+BROKEN= "Does not compile on alpha 4.x"
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ns ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/ns.1 ${PREFIX}/man/man1
${MKDIR} ${PREFIX}/share/examples/ns2
${INSTALL_DATA} ${WRKSRC}/tcl/ex/*.tcl ${PREFIX}/share/examples/ns2
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>