diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-03-23 15:34:30 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2003-03-23 15:34:30 +0000 |
commit | 4f9ba7798c66cfcb4cf50c026d85732e1f6369a6 (patch) | |
tree | b47aef7f5088380d0cf8f3f5641b34ae7633ee02 /net/tcpview/files | |
parent | PR: (diff) |
unbreak tcpview on alpha
Noticed by: kris and bento
Notes
Notes:
svn path=/head/; revision=77262
Diffstat (limited to 'net/tcpview/files')
-rw-r--r-- | net/tcpview/files/patch-Makefile | 14 | ||||
-rw-r--r-- | net/tcpview/files/patch-aa | 15 |
2 files changed, 14 insertions, 15 deletions
diff --git a/net/tcpview/files/patch-Makefile b/net/tcpview/files/patch-Makefile index 51cf1a42e58e..5c1862c17eef 100644 --- a/net/tcpview/files/patch-Makefile +++ b/net/tcpview/files/patch-Makefile @@ -115,19 +115,19 @@ - install -m 755 -g $(GROUP) BGP $(FILTER_DIR); \ - install -m 755 -g $(GROUP) telnet $(FILTER_DIR); \ - install -m 755 -g $(GROUP) generic $(FILTER_DIR); \ -+ ${INSTALL_PROGRAM} -c tcpview $(DESTDIR)$(BINDEST); \ -+ ${INSTALL_PROGRAM} -c BGP $(FILTER_DIR); \ -+ ${INSTALL_PROGRAM} -c telnet $(FILTER_DIR); \ -+ ${INSTALL_PROGRAM} -c generic $(FILTER_DIR); \ ++ ${BSD_INSTALL_PROGRAM} -c tcpview $(DESTDIR)$(BINDEST); \ ++ ${BSD_INSTALL_PROGRAM} -c BGP $(FILTER_DIR); \ ++ ${BSD_INSTALL_PROGRAM} -c telnet $(FILTER_DIR); \ ++ ${BSD_INSTALL_PROGRAM} -c generic $(FILTER_DIR); \ cd ../DOC ; \ - install -m 666 -c hosts $(TCPVIEW_DIR); \ - install -m 666 -c manuf $(TCPVIEW_DIR); \ - install -c tcpdump.1 $(DESTDIR)$(TCPDUMP_MANDEST); \ - install -c tcpview.1 $(DESTDIR)$(TCPVIEW_MANDEST); \ - install -c tcpslice.1 $(DESTDIR)$(TCPSLICE_MANDEST) -+ ${INSTALL_DATA} -c hosts $(TCPVIEW_DIR); \ -+ ${INSTALL_DATA} -c manuf $(TCPVIEW_DIR); \ -+ ${INSTALL_MAN} -c tcpview.1 $(DESTDIR)$(TCPVIEW_MANDEST); \ ++ ${BSD_INSTALL_DATA} -c hosts $(TCPVIEW_DIR); \ ++ ${BSD_INSTALL_DATA} -c manuf $(TCPVIEW_DIR); \ ++ ${BSD_INSTALL_MAN} -c tcpview.1 $(DESTDIR)$(TCPVIEW_MANDEST); \ +# install -m 444 -c tcpdump.1 $(DESTDIR)$(TCPDUMP_MANDEST); \ +# install -m 444 -c tcpslice.1 $(DESTDIR)$(TCPSLICE_MANDEST) diff --git a/net/tcpview/files/patch-aa b/net/tcpview/files/patch-aa index bc71bbdcc44e..e2c09be5872a 100644 --- a/net/tcpview/files/patch-aa +++ b/net/tcpview/files/patch-aa @@ -87,17 +87,16 @@ +*/ +/* unsigned 32-bit integer */ +#endif ---- mdtype Mon Feb 17 13:29:48 1992 -+++ mdtype Tue Feb 25 23:35:31 1997 -@@ -7,10 +7,18 @@ +--- mdtype.orig Mon Feb 17 13:29:48 1992 ++++ mdtype Fri Mar 14 23:06:11 2003 +@@ -5,12 +5,15 @@ + # + set mach="UNKNOWN" if ( -f /bin/arch ) set mach=`/bin/arch` - if ($mach == "UNKNOWN") then - set temp=`machine` +-if ($mach == "UNKNOWN") then +- set temp=`machine` - if ($temp != "") set mach=$temp -endif -+ if ($temp != "") set mach=$temp -+endif -+ # Hack, hack... if ($mach == "sparc") set mach=sun4 + |