summaryrefslogtreecommitdiff
path: root/net/tcpview/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/tcpview/files/patch-Makefile')
-rw-r--r--net/tcpview/files/patch-Makefile22
1 files changed, 11 insertions, 11 deletions
diff --git a/net/tcpview/files/patch-Makefile b/net/tcpview/files/patch-Makefile
index c8fa4c56f6fc..9e1882d10058 100644
--- a/net/tcpview/files/patch-Makefile
+++ b/net/tcpview/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig 1993-04-22 14:40:24.000000000 -0700
-+++ Makefile 2014-05-29 22:43:08.670436162 -0700
+--- Makefile.orig 1993-04-22 21:40:24 UTC
++++ Makefile
@@ -21,17 +21,16 @@
# @(#) $Header: /usr/staff/martinh/tcpview/RCS/Makefile,v 1.3 1992/11/17 21:59:47 martinh Exp martinh $ (UW)
@@ -22,7 +22,7 @@
# These are for the Sun4 version
#CCOPT = -O2 -Bstatic
-@@ -41,20 +40,20 @@
+@@ -41,20 +40,20 @@ XLIB= -lXm -lXt -lX11
XLIB= -lXm -lXt -lX11
# The installed binary is owned by this group.
@@ -51,7 +51,7 @@
# Standard CFLAGS
STANDARD_CFLAGS = $(CCOPT) $(DEFINES) $(INCLUDES)
-@@ -70,7 +69,7 @@
+@@ -70,7 +69,7 @@ STANDARD_CFLAGS = $(CCOPT) $(DEFINES) $(INCLUDES)
#tahoe-bsd#CFLAGS = $(STANDARD_CFLAGS)
#vax-bsd#CFLAGS = $(STANDARD_CFLAGS)
#vax-ultrix#
@@ -60,7 +60,7 @@
#mips-irix#CFLAGS = $(STANDARD_CFLAGS) -D_BSD_COMPAT
SUBDIRS = hp300-bsd mips-ultrix sun?-sunos? sun4-bsd tahoe-bsd vax-bsd \
-@@ -92,7 +91,8 @@
+@@ -92,7 +91,8 @@ OS=`./ostype`
# Also, gcc does not remove the .o before forking 'as', which can be a
# problem if you don't own the file but can write to the directory.
.c.o:
@@ -70,7 +70,7 @@
# List all C source files here
-@@ -189,7 +189,7 @@
+@@ -189,7 +189,7 @@ tcpview: $(TCPVIEW_OBJ)
$(CC) $(CFLAGS) -o $@ $(TCPDUMP_OBJ) $(LIB)
tcpview: $(TCPVIEW_OBJ)
@@ -79,7 +79,7 @@
tcpslice: $(TCPSLICE_OBJ)
$(CC) $(CFLAGS) -o $@ $(TCPSLICE_OBJ)
-@@ -209,12 +209,12 @@
+@@ -209,12 +209,12 @@ submake: force
-@dir=$(MD)-$(OS)-tcpdump; \
if [ ! -d $$dir ]; then ${MAKE} ${MFLAGS} config1; fi; \
set -x; \
@@ -95,7 +95,7 @@
# N.B.- symbolic links are used in the subdirectory rather than VPATH
# because at least one Sun cc compiler puts the .o in the wrong place
-@@ -239,7 +239,7 @@
+@@ -239,7 +239,7 @@ config1:
ln -s ../net $$dir/net; \
sed -e "/^all:/d" -e "s/^#$$dir#//" Makefile >$$dir/Makefile; \
chmod ug+w $$dir/Makefile; \
@@ -104,7 +104,7 @@
config2:
-@md=$(MD); os=$(OS); dir=$$md-$$os-tcpview; list=; \
-@@ -258,23 +258,24 @@
+@@ -258,23 +258,24 @@ config2:
ln -s ../TCPVIEW_VERSION $$dir/TCPVIEW_VERSION; \
sed -e "/^all:/d" -e "s/^#$$dir#//" Makefile >$$dir/Makefile; \
chmod ug+w $$dir/Makefile; \
@@ -133,7 +133,7 @@
sed 's/.*/char tcpview_version[] = "&";/' TCPVIEW_VERSION >> version.c
set `sed 's/\([0-9]*\)\.\([0-9]*\).*/\1 \2/' VERSION` ; \
{ echo '#define VERSION_MAJOR' $$1 ; \
-@@ -287,22 +288,20 @@
+@@ -287,22 +288,20 @@ install: force
install: force
-mkdir -p $(TCPVIEW_DIR)
-mkdir -p $(FILTER_DIR)
@@ -169,7 +169,7 @@
lint: force
lint -hbxn $(CSRC) | \
-@@ -367,8 +366,3 @@
+@@ -367,8 +366,3 @@ depend2: force
-../mkdep $(DEFINES) $(INCLUDES) $(TCPVIEW_CSRC) \
tcpgram.c tcplex.c
rm -f $(GEN)