diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2013-01-07 19:42:39 -0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-07 22:37:37 +0000 |
commit | 7e1f8faad0c4b6f490c26f87acc698dd6e002b15 (patch) | |
tree | aaf23a15b846a97b8293b6cf9c0357d8cb7b1fae /meta/recipes-devtools/perl | |
parent | 691a830b93358b78e5411bdaa694bab32166f56f (diff) | |
download | poky-7e1f8faad0c4b6f490c26f87acc698dd6e002b15.tar.gz |
perl: Remove bashism from perl-tests.inc
The perl-tests.inc file where using the constructs:
cp {a,b} to/
but this is not supported in every shell so we cannot use it. This
patch fixes it.
(From OE-Core rev: 8dd608dac1e5658197078d002dc1b3dc8ac83184)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl')
-rw-r--r-- | meta/recipes-devtools/perl/perl-tests.inc | 7 | ||||
-rw-r--r-- | meta/recipes-devtools/perl/perl_5.14.2.bb | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/meta/recipes-devtools/perl/perl-tests.inc b/meta/recipes-devtools/perl/perl-tests.inc index c968eb645b..e6de088769 100644 --- a/meta/recipes-devtools/perl/perl-tests.inc +++ b/meta/recipes-devtools/perl/perl-tests.inc | |||
@@ -21,12 +21,13 @@ do_install_append () { | |||
21 | cp -pv lib/AnyDBM_File.t ${D}${libdir}/perl/${PV}/ | 21 | cp -pv lib/AnyDBM_File.t ${D}${libdir}/perl/${PV}/ |
22 | 22 | ||
23 | mkdir -p ${D}${libdir}/perl/${PV}/XS | 23 | mkdir -p ${D}${libdir}/perl/${PV}/XS |
24 | cp -pv lib/XS/{APItest,Typemap}.pm ${D}${libdir}/perl/${PV}/XS/ | 24 | cp -pv lib/XS/APItest.pm ${D}${libdir}/perl/${PV}/XS/ |
25 | cp -pv lib/XS/Typemap.pm ${D}${libdir}/perl/${PV}/XS/ | ||
25 | mkdir -p ${D}${libdir}/perl/${PV}/auto/XS/APItest | 26 | mkdir -p ${D}${libdir}/perl/${PV}/auto/XS/APItest |
26 | 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/ |
27 | cp -pv lib/auto/XS/Typemap/Typemap.so ${D}${libdir}/perl/${PV}/auto/XS/Typemap/ | 28 | cp -pv lib/auto/XS/Typemap/Typemap.so ${D}${libdir}/perl/${PV}/auto/XS/Typemap/ |
28 | 29 | cp -pv cpan/Digest-MD5/README ${D}${PERL_TEST_DIR}/cpan/Digest-MD5/ | |
29 | cp -pv cpan/Digest-MD5/{README,MD5.xs} ${D}${PERL_TEST_DIR}/cpan/Digest-MD5/ | 30 | cp -pv cpan/Digest-MD5/MD5.xs ${D}${PERL_TEST_DIR}/cpan/Digest-MD5/ |
30 | } | 31 | } |
31 | 32 | ||
32 | FILES_${PN}-tests = "${PERL_TEST_DIR} \ | 33 | FILES_${PN}-tests = "${PERL_TEST_DIR} \ |
diff --git a/meta/recipes-devtools/perl/perl_5.14.2.bb b/meta/recipes-devtools/perl/perl_5.14.2.bb index 8678e76dec..e62e8ec657 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) |
8 | DEPENDS = "virtual/db grep-native" | 8 | DEPENDS = "virtual/db grep-native" |
9 | DEPENDS += "gdbm zlib" | 9 | DEPENDS += "gdbm zlib" |
10 | PR = "r16" | 10 | PR = "r17" |
11 | 11 | ||
12 | # 5.10.1 has Module::Build built-in | 12 | # 5.10.1 has Module::Build built-in |
13 | PROVIDES += "libmodule-build-perl" | 13 | PROVIDES += "libmodule-build-perl" |