summaryrefslogtreecommitdiffstats
path: root/meta/packages/perl/perl.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-08-18 22:19:53 +0000
committerRichard Purdie <richard@openedhand.com>2006-08-18 22:19:53 +0000
commit017f9dbb6b05db364e9e930f5e30b02f2053e00b (patch)
tree18c4c3fce84a64e7b1942bab7756d1d70f24a575 /meta/packages/perl/perl.inc
parent467265320c287ab20a302de1251afbc13b7d3ada (diff)
downloadpoky-017f9dbb6b05db364e9e930f5e30b02f2053e00b.tar.gz
perl/perl-native: Sync with OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@618 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/perl/perl.inc')
-rw-r--r--meta/packages/perl/perl.inc8
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/packages/perl/perl.inc b/meta/packages/perl/perl.inc
index 52418903a2..a9a3d6b655 100644
--- a/meta/packages/perl/perl.inc
+++ b/meta/packages/perl/perl.inc
@@ -46,7 +46,9 @@ do_compile() {
46 46
47do_install() { 47do_install() {
48 oe_runmake install 48 oe_runmake install
49 mv ${D}/${libdir}/perl5/${PV}/${TARGET_ARCH}-${TARGET_OS}/CORE/libperl.so ${D}/${libdir}/libperl.so.${PV} 49 # Make sure the shared library is configured before trying to move it
50 grep -q "useshrplib='false'" ${S}/config.sh ||
51 mv ${D}/${libdir}/perl5/${PV}/${TARGET_ARCH}-${TARGET_OS}/CORE/libperl.so ${D}/${libdir}/libperl.so.${PV}
50 ( cd ${D}/usr/bin/; rm perl; ln -s perl${PV} perl ) 52 ( cd ${D}/usr/bin/; rm perl; ln -s perl${PV} perl )
51} 53}
52 54
@@ -65,9 +67,9 @@ python populate_packages_prepend () {
65 do_split_packages(d, libdir, '(.*)\.(pm|pl)', 'perl-module-%s', 'perl module %s', recursive=True, allow_dirs=False, match_path=True) 67 do_split_packages(d, libdir, '(.*)\.(pm|pl)', 'perl-module-%s', 'perl module %s', recursive=True, allow_dirs=False, match_path=True)
66} 68}
67 69
68PACKAGES = "perl perl-misc perl-lib perl-dev perl-pod" 70PACKAGES = "perl-dbg perl perl-misc perl-lib perl-dev perl-pod"
69FILES_${PN} = "/usr/bin/perl /usr/bin/perl${PV}" 71FILES_${PN} = "/usr/bin/perl /usr/bin/perl${PV}"
70FILES_${PN}-lib = "/usr/lib/libperl.so*" 72FILES_${PN}-lib = "/usr/lib/libperl.so*"
71FILES_${PN}-dev = "/usr/lib/perl5/${PV}/${TARGET_ARCH}-${TARGET_OS}/CORE/" 73FILES_${PN}-dev = "/usr/lib/perl5/${PV}/${TARGET_ARCH}-${TARGET_OS}/CORE/"
72FILES_${PN}-pod = "/usr/lib/perl5/${PV}/pod" 74FILES_${PN}-pod = "/usr/lib/perl5/${PV}/pod"
73FILES_perl-misc = "/usr/bin/" 75FILES_perl-misc = "/usr/bin/*"