From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mail.openembedded.org (Postfix) with ESMTP id 9BD0678515 for ; Tue, 15 Aug 2017 21:43:39 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.15.2/8.15.1) with ESMTPS id v7FLhcst011640 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 15 Aug 2017 14:43:38 -0700 (PDT) Received: from msp-lpggp1.wrs.com (172.25.34.110) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.3.361.1; Tue, 15 Aug 2017 14:43:38 -0700 From: Mark Hatle To: Date: Tue, 15 Aug 2017 16:41:54 -0500 Message-ID: <1502833317-48183-4-git-send-email-mark.hatle@windriver.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1502833317-48183-1-git-send-email-mark.hatle@windriver.com> References: <1502833317-48183-1-git-send-email-mark.hatle@windriver.com> MIME-Version: 1.0 Cc: peter.kjellerstedt@axis.com Subject: [PATCH 3/6 v2] texinfo: Avoid a problem with a dependency on perl(Locale::gettext_xs) X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Aug 2017 21:43:39 -0000 Content-Type: text/plain From: Peter Kjellerstedt We do not build the Locale::gettext_xs Perl module and the code will test for it and happily use Locale::gettext_pp instead if it is not found. However, this still causes a file dependency on perl(Locale::gettext_xs) to be generated, which must be satisfied by adding an explicit provide for it. Signed-off-by: Peter Kjellerstedt Signed-off-by: Mark Hatle --- meta/recipes-extended/texinfo/texinfo_6.3.bb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meta/recipes-extended/texinfo/texinfo_6.3.bb b/meta/recipes-extended/texinfo/texinfo_6.3.bb index d82731e..f58df92 100644 --- a/meta/recipes-extended/texinfo/texinfo_6.3.bb +++ b/meta/recipes-extended/texinfo/texinfo_6.3.bb @@ -79,4 +79,10 @@ FILES_${PN}-doc = "${infodir}/texinfo* \ ${datadir}/${tex_texinfo} \ ${mandir}/man1 ${mandir}/man5" +# Lie about providing the Locale::gettext_xs module. It is not actually built, +# but the code will test for it and if not found use Locale::gettext_pp instead. +# However, this causes a file dependency on perl(Locale::gettext_xs) to be +# generated, which must be satisfied. +RPROVIDES_${PN} += "perl(Locale::gettext_xs)" + BBCLASSEXTEND = "native nativesdk" -- 1.8.3.1