diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-02-02 17:50:55 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-02-02 17:50:55 +0000 |
commit | 4f0499f6e01a592a5dedd65ceddaf2fd1bebd9be (patch) | |
tree | abb8d076e252ecb5be66eb79cc692f2f9716e829 | |
parent | 29d1df5b9746e15c3d22a1665f6d0d0368534ebf (diff) | |
download | poky-4f0499f6e01a592a5dedd65ceddaf2fd1bebd9be.tar.gz |
autoconf: Add missing patch
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r-- | meta/packages/autoconf/autoconf-2.65/path_prog_fixes.patch | 126 |
1 files changed, 126 insertions, 0 deletions
diff --git a/meta/packages/autoconf/autoconf-2.65/path_prog_fixes.patch b/meta/packages/autoconf/autoconf-2.65/path_prog_fixes.patch new file mode 100644 index 0000000000..5f0d055a48 --- /dev/null +++ b/meta/packages/autoconf/autoconf-2.65/path_prog_fixes.patch | |||
@@ -0,0 +1,126 @@ | |||
1 | Index: autoconf-2.59/bin/autoheader.in | ||
2 | =================================================================== | ||
3 | --- autoconf-2.59.orig/bin/autoheader.in 2005-03-09 16:27:17.933878952 -0500 | ||
4 | +++ autoconf-2.59/bin/autoheader.in 2005-03-09 16:29:57.360642400 -0500 | ||
5 | @@ -1,8 +1,8 @@ | ||
6 | -#! @PERL@ | ||
7 | +#! @bindir@/env perl | ||
8 | # -*- Perl -*- | ||
9 | # @configure_input@ | ||
10 | |||
11 | -eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac' | ||
12 | +eval 'case $# in 0) exec @bindir@/env perl -S "$0";; *) exec @bindir@/env perl -S "$0" "$@";; esac' | ||
13 | if 0; | ||
14 | |||
15 | # autoheader -- create `config.h.in' from `configure.ac' | ||
16 | Index: autoconf-2.59/bin/autom4te.in | ||
17 | =================================================================== | ||
18 | --- autoconf-2.59.orig/bin/autom4te.in 2003-10-28 03:48:36.000000000 -0500 | ||
19 | +++ autoconf-2.59/bin/autom4te.in 2005-03-09 16:30:14.957967200 -0500 | ||
20 | @@ -1,8 +1,10 @@ | ||
21 | -#! @PERL@ -w | ||
22 | +#! @bindir@/env perl | ||
23 | # -*- perl -*- | ||
24 | # @configure_input@ | ||
25 | |||
26 | -eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac' | ||
27 | +use warnings; | ||
28 | + | ||
29 | +eval 'case $# in 0) exec @bindir@/env perl -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac' | ||
30 | if 0; | ||
31 | |||
32 | # autom4te - Wrapper around M4 libraries. | ||
33 | @@ -87,7 +89,7 @@ | ||
34 | my $freeze = 0; | ||
35 | |||
36 | # $M4. | ||
37 | -my $m4 = $ENV{"M4"} || '@M4@'; | ||
38 | +my $m4 = $ENV{"M4"} || '@bindir@/env m4'; | ||
39 | # Some non-GNU m4's don't reject the --help option, so give them /dev/null. | ||
40 | fatal "need GNU m4 1.4 or later: $m4" | ||
41 | if system "$m4 --help </dev/null 2>&1 | grep reload-state >/dev/null"; | ||
42 | Index: autoconf-2.59/bin/autoreconf.in | ||
43 | =================================================================== | ||
44 | --- autoconf-2.59.orig/bin/autoreconf.in 2005-03-09 16:27:17.354966960 -0500 | ||
45 | +++ autoconf-2.59/bin/autoreconf.in 2005-03-09 16:31:19.572144352 -0500 | ||
46 | @@ -1,8 +1,10 @@ | ||
47 | -#! @PERL@ -w | ||
48 | +#! @bindir@/env perl | ||
49 | # -*- perl -*- | ||
50 | # @configure_input@ | ||
51 | |||
52 | -eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac' | ||
53 | +use warnings; | ||
54 | + | ||
55 | +eval 'case $# in 0) exec @bindir@/env perl -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac' | ||
56 | if 0; | ||
57 | |||
58 | # autoreconf - install the GNU Build System in a directory tree | ||
59 | Index: autoconf-2.59/bin/autoscan.in | ||
60 | =================================================================== | ||
61 | --- autoconf-2.59.orig/bin/autoscan.in 2003-09-26 08:57:49.000000000 -0400 | ||
62 | +++ autoconf-2.59/bin/autoscan.in 2005-03-09 16:30:18.136483992 -0500 | ||
63 | @@ -1,4 +1,4 @@ | ||
64 | -#! @PERL@ -w | ||
65 | +#! @bindir@/env perl | ||
66 | # -*- perl -*- | ||
67 | # autoscan - Create configure.scan (a preliminary configure.ac) for a package. | ||
68 | # Copyright (C) 1994, 1999, 2000, 2001, 2002, 2003 | ||
69 | @@ -21,7 +21,9 @@ | ||
70 | |||
71 | # Written by David MacKenzie <djm@gnu.ai.mit.edu>. | ||
72 | |||
73 | -eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac' | ||
74 | +use warnings; | ||
75 | + | ||
76 | +eval 'case $# in 0) exec @bindir@/env perl -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac' | ||
77 | if 0; | ||
78 | |||
79 | BEGIN | ||
80 | Index: autoconf-2.59/bin/autoupdate.in | ||
81 | =================================================================== | ||
82 | --- autoconf-2.59.orig/bin/autoupdate.in 2003-08-27 07:26:32.000000000 -0400 | ||
83 | +++ autoconf-2.59/bin/autoupdate.in 2005-03-09 16:30:19.912214040 -0500 | ||
84 | @@ -1,4 +1,4 @@ | ||
85 | -#! @PERL@ -w | ||
86 | +#! @bindir@/env perl | ||
87 | # -*- perl -*- | ||
88 | # autoupdate - modernize an Autoconf file. | ||
89 | # Copyright (C) 1994, 1999, 2000, 2001, 2002, 2003 | ||
90 | @@ -22,7 +22,9 @@ | ||
91 | # Originally written by David MacKenzie <djm@gnu.ai.mit.edu>. | ||
92 | # Rewritten by Akim Demaille <akim@freefriends.org>. | ||
93 | |||
94 | -eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac' | ||
95 | +use warnings; | ||
96 | + | ||
97 | +eval 'case $# in 0) exec @bindir@/env perl -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac' | ||
98 | if 0; | ||
99 | |||
100 | BEGIN | ||
101 | @@ -54,7 +56,7 @@ | ||
102 | my @include = ('@datadir@'); | ||
103 | my $force = 0; | ||
104 | # m4. | ||
105 | -my $m4 = $ENV{"M4"} || '@M4@'; | ||
106 | +my $m4 = $ENV{"M4"} || '@bindir@/env m4'; | ||
107 | |||
108 | |||
109 | # $HELP | ||
110 | Index: autoconf-2.59/bin/ifnames.in | ||
111 | =================================================================== | ||
112 | --- autoconf-2.59.orig/bin/ifnames.in 2003-10-10 09:52:56.000000000 -0400 | ||
113 | +++ autoconf-2.59/bin/ifnames.in 2005-03-09 16:30:22.656796800 -0500 | ||
114 | @@ -1,8 +1,10 @@ | ||
115 | -#! @PERL@ -w | ||
116 | +#! @bindir@/env perl | ||
117 | # -*- perl -*- | ||
118 | # @configure_input@ | ||
119 | |||
120 | -eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac' | ||
121 | +use warnings; | ||
122 | + | ||
123 | +eval 'case $# in 0) exec @bindir@/env perl -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac' | ||
124 | if 0; | ||
125 | |||
126 | # ifnames - print the identifiers used in C preprocessor conditionals | ||