Merge bk://openembedded@openembedded.bkbits.net/packages
authorRene Wagner <rw@handhelds.org>
Wed, 18 Aug 2004 16:54:16 +0000 (16:54 +0000)
committerRene Wagner <rw@handhelds.org>
Wed, 18 Aug 2004 16:54:16 +0000 (16:54 +0000)
into sugarcube.dyndns.org:/home/oe/oe/packages

2004/08/18 18:54:05+02:00 dyndns.org!reenoo
package.oeclass: put locale packages in RRECOMMENDS, not RDEPENDS

BKrev: 412389b8ZB4QTvlgiKC7xHhBDpqfAg

classes/package.oeclass

index 907d737..36c4b1e 100644 (file)
@@ -558,9 +558,9 @@ python package_do_split_locales() {
 
        oe.data.setVar('PACKAGES', ' '.join(packages), d)
 
-       rdep = (oe.data.getVar('RDEPENDS_%s' % mainpkg, d, 1) or oe.data.getVar('RDEPENDS', d, 1) or "").split()
-       rdep.append('%s-locale*' % pn)
-       oe.data.setVar('RDEPENDS_%s' % mainpkg, ' '.join(rdep), d)
+       rrec = (oe.data.getVar('RRECOMMENDS_%s' % mainpkg, d, 1) or oe.data.getVar('RRECOMMENDS', d, 1) or "").split()
+       rrec.append('%s-locale*' % pn)
+       oe.data.setVar('RRECOMMENDS_%s' % mainpkg, ' '.join(rrec), d)
 }
 
 python package_do_package () {