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

33 lines
864 B
Plaintext
Raw Normal View History

2000-04-14 10:13:18 -04:00
--- Makefile.in.orig Fri Apr 14 08:54:59 2000
+++ Makefile.in Fri Apr 14 08:56:51 2000
@@ -7,12 +7,11 @@
1999-10-28 18:53:00 -04:00
# $rev: 3$
CC= gcc
2000-04-14 10:13:18 -04:00
-CCOPT= -O2 -Wall @PCAP_INCLUDE@
+CCOPT= -O2 -Wall
1999-10-28 18:53:00 -04:00
DEBUG= -g
#uncomment the following if you need libpcap based build under linux
#(not raccomanded)
2000-04-14 10:13:18 -04:00
-COMPILE_TIME= @FORCE_LIBPCAP@ @LIMITWHENSUID@ @HAVE_PROC@
-@PCAP@
+COMPILE_TIME= @LIMITWHENSUID@ @HAVE_PROC@
1999-10-28 18:53:00 -04:00
OBJ= main.o getifname.o getlhs.o \
2000-04-14 10:13:18 -04:00
linux_sockpacket.o parseoptions.o datafiller.o \
@@ -31,12 +30,8 @@
1999-10-28 18:53:00 -04:00
2000-04-14 10:13:18 -04:00
all: hping2
-hping2: byteorder.h $(OBJ) $(PCAP)
- $(CC) -o hping2 $(CCOPT) $(DEBUG) $(COMPILE_TIME) $(OBJ) $(PCAP)
1999-10-28 18:53:00 -04:00
- @echo
- ./hping2 -v
- @echo "use \`make strip' to strip hping2 binary"
- @echo "use \`make install' to install hping2"
2000-04-14 10:13:18 -04:00
+hping2: byteorder.h $(OBJ)
+ $(CC) -o hping2 $(CCOPT) $(DEBUG) $(COMPILE_TIME) $(OBJ) -lpcap
1999-10-28 18:53:00 -04:00
byteorder.h:
./configure