From: Tom Zanussi Date: Wed, 27 Jun 2012 15:38:20 +0000 (-0500) Subject: perl: keep original libperl location X-Git-Tag: rev_ivi_2015_02_04~16627 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bfd344a2ab0020b91453332d4d9c5fbb9a56e4a2;p=scm%2Fbb%2Ftizen-distro.git perl: keep original libperl location Things like ExtTools expect to find libperl at the original (${libdir}/perl/${PV}/CORE/libperl.so) location, so keep it there but symlink to it for the original (?) reason. (From OE-Core rev: deb5d5ededfc404f4c54b18f3dcf8192e1c835e0) Signed-off-by: Tom Zanussi Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/perl/perl_5.14.2.bb b/meta/recipes-devtools/perl/perl_5.14.2.bb index 2452a44..a50fedb 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 = "r7" +PR = "r8" # 5.10.1 has Module::Build built-in PROVIDES += "libmodule-build-perl" @@ -200,6 +200,7 @@ do_install() { # Fix up shared library mv ${D}/${libdir}/perl/${PV}/CORE/libperl.so ${D}/${libdir}/libperl.so.${PV} ln -sf libperl.so.${PV} ${D}/${libdir}/libperl.so.5 + ln -sf ../../../libperl.so.${PV} ${D}/${libdir}/perl/${PV}/CORE/libperl.so # target config, used by cpan.bbclass to extract version information install config.sh ${D}${libdir}/perl