From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by mail.openembedded.org (Postfix) with ESMTP id 8680E7839C for ; Wed, 14 Jun 2017 14:42:47 +0000 (UTC) Received: from ALA-HCB.corp.ad.wrs.com (ala-hcb.corp.ad.wrs.com [147.11.189.41]) by mail1.windriver.com (8.15.2/8.15.1) with ESMTPS id v5EEglWH009347 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Wed, 14 Jun 2017 07:42:48 -0700 (PDT) Received: from yow-rmacleod-lx3.wrs.com (128.224.56.85) by ALA-HCB.corp.ad.wrs.com (147.11.189.41) with Microsoft SMTP Server id 14.3.294.0; Wed, 14 Jun 2017 07:42:47 -0700 From: Randy MacLeod To: Date: Wed, 14 Jun 2017 10:34:50 -0400 Message-ID: <20170614143450.24687-1-Randy.MacLeod@windriver.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Subject: [meta-oe][V2a patch] rrdtool: allow configuration to disable nls X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jun 2017 14:42:47 -0000 Content-Type: text/plain 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 --- meta-oe/recipes-extended/rrdtool/rrdtool_1.6.0.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 db2df28a0..3ccefb995 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" SYSTEMD_PACKAGES = "rrdcached" SYSTEMD_SERVICE_rrdcached = "rrdcached.socket rrdcached.service" -EXTRA_AUTORECONF = "-I m4" +EXTRA_AUTORECONF = "-I m4 --exclude=autopoint" PACKAGECONFIG ??= "python perl ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" @@ -49,6 +49,7 @@ EXTRA_OECONF = " \ --disable-lua \ --disable-tcl \ --disable-rpath \ + --enable-nls=${USE_NLS} \ " export STAGING_LIBDIR -- 2.11.0