All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-webserver][PATCH] modphp5: use ${baselib} instead of hardcoded "lib"
@ 2013-03-01  9:19 jackie.huang
  2013-03-01 10:09 ` Martin Jansa
  2013-03-07 11:47 ` Paul Eggleton
  0 siblings, 2 replies; 3+ messages in thread
From: jackie.huang @ 2013-03-01  9:19 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Jackie.Huang, Zhenfeng.Zhao

From: Jackie Huang <jackie.huang@windriver.com>

[ CQID: WIND00405358 ]

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>
---
 meta-webserver/recipes-php/modphp/modphp5.inc |    1 +
 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 3302936..c359ff9 100644
--- a/meta-webserver/recipes-php/modphp/modphp5.inc
+++ b/meta-webserver/recipes-php/modphp/modphp5.inc
@@ -67,6 +67,7 @@ do_install  () {
 	install -d ${D}${sysconfdir}/apache2/modules.d
 	install -d ${D}${sysconfdir}/php/apache2-php5
 	install -m 755  libs/libphp5.so ${D}${libdir}/apache2/modules
+	sed -i s,lib/,${baselib}/, ${WORKDIR}/70_mod_php5.conf
 	install -m 644  ${WORKDIR}/70_mod_php5.conf ${D}${sysconfdir}/apache2/modules.d
 	cat ${S}/php.ini-production | \
 		sed -e 's,extension_dir = \"\./\",extension_dir = \"/usr/lib/extensions\",' \
-- 
1.7.4.1




^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-07 12:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-01  9:19 [meta-webserver][PATCH] modphp5: use ${baselib} instead of hardcoded "lib" jackie.huang
2013-03-01 10:09 ` Martin Jansa
2013-03-07 11:47 ` Paul Eggleton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.