mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
rrdtool: fix compile error
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 <sno@netbsd.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
7e31db5a66
commit
c63423e305
@@ -15,7 +15,7 @@ SRC_URI = "\
|
|||||||
|
|
||||||
S = "${WORKDIR}/git"
|
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"
|
BBCLASSEXTEND = "native"
|
||||||
|
|
||||||
@@ -50,21 +50,13 @@ EXTRA_OECONF = " \
|
|||||||
--disable-rpath \
|
--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 BUILD_SYS
|
||||||
export HOST_SYS
|
export HOST_SYS
|
||||||
export STAGING_LIBDIR
|
export STAGING_LIBDIR
|
||||||
export STAGING_INCDIR
|
export STAGING_INCDIR
|
||||||
|
|
||||||
# Env var which tells perl if it should use host (no) or target (yes) settings
|
# emulate cpan_do_configure
|
||||||
export PERLCONFIGTARGET = "${@is_target(d)}"
|
EXTRA_OEMAKE = ' PERL5LIB="${PERL_ARCHLIB}" '
|
||||||
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)}"
|
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
#fix the pkglib problem with newer automake
|
#fix the pkglib problem with newer automake
|
||||||
|
|||||||
Reference in New Issue
Block a user