Skip to contentSkip to conversation

remake: fix insufficient gettext dependency

PATCH New Petter Mabäcker 1 participant 2 messages Jul 20, 2013

lore
Share & tools
lore
#1 lore raw

PATCH 1/1 remake: fix insufficient gettext dependency

In reply to Petter Mabäcker

By default when inheriting gettext, "gettext-minimal-native" is added as a dependency for native. The bb-file for remake use 'autopoint' (not included in gettext-minimal-native). When building remake-native it will result in a failure in do_configure for all cases when gettext (or gettext-native) is not build from some other recipes, before building 'remake-native'.

This is solved by adding a build-dependency to gettext-native in remake-native.

Fixes [YOCTO #4385]

---
 meta/recipes-devtools/remake/remake_git.bb |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
meta/recipes-devtools/remake/remake_git.bb +5 -1
index 13d8ce9..405c69f 100644
@@ -1,4 +1,4 @@
-PR = "r0"
+PR = "r1"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
                     file://tests/COPYING;md5=d32239bcb673463ab874e80d47fae504 \
@@ -12,6 +12,10 @@ S = "${WORKDIR}/git"
 PV = "3.82+dbg-0.9+git${SRCPV}"
 
 DEPENDS += "readline"
+# Need to add "gettext-native" dependency to remake-native.
+# By default only "gettext-minimal-native" is added
+# when inherit gettext.
+DEPENDS_class-native += "gettext-native"
 PROVIDES += "make"
 
 do_configure_prepend() {
Signature · 1 line
1.7.9.5
#0 lore raw

cover remake: fix insufficient gettext dependency

The following changes since commit 3dee534f1e25109e0bdb681de0746c336f4b8840:

lib/oeqa: fix dependecy check (2013-07-16 10:04:17 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib petmab/bug/4385
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=petmab/bug/4385

Petter Mabäcker (1):
remake: fix insufficient gettext dependency

 meta/recipes-devtools/remake/remake_git.bb |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
Signature · 1 line
1.7.9.5