summaryrefslogtreecommitdiffstats
path: root/meta-webserver
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2013-03-01 17:19:59 +0800
committerPaul Eggleton <paul.eggleton@linux.intel.com>2013-03-07 11:44:11 +0000
commit6c9ac38e8b998e6739383ba91e0c4e0c0ed0094b (patch)
treeacd14fe2b5207e64b271c15b1f45b437b4e6b4ae /meta-webserver
parent230e2171d07815f51d5b6d044627afa0ff13c5d4 (diff)
downloadmeta-openembedded-6c9ac38e8b998e6739383ba91e0c4e0c0ed0094b.tar.gz
modphp5: use ${baselib} instead of hardcoded "lib"
The hardcoded lib path will cause apache2 fail to start on the target with other baselib like lib64. Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Diffstat (limited to 'meta-webserver')
-rw-r--r--meta-webserver/recipes-php/modphp/modphp5.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-webserver/recipes-php/modphp/modphp5.inc b/meta-webserver/recipes-php/modphp/modphp5.inc
index 3302936df..c359ff9e9 100644
--- a/meta-webserver/recipes-php/modphp/modphp5.inc
+++ b/meta-webserver/recipes-php/modphp/modphp5.inc
@@ -67,6 +67,7 @@ do_install () {
67 install -d ${D}${sysconfdir}/apache2/modules.d 67 install -d ${D}${sysconfdir}/apache2/modules.d
68 install -d ${D}${sysconfdir}/php/apache2-php5 68 install -d ${D}${sysconfdir}/php/apache2-php5
69 install -m 755 libs/libphp5.so ${D}${libdir}/apache2/modules 69 install -m 755 libs/libphp5.so ${D}${libdir}/apache2/modules
70 sed -i s,lib/,${baselib}/, ${WORKDIR}/70_mod_php5.conf
70 install -m 644 ${WORKDIR}/70_mod_php5.conf ${D}${sysconfdir}/apache2/modules.d 71 install -m 644 ${WORKDIR}/70_mod_php5.conf ${D}${sysconfdir}/apache2/modules.d
71 cat ${S}/php.ini-production | \ 72 cat ${S}/php.ini-production | \
72 sed -e 's,extension_dir = \"\./\",extension_dir = \"/usr/lib/extensions\",' \ 73 sed -e 's,extension_dir = \"\./\",extension_dir = \"/usr/lib/extensions\",' \