rrdtool: fix compile error V2
PATCH 1/1 rrdtool: fix compile error V2
Since cpan.bbclass has evolved, the old wrapper simulation needs some adoption. Use as much as possible from cpan.bbclass instead of copying code from there.
Signed-off-by Jens Rehsack <[email protected]>
--- meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-)
meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb +3 -11
@@ -15,7 +15,7 @@ SRC_URI = "\ S = "${WORKDIR}/git" -inherit autotools-brokensep gettext pythonnative perlnative python-dir cpan-base systemd +inherit cpan autotools-brokensep gettext pythonnative python-dir systemd BBCLASSEXTEND = "native"
@@ -50,21 +50,13 @@ EXTRA_OECONF = " \ --disable-rpath \ " -# don't use perl.real, this results in break issues with prebuilts since perl.real doesn't -# know where the PERL5LIB is... -# use wrapper perl instead -EXTRA_OEMAKE = "PERL=${STAGING_BINDIR_NATIVE}/perl-native/perl FULLPERL=${STAGING_BINDIR_NATIVE}/perl-native/perl" - export BUILD_SYS export HOST_SYS export STAGING_LIBDIR export STAGING_INCDIR -# Env var which tells perl if it should use host (no) or target (yes) settings -export PERLCONFIGTARGET = "${@is_target(d)}" -export PERL_INC = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version(d)}/CORE" -export PERL_LIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version(d)}" -export PERL_ARCHLIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version(d)}" +# emulate cpan_do_configure +EXTRA_OEMAKE = ' PERL5LIB="${PERL_ARCHLIB}" ' do_configure() { #fix the pkglib problem with newer automake
Signature · 8 lines
1.9.1 This is a V2 after rebasing oe/master Error is here for a few days ... http://nopaste.linux-dev.org/?785761 -- Jens Rehsack - [email protected]
Quoted 3 lines · Jens Rehsack
Since cpan.bbclass has evolved, the old wrapper simulation needs some adoption. Use as much as possible from cpan.bbclass instead of copying code from there.
I've fixed the commit message, when cherry-picking to master-next, next time the "v2" belongs to [PATCHv2], not the commit summary.
Quoted 58 lines
Signed-off-by Jens Rehsack <[email protected]>--- meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-)meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb +3
-11@@ -15,7 +15,7 @@ SRC_URI = "\ S = "${WORKDIR}/git" -inherit autotools-brokensep gettext pythonnative perlnative python-dir cpan-base systemd +inherit cpan autotools-brokensep gettext pythonnative python-dir systemd BBCLASSEXTEND = "native"@@ -50,21 +50,13 @@ EXTRA_OECONF = " \ --disable-rpath \ " -# don't use perl.real, this results in break issues with prebuilts since perl.real doesn't -# know where the PERL5LIB is... -# use wrapper perl instead -EXTRA_OEMAKE = "PERL=${STAGING_BINDIR_NATIVE}/perl-native/perl FULLPERL=${STAGING_BINDIR_NATIVE}/perl-native/perl" - export BUILD_SYS export HOST_SYS export STAGING_LIBDIR export STAGING_INCDIR -# Env var which tells perl if it should use host (no) or target (yes) settings -export PERLCONFIGTARGET = "${@is_target(d)}" -export PERL_INC = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version(d)}/CORE" -export PERL_LIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version(d)}" -export PERL_ARCHLIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version(d)}" +# emulate cpan_do_configure +EXTRA_OEMAKE = ' PERL5LIB="${PERL_ARCHLIB}" ' do_configure() { #fix the pkglib problem with newer automakeSignature · 14 lines
1.9.1 This is a V2 after rebasing oe/master Error is here for a few days ... http://nopaste.linux-dev.org/?785761 -- Jens Rehsack - [email protected] -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]