summaryrefslogtreecommitdiff
path: root/net/ns/patches/patch-al
blob: 29bb1d3164d7a58e4bac9c529b35d0b45a3231e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
$NetBSD: patch-al,v 1.5 2004/03/08 23:55:24 minskim Exp $

--- indep-utils/cmu-scen-gen/setdest/Makefile.in.orig	Mon Jan 12 18:58:39 2004
+++ indep-utils/cmu-scen-gen/setdest/Makefile.in
@@ -36,18 +36,18 @@ CCX = @CXX@
 CC = @CC@
 MKDEP	= ../../../conf/mkdep
 
-# when including files from ns, we need to take care STL_NAMESPACE
-DEFINE = -Dstand_alone -DSTL_NAMESPACE=@STL_NAMESPACE@
+# when including files from ns, we need to take care CPP_NAMESPACE
+DEFINE = -Dstand_alone -DCPP_NAMESPACE=@CPP_NAMESPACE@
 CFLAGS = @V_CCOPT@ 
-LDFLAGS = @V_STATIC@
+LDFLAGS = @LDFLAGS@
 LIBS = @V_LIB@ -lm @LIBS@
 INSTALL = @INSTALL@
 
 all: setdest calcdest
 
 install: setdest calcdest
-	$(INSTALL) -m 555 -o bin -g bin setdest $(DESTDIR)$(BINDEST)
-	$(INSTALL) -m 555 -o bin -g bin calcdest $(DESTDIR)$(BINDEST)
+	$(INSTALL) -m 555 setdest $(DESTDIR)$(BINDEST)
+	$(INSTALL) -m 555 calcdest $(DESTDIR)$(BINDEST)
 
 setdest: rng.o setdest.o
 	$(CCX) -o setdest $@.o rng.o $(DEFINE) $(LDFLAGS) $(CFLAGS) \