[oe-commits] Otavio Salvador : perl: Remove bashism from perl-tests.inc
git at git.openembedded.org
git at git.openembedded.org
Mon Jan 7 22:40:13 UTC 2013
Module: openembedded-core.git
Branch: master
Commit: 8dd608dac1e5658197078d002dc1b3dc8ac83184
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=8dd608dac1e5658197078d002dc1b3dc8ac83184
Author: Otavio Salvador <otavio at ossystems.com.br>
Date: Mon Jan 7 19:42:39 2013 -0200
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.
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-devtools/perl/perl-tests.inc | 7 ++++---
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 c968eb6..e6de088 100644
--- a/meta/recipes-devtools/perl/perl-tests.inc
+++ b/meta/recipes-devtools/perl/perl-tests.inc
@@ -21,12 +21,13 @@ do_install_append () {
cp -pv lib/AnyDBM_File.t ${D}${libdir}/perl/${PV}/
mkdir -p ${D}${libdir}/perl/${PV}/XS
- cp -pv lib/XS/{APItest,Typemap}.pm ${D}${libdir}/perl/${PV}/XS/
+ cp -pv lib/XS/APItest.pm ${D}${libdir}/perl/${PV}/XS/
+ cp -pv lib/XS/Typemap.pm ${D}${libdir}/perl/${PV}/XS/
mkdir -p ${D}${libdir}/perl/${PV}/auto/XS/APItest
cp -pv lib/auto/XS/APItest/APItest.so ${D}${libdir}/perl/${PV}/auto/XS/APItest/
cp -pv lib/auto/XS/Typemap/Typemap.so ${D}${libdir}/perl/${PV}/auto/XS/Typemap/
-
- cp -pv cpan/Digest-MD5/{README,MD5.xs} ${D}${PERL_TEST_DIR}/cpan/Digest-MD5/
+ cp -pv cpan/Digest-MD5/README ${D}${PERL_TEST_DIR}/cpan/Digest-MD5/
+ cp -pv cpan/Digest-MD5/MD5.xs ${D}${PERL_TEST_DIR}/cpan/Digest-MD5/
}
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 8678e76..e62e8ec 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 \
# We need gnugrep (for -I)
DEPENDS = "virtual/db grep-native"
DEPENDS += "gdbm zlib"
-PR = "r16"
+PR = "r17"
# 5.10.1 has Module::Build built-in
PROVIDES += "libmodule-build-perl"
More information about the Openembedded-commits
mailing list