Return-Path: Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by mail.openembedded.org (Postfix) with ESMTP id 96F186E681 for ; Fri, 13 May 2016 03:37:18 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail1.windriver.com (8.15.2/8.15.1) with ESMTPS id u4D3bIhk000016 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Thu, 12 May 2016 20:37:19 -0700 (PDT) Received: from ala-blade47.wrs.com (147.11.105.67) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.3.248.2; Thu, 12 May 2016 20:37:18 -0700 From: Robert Yang To: Date: Thu, 12 May 2016 20:37:18 -0700 Message-ID: <1463110638-35447-1-git-send-email-liezhi.yang@windriver.com> X-Mailer: git-send-email 2.8.0 MIME-Version: 1.0 Subject: [meta-oe] [PATCH V2] rrdtool: only unset PERLHOSTLIB in do_configure 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: Fri, 13 May 2016 03:37:21 -0000 Content-Type: text/plain The do_compile requires it, otherwise it can't find the native module correctly when perl-native is mirrored from another build. Fixed: | Compilation failed in require. | BEGIN failed--compilation aborted. | Can't locate loadable object for module File::Glob in @INC Signed-off-by: Robert Yang --- meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb b/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb index 216aafc..73a5d0e 100644 --- a/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb +++ b/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb @@ -58,9 +58,9 @@ export STAGING_INCDIR # emulate cpan_do_configure EXTRA_OEMAKE = ' PERL5LIB="${PERL_ARCHLIB}" ' # Avoid do_configure error on some hosts -export PERLHOSTLIB = "" do_configure() { + unset PERLHOSTLIB #fix the pkglib problem with newer automake #perl sed -i -e "s|-Wl,--rpath -Wl,\$rp||g" \ -- 2.8.0