|
| 1 | +From: Jan Kloetzke < [email protected]> |
| 2 | +Subject: [PATCH] Remove absolute perl path |
| 3 | + |
| 4 | +The variaous autoconf scipts contain the trick that let's them execute |
| 5 | +even if they are interpreted by the shell. This line has the full path |
| 6 | +to perl which will not be correct in Bobs environment. As it is |
| 7 | +unneeded in the first place, just remove it. |
| 8 | + |
| 9 | +diff -Nurp a/bin/autoconf.in b/bin/autoconf.in |
| 10 | +--- a/bin/autoconf.in 2025-09-12 11:22:28.208013268 +0200 |
| 11 | ++++ b/bin/autoconf.in 2025-09-12 15:37:32.333735416 +0200 |
| 12 | +@@ -2,9 +2,6 @@ |
| 13 | + # -*- Perl -*- |
| 14 | + # @configure_input@ |
| 15 | + |
| 16 | +-eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac' |
| 17 | +- if 0; |
| 18 | +- |
| 19 | + # autoconf -- create 'configure' using m4 macros. |
| 20 | + |
| 21 | + # Copyright (C) 1992-1994, 1996, 1999-2017, 2020-2023 Free Software |
| 22 | +diff -Nurp a/bin/autoheader.in b/bin/autoheader.in |
| 23 | +--- a/bin/autoheader.in 2025-09-12 11:22:28.208013268 +0200 |
| 24 | ++++ b/bin/autoheader.in 2025-09-12 15:37:35.989891503 +0200 |
| 25 | +@@ -2,9 +2,6 @@ |
| 26 | + # -*- Perl -*- |
| 27 | + # @configure_input@ |
| 28 | + |
| 29 | +-eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac' |
| 30 | +- if 0; |
| 31 | +- |
| 32 | + # autoheader -- create 'config.h.in' from 'configure.ac'. |
| 33 | + |
| 34 | + # Copyright (C) 1992-1994, 1996, 1998-2017, 2020-2023 Free Software |
| 35 | +diff -Nurp a/bin/autom4te.in b/bin/autom4te.in |
| 36 | +--- a/bin/autom4te.in 2025-09-12 11:22:28.212013444 +0200 |
| 37 | ++++ b/bin/autom4te.in 2025-09-12 15:37:39.382036313 +0200 |
| 38 | +@@ -2,9 +2,6 @@ |
| 39 | + # -*- perl -*- |
| 40 | + # @configure_input@ |
| 41 | + |
| 42 | +-eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac' |
| 43 | +- if 0; |
| 44 | +- |
| 45 | + # autom4te - Wrapper around M4 libraries. |
| 46 | + # Copyright (C) 2001-2003, 2005-2017, 2020-2023 Free Software |
| 47 | + # Foundation, Inc. |
| 48 | +diff -Nurp a/bin/autoreconf.in b/bin/autoreconf.in |
| 49 | +--- a/bin/autoreconf.in 2025-09-12 11:22:28.212013444 +0200 |
| 50 | ++++ b/bin/autoreconf.in 2025-09-12 15:37:44.074236624 +0200 |
| 51 | +@@ -2,9 +2,6 @@ |
| 52 | + # -*- perl -*- |
| 53 | + # @configure_input@ |
| 54 | + |
| 55 | +-eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac' |
| 56 | +- if 0; |
| 57 | +- |
| 58 | + # autoreconf - install the GNU Build System in a directory tree |
| 59 | + # Copyright (C) 1994, 1999-2017, 2020-2023 Free Software Foundation, |
| 60 | + # Inc. |
| 61 | +diff -Nurp a/bin/autoscan.in b/bin/autoscan.in |
| 62 | +--- a/bin/autoscan.in 2025-09-12 11:22:28.212013444 +0200 |
| 63 | ++++ b/bin/autoscan.in 2025-09-12 15:38:05.559153749 +0200 |
| 64 | +@@ -21,9 +21,6 @@ |
| 65 | + |
| 66 | + # Written by David MacKenzie < [email protected]>. |
| 67 | + |
| 68 | +-eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac' |
| 69 | +- if 0; |
| 70 | +- |
| 71 | + use 5.006; |
| 72 | + use strict; |
| 73 | + use warnings FATAL => 'all'; |
| 74 | +diff -Nurp a/bin/autoupdate.in b/bin/autoupdate.in |
| 75 | +--- a/bin/autoupdate.in 2025-09-12 11:22:28.212013444 +0200 |
| 76 | ++++ b/bin/autoupdate.in 2025-09-12 15:38:05.683159042 +0200 |
| 77 | +@@ -22,9 +22,6 @@ |
| 78 | + # Originally written by David MacKenzie < [email protected]>. |
| 79 | + # Rewritten by Akim Demaille < [email protected]>. |
| 80 | + |
| 81 | +-eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac' |
| 82 | +- if 0; |
| 83 | +- |
| 84 | + use 5.006; |
| 85 | + use strict; |
| 86 | + use warnings FATAL => 'all'; |
| 87 | +diff -Nurp a/bin/ifnames.in b/bin/ifnames.in |
| 88 | +--- a/bin/ifnames.in 2025-09-12 11:22:28.212013444 +0200 |
| 89 | ++++ b/bin/ifnames.in 2025-09-12 15:38:05.735161261 +0200 |
| 90 | +@@ -2,9 +2,6 @@ |
| 91 | + # -*- perl -*- |
| 92 | + # @configure_input@ |
| 93 | + |
| 94 | +-eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac' |
| 95 | +- if 0; |
| 96 | +- |
| 97 | + # ifnames - print the identifiers used in C preprocessor conditionals |
| 98 | + |
| 99 | + # Copyright (C) 1994-1995, 1999-2003, 2005-2017, 2020-2023 Free Software |
0 commit comments