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>
This commit is contained in:
Norikatsu Shigemura 2004-06-13 09:41:53 +00:00
parent 244200695e
commit 3edae3e24c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=111379
8 changed files with 70 additions and 8 deletions

View file

@ -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

View file

@ -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@

View file

@ -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@

View file

@ -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@

View file

@ -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

View file

@ -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@

View file

@ -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@

View file

@ -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@