summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKang Kai <kai.kang@windriver.com>2013-01-16 17:54:42 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-16 11:57:30 +0000
commit7641301595c5082dc21948e6e77c03dc37a33f04 (patch)
tree216992409b569c35b336f41b57ac85f4eec3c4c8
parent9eb88ceb39b7d0b8ddc6487e61ce8edadef10ec4 (diff)
downloadpoky-7641301595c5082dc21948e6e77c03dc37a33f04.tar.gz
perl: fix installed but not shipped issue
It shows warning when bitbake perl: WARNING: QA Issue: perl: Files/directories were installed but not shipped /usr/lib/perl/5.14.2/auto/XS/Typemap That because file Typemap.so is not install correctly. Fix it. (From OE-Core rev: d4c3cc8cff9311ff873304410e3092921dbe6ddc) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/perl/perl-tests.inc1
-rw-r--r--meta/recipes-devtools/perl/perl_5.14.2.bb2
2 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/perl/perl-tests.inc b/meta/recipes-devtools/perl/perl-tests.inc
index e6de088769..b97b46781d 100644
--- a/meta/recipes-devtools/perl/perl-tests.inc
+++ b/meta/recipes-devtools/perl/perl-tests.inc
@@ -25,6 +25,7 @@ do_install_append () {
25 cp -pv lib/XS/Typemap.pm ${D}${libdir}/perl/${PV}/XS/ 25 cp -pv lib/XS/Typemap.pm ${D}${libdir}/perl/${PV}/XS/
26 mkdir -p ${D}${libdir}/perl/${PV}/auto/XS/APItest 26 mkdir -p ${D}${libdir}/perl/${PV}/auto/XS/APItest
27 cp -pv lib/auto/XS/APItest/APItest.so ${D}${libdir}/perl/${PV}/auto/XS/APItest/ 27 cp -pv lib/auto/XS/APItest/APItest.so ${D}${libdir}/perl/${PV}/auto/XS/APItest/
28 mkdir -p ${D}${libdir}/perl/${PV}/auto/XS/Typemap
28 cp -pv lib/auto/XS/Typemap/Typemap.so ${D}${libdir}/perl/${PV}/auto/XS/Typemap/ 29 cp -pv lib/auto/XS/Typemap/Typemap.so ${D}${libdir}/perl/${PV}/auto/XS/Typemap/
29 cp -pv cpan/Digest-MD5/README ${D}${PERL_TEST_DIR}/cpan/Digest-MD5/ 30 cp -pv cpan/Digest-MD5/README ${D}${PERL_TEST_DIR}/cpan/Digest-MD5/
30 cp -pv cpan/Digest-MD5/MD5.xs ${D}${PERL_TEST_DIR}/cpan/Digest-MD5/ 31 cp -pv cpan/Digest-MD5/MD5.xs ${D}${PERL_TEST_DIR}/cpan/Digest-MD5/
diff --git a/meta/recipes-devtools/perl/perl_5.14.2.bb b/meta/recipes-devtools/perl/perl_5.14.2.bb
index e62e8ec657..f924ebd6d0 100644
--- a/meta/recipes-devtools/perl/perl_5.14.2.bb
+++ b/meta/recipes-devtools/perl/perl_5.14.2.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \
7# We need gnugrep (for -I) 7# We need gnugrep (for -I)
8DEPENDS = "virtual/db grep-native" 8DEPENDS = "virtual/db grep-native"
9DEPENDS += "gdbm zlib" 9DEPENDS += "gdbm zlib"
10PR = "r17" 10PR = "r18"
11 11
12# 5.10.1 has Module::Build built-in 12# 5.10.1 has Module::Build built-in
13PROVIDES += "libmodule-build-perl" 13PROVIDES += "libmodule-build-perl"