diff options
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/perl/perl_5.14.2.bb | 8 |
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) |
8 | DEPENDS = "virtual/db grep-native" | 8 | DEPENDS = "virtual/db grep-native" |
9 | DEPENDS += "gdbm zlib" | 9 | DEPENDS += "gdbm zlib" |
10 | PR = "r12" | 10 | PR = "r13" |
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" |
@@ -214,6 +214,11 @@ do_install() { | |||
214 | 214 | ||
215 | } | 215 | } |
216 | 216 | ||
217 | do_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 | |||
217 | PACKAGE_PREPROCESS_FUNCS += "perl_package_preprocess" | 222 | PACKAGE_PREPROCESS_FUNCS += "perl_package_preprocess" |
218 | 223 | ||
219 | perl_package_preprocess () { | 224 | perl_package_preprocess () { |
@@ -253,6 +258,7 @@ FILES_${PN} = "${bindir}/perl ${bindir}/perl${PV} \ | |||
253 | " | 258 | " |
254 | RPROVIDES_${PN} += "perl-module-strict perl-module-vars perl-module-config perl-module-warnings \ | 259 | RPROVIDES_${PN} += "perl-module-strict perl-module-vars perl-module-config perl-module-warnings \ |
255 | perl-module-warnings-register" | 260 | perl-module-warnings-register" |
261 | FILES_${PN}_append_virtclass-nativesdk = " ${bindir}/perl.real" | ||
256 | FILES_${PN}-dev = "${libdir}/perl/${PV}/CORE" | 262 | FILES_${PN}-dev = "${libdir}/perl/${PV}/CORE" |
257 | FILES_${PN}-lib = "${libdir}/libperl.so* \ | 263 | FILES_${PN}-lib = "${libdir}/libperl.so* \ |
258 | ${libdir}/perl5 \ | 264 | ${libdir}/perl5 \ |