update Sun Mar 14 12:37:00 PDT 2010
[pkgsrc.git] / net / hping3 / patches / patch-ab
1 $NetBSD: patch-ab,v 1.1.1.1 2010/03/14 18:37:58 pettai Exp $
2
3 --- Makefile.in.orig    2004-04-10 01:38:56.000000000 +0200
4 +++ Makefile.in 2010-01-26 23:35:22.000000000 +0100
5 @@ -50,14 +50,14 @@
6         $(RANLIB) $@
7  
8  hping3: byteorder.h $(OBJ)
9 -       $(CC) -o hping3 $(CCOPT) $(DEBUG) $(OBJ) -L/usr/local/lib $(PCAP) @SOLARISLIB@ @TCL_LIB@
10 +       $(CC) -o hping3 $(CCOPT) $(DEBUG) $(OBJ) -L@PREFIX@/lib -R@PREFIX@/lib $(PCAP) @SOLARISLIB@ @TCL_LIB@
11         @echo
12         ./hping3 -v
13         @echo "use \`make strip' to strip hping3 binary"
14         @echo "use \`make install' to install hping3"
15  
16  hping3-static: byteorder.h $(OBJ)
17 -       $(CC) -static -o hping3-static $(CCOPT) $(DEBUG) $(OBJ) -L/usr/local/lib $(PCAP) @SOLARISLIB@ @TCL_LIB@ -ldl
18 +       $(CC) -static -o hping3-static $(CCOPT) $(DEBUG) $(OBJ) -L@PREFIX@/lib $(PCAP) @SOLARISLIB@ @TCL_LIB@ -ldl
19  
20  byteorder.h:
21         ./configure