diff options
Diffstat (limited to 'meta-webserver/recipes-httpd/apache2/apache2-2.4.4/apache-configure_perlbin.patch')
-rw-r--r-- | meta-webserver/recipes-httpd/apache2/apache2-2.4.4/apache-configure_perlbin.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-webserver/recipes-httpd/apache2/apache2-2.4.4/apache-configure_perlbin.patch b/meta-webserver/recipes-httpd/apache2/apache2-2.4.4/apache-configure_perlbin.patch new file mode 100644 index 000000000..baa739fd4 --- /dev/null +++ b/meta-webserver/recipes-httpd/apache2/apache2-2.4.4/apache-configure_perlbin.patch | |||
@@ -0,0 +1,37 @@ | |||
1 | # Author: echo <fei.geng@windriver.com> | ||
2 | # Date: April 28 2009 | ||
3 | # Summary:Fix perl install directory to /usr/bin | ||
4 | # | ||
5 | # Upstream-Status: Inappropriate [configuration] | ||
6 | |||
7 | --- a/configure | ||
8 | +++ b/configure | ||
9 | @@ -22365,13 +22365,7 @@ | ||
10 | #define APACHE_MPM_DIR "$MPM_DIR" | ||
11 | _ACEOF | ||
12 | |||
13 | - | ||
14 | -perlbin=`$ac_aux_dir/PrintPath perl` | ||
15 | -if test "x$perlbin" = "x"; then | ||
16 | - perlbin="/replace/with/path/to/perl/interpreter" | ||
17 | -fi | ||
18 | - | ||
19 | - | ||
20 | +perlbin='/usr/bin/perl' | ||
21 | |||
22 | BSD_MAKEFILE=no | ||
23 | ap_make_include=include | ||
24 | --- a/configure.in | ||
25 | +++ b/configure.in | ||
26 | @@ -638,10 +638,7 @@ | ||
27 | AC_DEFINE_UNQUOTED(APACHE_MPM_DIR, "$MPM_DIR", | ||
28 | [Location of the source for the current MPM]) | ||
29 | |||
30 | -perlbin=`$ac_aux_dir/PrintPath perl` | ||
31 | -if test "x$perlbin" = "x"; then | ||
32 | - perlbin="/replace/with/path/to/perl/interpreter" | ||
33 | -fi | ||
34 | +perlbin='/usr/bin/perl' | ||
35 | AC_SUBST(perlbin) | ||
36 | |||
37 | dnl If we are running on BSD/OS, we need to use the BSD .include syntax. | ||