summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/perl/perl_5.14.2.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.14.2.bb b/meta/recipes-devtools/perl/perl_5.14.2.bb
index 0abefe4150..6703b5cb3b 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 = "r2" 10PR = "r3"
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"
@@ -190,8 +190,10 @@ do_install() {
190 190
191 ln -sf perl ${D}/${libdir}/perl5 191 ln -sf perl ${D}/${libdir}/perl5
192 192
193 # Remove unwanted file 193 # Remove unwanted file and empty directories
194 rm -f ${D}/${libdir}/perl/${PV}/.packlist 194 rm -f ${D}/${libdir}/perl/${PV}/.packlist
195 rmdir ${D}/${libdir}/perl/site_perl/${PV}
196 rmdir ${D}/${libdir}/perl/site_perl
195 197
196 # Fix up shared library 198 # Fix up shared library
197 mv ${D}/${libdir}/perl/${PV}/CORE/libperl.so ${D}/${libdir}/libperl.so.${PV} 199 mv ${D}/${libdir}/perl/${PV}/CORE/libperl.so ${D}/${libdir}/libperl.so.${PV}