diff options
author | Randy MacLeod <randy.macleod@windriver.com> | 2017-06-15 19:47:24 -0400 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-06-19 19:30:40 +0200 |
commit | 0ec8bc87066e30177c8b64b45967a3268320aeba (patch) | |
tree | 39027a6561042d081234d90989e9308c9e544a49 /meta-oe/recipes-extended | |
parent | 00f1cc1a85ee736773442cd82f3225ff9f731e8c (diff) | |
download | meta-openembedded-0ec8bc87066e30177c8b64b45967a3268320aeba.tar.gz |
rrdtool: allow configuration to disable nls
When building rrdtool for a 'tiny' distro, that does not have native
language support (NLS) in glibc, configure fails with the error:
autoreconf: failed to run autopoint: No such file or directory
Autopoint is part of gettext but without NLS support we populate the
sysroot with gettext-minimal-native rather then the full set of
gettext executables. This version does not install autopoint, nor
should it.
Tell autoreconf to skip the check for the autopoint script
regardless of NLS support and use the USE_NLS varible
to conditionally enable NLS support.
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended')
-rw-r--r-- | meta-oe/recipes-extended/rrdtool/rrdtool_1.6.0.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/recipes-extended/rrdtool/rrdtool_1.6.0.bb b/meta-oe/recipes-extended/rrdtool/rrdtool_1.6.0.bb index a3aac45dd..797bcaaee 100644 --- a/meta-oe/recipes-extended/rrdtool/rrdtool_1.6.0.bb +++ b/meta-oe/recipes-extended/rrdtool/rrdtool_1.6.0.bb | |||
@@ -22,7 +22,7 @@ BBCLASSEXTEND = "native" | |||
22 | SYSTEMD_PACKAGES = "rrdcached" | 22 | SYSTEMD_PACKAGES = "rrdcached" |
23 | SYSTEMD_SERVICE_rrdcached = "rrdcached.socket rrdcached.service" | 23 | SYSTEMD_SERVICE_rrdcached = "rrdcached.socket rrdcached.service" |
24 | 24 | ||
25 | EXTRA_AUTORECONF = "-I m4" | 25 | EXTRA_AUTORECONF = "-I m4 --exclude=autopoint" |
26 | 26 | ||
27 | PACKAGECONFIG ??= "python perl ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" | 27 | PACKAGECONFIG ??= "python perl ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" |
28 | 28 | ||
@@ -49,6 +49,7 @@ EXTRA_OECONF = " \ | |||
49 | --disable-lua \ | 49 | --disable-lua \ |
50 | --disable-tcl \ | 50 | --disable-tcl \ |
51 | --disable-rpath \ | 51 | --disable-rpath \ |
52 | --enable-nls=${USE_NLS} \ | ||
52 | " | 53 | " |
53 | 54 | ||
54 | export STAGING_LIBDIR | 55 | export STAGING_LIBDIR |