From: | "Jeroen Roovers (jer)" <jer@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-analyzer/hping/files: hping-3_pre20051105-ldflags.patch hping-3_pre20051105-tcl.patch |
Date: | Tue, 22 Dec 2009 20:26:17 |
Message-Id: | E1NNBIx-0000i9-06@stork.gentoo.org |
1 | jer 09/12/22 20:26:02 |
2 | |
3 | Added: hping-3_pre20051105-ldflags.patch |
4 | hping-3_pre20051105-tcl.patch |
5 | Log: |
6 | Add tcl8.5 patch (stupid configure script). Respect LDFLAGS. Call epatch just once. Call sed just once. Respect libdir. Do not call econf but configure. Readd mysteriously disappearing keywords. |
7 | (Portage version: 2.2_rc60/cvs/Linux i686) |
8 | |
9 | Revision Changes Path |
10 | 1.1 net-analyzer/hping/files/hping-3_pre20051105-ldflags.patch |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/hping/files/hping-3_pre20051105-ldflags.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/hping/files/hping-3_pre20051105-ldflags.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: hping-3_pre20051105-ldflags.patch |
16 | =================================================================== |
17 | --- Makefile.in.org 2009-12-22 21:06:55.000000000 +0100 |
18 | +++ Makefile.in 2009-12-22 21:09:17.000000000 +0100 |
19 | @@ -50,11 +50,11 @@ |
20 | $(RANLIB) $@ |
21 | |
22 | hping3: byteorder.h $(OBJ) |
23 | - $(CC) -o hping3 $(CCOPT) $(DEBUG) $(OBJ) -L/usr/local/lib $(PCAP) @SOLARISLIB@ @TCL_LIB@ |
24 | + $(CC) -o hping3 $(CCOPT) $(LDFLAGS) $(DEBUG) $(OBJ) -L/usr/local/lib $(PCAP) @SOLARISLIB@ @TCL_LIB@ |
25 | @echo |
26 | |
27 | hping3-static: byteorder.h $(OBJ) |
28 | - $(CC) -static -o hping3-static $(CCOPT) $(DEBUG) $(OBJ) -L/usr/local/lib $(PCAP) @SOLARISLIB@ @TCL_LIB@ -ldl |
29 | + $(CC) -static -o hping3-static $(CCOPT) $(LDFLAGS) $(DEBUG) $(OBJ) -L/usr/local/lib $(PCAP) @SOLARISLIB@ @TCL_LIB@ -ldl |
30 | |
31 | byteorder.h: |
32 | ./configure |
33 | |
34 | |
35 | |
36 | 1.1 net-analyzer/hping/files/hping-3_pre20051105-tcl.patch |
37 | |
38 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/hping/files/hping-3_pre20051105-tcl.patch?rev=1.1&view=markup |
39 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/hping/files/hping-3_pre20051105-tcl.patch?rev=1.1&content-type=text/plain |
40 | |
41 | Index: hping-3_pre20051105-tcl.patch |
42 | =================================================================== |
43 | --- configure.org 2009-12-22 21:05:11.000000000 +0100 |
44 | +++ configure 2009-12-22 21:06:07.000000000 +0100 |
45 | @@ -63,7 +63,7 @@ |
46 | # |
47 | for TCLPATH_TRY in "/usr/bin/" "/usr/local/bin/" "/bin/" |
48 | do |
49 | - for TCLVER_TRY in "8.4" "8.3" "8.2" "8.1" "8.0" |
50 | + for TCLVER_TRY in "8.5" "8.4" "8.3" "8.2" "8.1" "8.0" |
51 | do |
52 | if [ -z $TCLSH ] |
53 | then |