blob: 61669e3641273c33ddba031f68c1eaaf7bd46434 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From 5412077c398dec74321388fe6e593a44c4c80de6 Mon Sep 17 00:00:00 2001
2From: echo <fei.geng@windriver.com>
3Date: Tue, 28 Apr 2009 03:11:06 +0000
4Subject: [PATCH] Fix perl install directory to /usr/bin
Patrick Williamsb48b7b42016-08-17 15:04:38 -05005
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08006Upstream-Status: Inappropriate [configuration]
7
Brad Bishopc342db32019-05-15 21:57:59 -04008Add back this patch. Without this patch, apxs's shebang will use
9perl under hosttools, which can be too long for shebang, and cause
10error:
11bad interpreter: No such file or directory
12
13Signed-off-by: Changqing Li <changqing.li@windriver.com>
14
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080015---
16 configure.in | 5 +----
17 1 file changed, 1 insertion(+), 4 deletions(-)
18
19diff --git a/configure.in b/configure.in
20index d828512..be7bd25 100644
21--- a/configure.in
22+++ b/configure.in
23@@ -855,10 +855,7 @@ AC_DEFINE_UNQUOTED(SERVER_CONFIG_FILE, "${rel_sysconfdir}/${progname}.conf",
Brad Bishop316dfdd2018-06-25 12:45:53 -040024 AC_DEFINE_UNQUOTED(AP_TYPES_CONFIG_FILE, "${rel_sysconfdir}/mime.types",
25 [Location of the MIME types config file, relative to the Apache root directory])
Patrick Williamsb48b7b42016-08-17 15:04:38 -050026
27-perlbin=`$ac_aux_dir/PrintPath perl`
28-if test "x$perlbin" = "x"; then
29- perlbin="/replace/with/path/to/perl/interpreter"
30-fi
31+perlbin='/usr/bin/perl'
32 AC_SUBST(perlbin)
33
34 dnl If we are running on BSD/OS, we need to use the BSD .include syntax.