summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl_5.14.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl/perl_5.14.2.bb')
-rw-r--r--meta/recipes-devtools/perl/perl_5.14.2.bb8
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.14.2.bb b/meta/recipes-devtools/perl/perl_5.14.2.bb
index 9681f5484a..dc45bca52e 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 = "r12" 10PR = "r13"
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"
@@ -214,6 +214,11 @@ do_install() {
214 214
215} 215}
216 216
217do_install_append_virtclass-nativesdk () {
218 create_wrapper ${D}${bindir}/perl \
219 PERL5LIB='$PERL5LIB:$OECORE_NATIVE_SYSROOT/${libdir_nativesdk}/perl:$OECORE_NATIVE_SYSROOT/${libdir_nativesdk}/perl/${PV}'
220}
221
217PACKAGE_PREPROCESS_FUNCS += "perl_package_preprocess" 222PACKAGE_PREPROCESS_FUNCS += "perl_package_preprocess"
218 223
219perl_package_preprocess () { 224perl_package_preprocess () {
@@ -253,6 +258,7 @@ FILES_${PN} = "${bindir}/perl ${bindir}/perl${PV} \
253 " 258 "
254RPROVIDES_${PN} += "perl-module-strict perl-module-vars perl-module-config perl-module-warnings \ 259RPROVIDES_${PN} += "perl-module-strict perl-module-vars perl-module-config perl-module-warnings \
255 perl-module-warnings-register" 260 perl-module-warnings-register"
261FILES_${PN}_append_virtclass-nativesdk = " ${bindir}/perl.real"
256FILES_${PN}-dev = "${libdir}/perl/${PV}/CORE" 262FILES_${PN}-dev = "${libdir}/perl/${PV}/CORE"
257FILES_${PN}-lib = "${libdir}/libperl.so* \ 263FILES_${PN}-lib = "${libdir}/libperl.so* \
258 ${libdir}/perl5 \ 264 ${libdir}/perl5 \