Files
poky/meta/recipes-devtools/remake/remake_git.bb
Petter Mabäcker 1b01e392e1 remake: fix insufficient gettext dependency
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]

(From OE-Core rev: 4bd98157f1d7a96741d036e67b04819ccbc9a9c6)

Signed-off-by: Petter Mabäcker <petter@technux.se>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-24 11:35:36 +01:00

30 lines
942 B
BlitzBasic

PR = "r1"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
file://tests/COPYING;md5=d32239bcb673463ab874e80d47fae504 \
file://glob/COPYING.LIB;md5=4a770b67e6be0f60da244beb2de0fce4"
require remake.inc
SRC_URI += "file://version-remake.texi.patch"
SRCREV = "f05508e521987c8494c92d9c2871aec46307d51d"
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() {
# remove the default LINGUAS since we are not going to generate languages
rm ${S}/po/LINGUAS
touch ${S}/po/LINGUAS
# create config.rpath which required by configure.ac
( cd ${S}; autopoint || touch config.rpath )
}
BBCLASSEXTEND = "native"