1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-08 23:06:56 +00:00
freebsd-ports/net/sniffit/files/patch-01

26 lines
843 B
Plaintext
Raw Normal View History

1998-08-17 07:25:18 +00:00
--- Makefile.in.orig Thu Jul 16 09:17:10 1998
+++ Makefile.in Sun Aug 16 23:20:29 1998
1998-07-02 11:12:04 +00:00
@@ -10,10 +10,10 @@
LIBS = @LIBS@
DEFS = @DEFS@
OS_OPT = @OS_OPT@
1998-07-02 11:12:04 +00:00
-OBJ_FLAG = -w -O2 -c
1998-08-17 07:25:18 +00:00
-OBJ_OPT = -I./libpcap -L./libpcap
1998-07-02 11:12:04 +00:00
-EXE_FLAG = -w -O2 -o sniffit
1998-08-17 07:25:18 +00:00
-EXE_OPT = -I./libpcap -L./libpcap -lpcap
+OBJ_FLAG = $(CFLAGS) -w -c
+#OBJ_OPT = -I./libpcap -L./libpcap
+EXE_FLAG = $(CFLAGS) -w -o sniffit
+EXE_OPT = -lpcap
EXE_OBJ = sn_packets.o sn_generation.o sn_interface.o sn_cfgfile.o \
1998-08-17 07:25:18 +00:00
sn_logfile.o sn_resolv.o
DEP_FILES = sn_config.h ./libpcap/pcap.h sn_data.h sn_defines.h sn_plugins.h \
@@ -26,7 +26,6 @@
@echo "Succesfull compilation..."
sniffit: $(SNIFFIT) $(DEP_FILES)
1998-08-17 07:25:18 +00:00
- cd libpcap; make; cd ..
$(CC) $(EXE_FLAG) $(SNIFFIT) $(EXE_OBJ) $(EXE_OPT) $(LIBS) $(DEFS) $(OS_OPT)
strip sniffit