mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 01:09:24 -04:00
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:
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
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= ns
|
PORTNAME= ns
|
||||||
PORTVERSION= 2.27
|
PORTVERSION= 2.27
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= net
|
CATEGORIES= net
|
||||||
MASTER_SITES= http://www.isi.edu/nsnam/dist/
|
MASTER_SITES= http://www.isi.edu/nsnam/dist/
|
||||||
DISTNAME= ns-src-2.27
|
DISTNAME= ns-src-2.27
|
||||||
|
@ -29,10 +30,6 @@ ALL_TARGET=
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OSVERSION} >= 502112
|
|
||||||
BROKEN= "Does not compile on FreeBSD >= 5.x"
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${ARCH} == "alpha" && ${OSVERSION} < 500000
|
.if ${ARCH} == "alpha" && ${OSVERSION} < 500000
|
||||||
BROKEN= "Does not compile on alpha 4.x"
|
BROKEN= "Does not compile on alpha 4.x"
|
||||||
.endif
|
.endif
|
||||||
|
|
|
@ -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@
|
||||||
|
|
|
@ -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@
|
|
@ -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@
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= ns
|
PORTNAME= ns
|
||||||
PORTVERSION= 2.27
|
PORTVERSION= 2.27
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= net
|
CATEGORIES= net
|
||||||
MASTER_SITES= http://www.isi.edu/nsnam/dist/
|
MASTER_SITES= http://www.isi.edu/nsnam/dist/
|
||||||
DISTNAME= ns-src-2.27
|
DISTNAME= ns-src-2.27
|
||||||
|
@ -29,10 +30,6 @@ ALL_TARGET=
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OSVERSION} >= 502112
|
|
||||||
BROKEN= "Does not compile on FreeBSD >= 5.x"
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${ARCH} == "alpha" && ${OSVERSION} < 500000
|
.if ${ARCH} == "alpha" && ${OSVERSION} < 500000
|
||||||
BROKEN= "Does not compile on alpha 4.x"
|
BROKEN= "Does not compile on alpha 4.x"
|
||||||
.endif
|
.endif
|
||||||
|
|
|
@ -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@
|
||||||
|
|
|
@ -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@
|
|
@ -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@
|
Loading…
Add table
Reference in a new issue