diff options
author | Jens Rehsack <rehsack@gmail.com> | 2015-10-27 21:22:38 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-11-02 15:01:10 +0100 |
commit | c63423e305c0c68e2a9aa1ae2e7509352a85c871 (patch) | |
tree | f6a400f6e2ee2aeebb572809cc28a4ce40dafed8 /meta-oe/recipes-extended/rrdtool | |
parent | 7e31db5a66573ed0670414330344b38c90d8bad4 (diff) | |
download | meta-openembedded-c63423e305c0c68e2a9aa1ae2e7509352a85c871.tar.gz |
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>
Diffstat (limited to 'meta-oe/recipes-extended/rrdtool')
-rw-r--r-- | meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb | 14 |
1 files changed, 3 insertions, 11 deletions
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 2c81d5690..666ace92f 100644 --- a/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb +++ b/meta-oe/recipes-extended/rrdtool/rrdtool_1.5.4.bb | |||
@@ -15,7 +15,7 @@ SRC_URI = "\ | |||
15 | 15 | ||
16 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
17 | 17 | ||
18 | inherit autotools-brokensep gettext pythonnative perlnative python-dir cpan-base systemd | 18 | inherit cpan autotools-brokensep gettext pythonnative python-dir systemd |
19 | 19 | ||
20 | BBCLASSEXTEND = "native" | 20 | BBCLASSEXTEND = "native" |
21 | 21 | ||
@@ -50,21 +50,13 @@ EXTRA_OECONF = " \ | |||
50 | --disable-rpath \ | 50 | --disable-rpath \ |
51 | " | 51 | " |
52 | 52 | ||
53 | # don't use perl.real, this results in break issues with prebuilts since perl.real doesn't | ||
54 | # know where the PERL5LIB is... | ||
55 | # use wrapper perl instead | ||
56 | EXTRA_OEMAKE = "PERL=${STAGING_BINDIR_NATIVE}/perl-native/perl FULLPERL=${STAGING_BINDIR_NATIVE}/perl-native/perl" | ||
57 | |||
58 | export BUILD_SYS | 53 | export BUILD_SYS |
59 | export HOST_SYS | 54 | export HOST_SYS |
60 | export STAGING_LIBDIR | 55 | export STAGING_LIBDIR |
61 | export STAGING_INCDIR | 56 | export STAGING_INCDIR |
62 | 57 | ||
63 | # Env var which tells perl if it should use host (no) or target (yes) settings | 58 | # emulate cpan_do_configure |
64 | export PERLCONFIGTARGET = "${@is_target(d)}" | 59 | EXTRA_OEMAKE = ' PERL5LIB="${PERL_ARCHLIB}" ' |
65 | export PERL_INC = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version(d)}/CORE" | ||
66 | export PERL_LIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version(d)}" | ||
67 | export PERL_ARCHLIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version(d)}" | ||
68 | 60 | ||
69 | do_configure() { | 61 | do_configure() { |
70 | #fix the pkglib problem with newer automake | 62 | #fix the pkglib problem with newer automake |