[oe-commits] [meta-openembedded] 05/60: rrdtool: only unset PERLHOSTLIB in do_configure

git at git.openembedded.org git at git.openembedded.org
Wed Aug 17 18:06:46 UTC 2016


martin_jansa pushed a commit to branch krogoth-next
in repository meta-openembedded.

commit 502695511417cf678555507afecaf1f7c1ddc06c
Author: Robert Yang <liezhi.yang at windriver.com>
AuthorDate: Thu May 12 20:37:41 2016 -0700

    rrdtool: only unset PERLHOSTLIB in do_configure
    
    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 <liezhi.yang at windriver.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
    (cherry picked from commit daf619ec4cffab45f0137d02a770071643d10432)
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 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" \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list