aboutsummaryrefslogtreecommitdiffstats
path: root/net/ns
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2004-06-13 17:41:53 +0800
committernork <nork@FreeBSD.org>2004-06-13 17:41:53 +0800
commitacab2c00faf7d50bf5da87ab7f3e60eab98058f7 (patch)
treebc56277d47eb98bfd809b056cae28a9e86b590b8 /net/ns
parentfaf8ffab026db00ef0c15a38124a0ee02a189783 (diff)
downloadfreebsd-ports-gnome-acab2c00faf7d50bf5da87ab7f3e60eab98058f7.tar.gz
freebsd-ports-gnome-acab2c00faf7d50bf5da87ab7f3e60eab98058f7.tar.zst
freebsd-ports-gnome-acab2c00faf7d50bf5da87ab7f3e60eab98058f7.zip
Fix build error.
Reported by: Jon <sici@myrealbox.com> Pointed out by: bento via kris Submitted by: Hiroyuki Une <harrier@seiryu.cim.hkg.ac.jp>
Diffstat (limited to 'net/ns')
-rw-r--r--net/ns/Makefile5
-rw-r--r--net/ns/files/patch-indep-utils::cmu-scen-gen::setdest::Makefile.in12
-rw-r--r--net/ns/files/patch-indep-utils::webtrace-conv::dec::Makefile.in11
-rw-r--r--net/ns/files/patch-indep-utils::webtrace-conv::nlanr::Makefile.in11
4 files changed, 35 insertions, 4 deletions
diff --git a/net/ns/Makefile b/net/ns/Makefile
index 5cdbdc96c0f8..eefe4f0b4652 100644
--- a/net/ns/Makefile
+++ b/net/ns/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ns
PORTVERSION= 2.27
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.isi.edu/nsnam/dist/
DISTNAME= ns-src-2.27
@@ -29,10 +30,6 @@ 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/ns/files/patch-indep-utils::cmu-scen-gen::setdest::Makefile.in b/net/ns/files/patch-indep-utils::cmu-scen-gen::setdest::Makefile.in
new file mode 100644
index 000000000000..a009fcc0b70f
--- /dev/null
+++ b/net/ns/files/patch-indep-utils::cmu-scen-gen::setdest::Makefile.in
@@ -0,0 +1,12 @@
+--- indep-utils/cmu-scen-gen/setdest/Makefile.in.orig Mon May 24 08:09:36 2004
++++ indep-utils/cmu-scen-gen/setdest/Makefile.in Mon May 24 08:10:46 2004
+@@ -37,7 +37,7 @@
+ MKDEP = ../../../conf/mkdep
+
+ # when including files from ns, we need to take care STL_NAMESPACE
+-DEFINE = -Dstand_alone -DSTL_NAMESPACE=@STL_NAMESPACE@
++DEFINE = -Dstand_alone -DSTL_NAMESPACE=@STL_NAMESPACE@ -DCPP_NAMESPACE=@CPP_NAMESPACE@
+ CFLAGS = @V_CCOPT@
+ LDFLAGS = @V_STATIC@
+ LIBS = @V_LIB@ -lm @LIBS@
+
diff --git a/net/ns/files/patch-indep-utils::webtrace-conv::dec::Makefile.in b/net/ns/files/patch-indep-utils::webtrace-conv::dec::Makefile.in
new file mode 100644
index 000000000000..1535cd1256a8
--- /dev/null
+++ b/net/ns/files/patch-indep-utils::webtrace-conv::dec::Makefile.in
@@ -0,0 +1,11 @@
+--- indep-utils/webtrace-conv/dec/Makefile.in.orig Tue Jan 13 09:58:44 2004
++++ indep-utils/webtrace-conv/dec/Makefile.in Sun Jun 13 18:22:22 2004
+@@ -38,7 +38,7 @@
+ # when including files from ns, we need to take care STL_NAMESPACE
+ CC = @CXX@
+ INCLUDE = -I. @V_INCLUDES@
+-CFLAGS = @V_CCOPT@ -DSTL_NAMESPACE=@STL_NAMESPACE@
++CFLAGS = @V_CCOPT@ -DSTL_NAMESPACE=@STL_NAMESPACE@ -DCPP_NAMESPACE=@CPP_NAMESPACE@
+ LDFLAGS = @V_STATIC@
+ LIBS = @V_LIB_TCL@ @V_LIB@ @LIBS@
+ INSTALL = @INSTALL@
diff --git a/net/ns/files/patch-indep-utils::webtrace-conv::nlanr::Makefile.in b/net/ns/files/patch-indep-utils::webtrace-conv::nlanr::Makefile.in
new file mode 100644
index 000000000000..d845581f9a33
--- /dev/null
+++ b/net/ns/files/patch-indep-utils::webtrace-conv::nlanr::Makefile.in
@@ -0,0 +1,11 @@
+--- indep-utils/webtrace-conv/nlanr/Makefile.in.orig Tue Jan 13 09:58:48 2004
++++ indep-utils/webtrace-conv/nlanr/Makefile.in Sun Jun 13 18:30:51 2004
+@@ -35,7 +35,7 @@
+ # when including files from ns, we need to take care STL_NAMESPACE
+ CC = @CXX@
+ INCLUDE = -I. -I../../.. @V_INCLUDES@
+-CFLAGS = @V_CCOPT@ -DSTL_NAMESPACE=@STL_NAMESPACE@
++CFLAGS = @V_CCOPT@ -DSTL_NAMESPACE=@STL_NAMESPACE@ -DCPP_NAMESPACE=@CPP_NAMESPACE@
+ LDFLAGS = @V_STATIC@
+ LIBS = @V_LIB_TCL@ @V_LIB@ @LIBS@
+ INSTALL = @INSTALL@