Patchwork [2/4] pango: fix postinstall when using multilib

login
register
mail settings
Submitter Laurentiu Palcu
Date April 25, 2013, 12:23 p.m.
Message ID <42ef66d4ddff147513bcc9bdf49814be94551650.1366892003.git.laurentiu.palcu@intel.com>
Download mbox | patch
Permalink /patch/48875/
State Accepted
Commit 8f32a0fa03430f2b54d1519a1713643b20dd7518
Headers show

Comments

Laurentiu Palcu - April 25, 2013, 12:23 p.m.
The pango-query-modules binary gets a multilib prefix and the
postinstall has to call the appropriate binary.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
---
 meta/recipes-graphics/pango/pango.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-graphics/pango/pango.inc b/meta/recipes-graphics/pango/pango.inc
index f622903..52dd064 100644
--- a/meta/recipes-graphics/pango/pango.inc
+++ b/meta/recipes-graphics/pango/pango.inc
@@ -49,7 +49,7 @@  if ! [ -e $D${sysconfdir}/pango ] ; then
 fi
 
 if [ "x$D" != "x" ]; then
-	${@qemu_run_binary(d, '$D','/usr/bin/pango-querymodules')} \
+	${@qemu_run_binary(d, '$D','${bindir}/${MLPREFIX}pango-querymodules')} \
 		$D${libdir}/pango/${LIBV}/modules/*.so \
 		> $D${sysconfdir}/pango/${MLPREFIX}pango.modules 2>/dev/null