aboutsummaryrefslogtreecommitdiffstats
path: root/meta-webserver/recipes-httpd/apache2/apache2-2.4.3/apache-configure_perlbin.patch
blob: baa739fd447966c88c4374211743c95284e287c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Author: echo <fei.geng@windriver.com>
# Date: April 28 2009
# Summary:Fix perl install directory to /usr/bin
#
# Upstream-Status: Inappropriate [configuration]

--- a/configure
+++ b/configure
@@ -22365,13 +22365,7 @@
 #define APACHE_MPM_DIR "$MPM_DIR"
 _ACEOF

-
-perlbin=`$ac_aux_dir/PrintPath perl`
-if test "x$perlbin" = "x"; then
-    perlbin="/replace/with/path/to/perl/interpreter"
-fi
-
-
+perlbin='/usr/bin/perl'

 BSD_MAKEFILE=no
 ap_make_include=include
--- a/configure.in
+++ b/configure.in
@@ -638,10 +638,7 @@
 AC_DEFINE_UNQUOTED(APACHE_MPM_DIR, "$MPM_DIR",
 	[Location of the source for the current MPM])
 
-perlbin=`$ac_aux_dir/PrintPath perl`
-if test "x$perlbin" = "x"; then
-    perlbin="/replace/with/path/to/perl/interpreter"
-fi
+perlbin='/usr/bin/perl'
 AC_SUBST(perlbin)
 
 dnl If we are running on BSD/OS, we need to use the BSD .include syntax.