openbsd-ports/net/sniffit/patches/patch-aa

47 lines
1.5 KiB
Plaintext

*** Makefile.in.orig Fri Apr 18 05:33:57 1997
--- Makefile.in Thu Jun 18 15:55:25 1998
***************
*** 8,19 ****
SNIFFIT = sniffit.0.3.5.c
CC = @CC@
LIBS = @LIBS@
! DEFS = @DEFS@
OS_OPT = @OS_OPT@
OBJ_FLAG = -w -O2 -c
! OBJ_OPT = -I./libpcap-0.3 -L./libpcap-0.3
EXE_FLAG = -w -O2 -o sniffit
! EXE_OPT = -I./libpcap-0.3 -L./libpcap-0.3 -lpcap
EXE_OBJ = sn_packets.o sn_generation.o sn_interface.o sn_cfgfile.o \
sn_logfile.o
DEP_FILES = sn_config.h pcap.h sn_data.h sn_defines.h sn_plugins.h \
--- 8,19 ----
SNIFFIT = sniffit.0.3.5.c
CC = @CC@
LIBS = @LIBS@
! DEFS = @DEFS@ -DHAVE_LIBNCURSES
OS_OPT = @OS_OPT@
OBJ_FLAG = -w -O2 -c
! #OBJ_OPT = -I./libpcap-0.3 -L./libpcap-0.3
EXE_FLAG = -w -O2 -o sniffit
! EXE_OPT = -lpcap
EXE_OBJ = sn_packets.o sn_generation.o sn_interface.o sn_cfgfile.o \
sn_logfile.o
DEP_FILES = sn_config.h pcap.h sn_data.h sn_defines.h sn_plugins.h \
***************
*** 21,27 ****
sn_generation.o sn_interface.o sn_cfgfile.o sn_logfile.o
sniffit: $(SNIFFIT) $(DEP_FILES)
! cd libpcap-0.3; make; cd ..
$(CC) $(EXE_FLAG) $(SNIFFIT) $(EXE_OBJ) $(EXE_OPT) $(LIBS) $(DEFS) $(OS_OPT)
strip sniffit
--- 21,27 ----
sn_generation.o sn_interface.o sn_cfgfile.o sn_logfile.o
sniffit: $(SNIFFIT) $(DEP_FILES)
! #cd libpcap-0.3; make; cd ..
$(CC) $(EXE_FLAG) $(SNIFFIT) $(EXE_OBJ) $(EXE_OPT) $(LIBS) $(DEFS) $(OS_OPT)
strip sniffit