python-smartpm: add gettext-native to DEPENDS
PATCH v2 1/1 python-smartpm: add gettext-native to DEPENDS
Fixes the following failure at do_install building python-smartpm-native if gettext-native has not already been built and gettext tools are not installed on the host:
| compiling locale/it/LC_MESSAGES/smart.po -> locale/it/LC_MESSAGES/smart.mo | sh: msgfmt: command not found
...
| creating $D/usr/share/share/locale/it/LC_MESSAGES
| error: can't copy 'locale/it/LC_MESSAGES/smart.mo': doesn't exist or not a regular file
Note that we need gettext-native in DEPENDS and not "inherit gettext" here because for native variants, gettext.bbclass instead adds gettext-minimal-native to DEPENDS and that does not provide the msgfmt command.
Signed-off-by Paul Eggleton <[email protected]>
--- meta/recipes-devtools/python/python-smartpm_1.4.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/python/python-smartpm_1.4.1.bb +1 -1
@@ -8,7 +8,7 @@ SECTION = "devel/python" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://LICENSE;md5=393a5ca445f6965873eca0259a17f833" -DEPENDS = "python rpm" +DEPENDS = "python rpm gettext-native" PR = "r9" SRCNAME = "smart"
Signature · 1 line
1.8.1.2