From a52f7cf2cc90d918e3250c410995dcc1f3bfd5ee Mon Sep 17 00:00:00 2001 From: Lianhao Lu Date: Fri, 18 May 2012 17:18:11 +0300 Subject: (libc-)package.bbclass: Added MLPREFIX to locale packages. Added multilib prefix to the locale related package names/dependencies. Signed-off-by: Lianhao Lu Signed-off-by: Richard Purdie --- meta/classes/libc-package.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta/classes/libc-package.bbclass') diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass index 57b6fd98f..10f5f8748 100644 --- a/meta/classes/libc-package.bbclass +++ b/meta/classes/libc-package.bbclass @@ -308,10 +308,10 @@ python package_do_split_gconvs () { pkgname = d.getVar('MLPREFIX') + 'locale-base-' + legitimize_package_name(name) d.setVar('ALLOW_EMPTY_%s' % pkgname, '1') d.setVar('PACKAGES', '%s %s' % (pkgname, d.getVar('PACKAGES', True))) - rprovides = ' virtual-locale-%s' % legitimize_package_name(name) + rprovides = ' %svirtual-locale-%s' % (mlprefix, legitimize_package_name(name)) m = re.match("(.*)_(.*)", name) if m: - rprovides += ' virtual-locale-%s' % m.group(1) + rprovides += ' %svirtual-locale-%s' % (mlprefix, m.group(1)) d.setVar('RPROVIDES_%s' % pkgname, rprovides) if use_bin == "compile": -- cgit v1.2.3