summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/autoconf/autoconf-2.65/path_prog_fixes.patch
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:14:24 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:29:45 +0100
commit29d6678fd546377459ef75cf54abeef5b969b5cf (patch)
tree8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-devtools/autoconf/autoconf-2.65/path_prog_fixes.patch
parentda49de6885ee1bc424e70bc02f21f6ab920efb55 (diff)
downloadpoky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/autoconf/autoconf-2.65/path_prog_fixes.patch')
-rw-r--r--meta/recipes-devtools/autoconf/autoconf-2.65/path_prog_fixes.patch126
1 files changed, 126 insertions, 0 deletions
diff --git a/meta/recipes-devtools/autoconf/autoconf-2.65/path_prog_fixes.patch b/meta/recipes-devtools/autoconf/autoconf-2.65/path_prog_fixes.patch
new file mode 100644
index 0000000000..5f0d055a48
--- /dev/null
+++ b/meta/recipes-devtools/autoconf/autoconf-2.65/path_prog_fixes.patch
@@ -0,0 +1,126 @@
1Index: 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'
16Index: 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";
42Index: 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
59Index: 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
80Index: 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
110Index: 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