diff options
author | Richard Purdie <richard@openedhand.com> | 2006-08-18 22:19:53 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-08-18 22:19:53 +0000 |
commit | 017f9dbb6b05db364e9e930f5e30b02f2053e00b (patch) | |
tree | 18c4c3fce84a64e7b1942bab7756d1d70f24a575 /meta/packages/perl/perl.inc | |
parent | 467265320c287ab20a302de1251afbc13b7d3ada (diff) | |
download | poky-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.inc | 8 |
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 | ||
47 | do_install() { | 47 | do_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 | ||
68 | PACKAGES = "perl perl-misc perl-lib perl-dev perl-pod" | 70 | PACKAGES = "perl-dbg perl perl-misc perl-lib perl-dev perl-pod" |
69 | FILES_${PN} = "/usr/bin/perl /usr/bin/perl${PV}" | 71 | FILES_${PN} = "/usr/bin/perl /usr/bin/perl${PV}" |
70 | FILES_${PN}-lib = "/usr/lib/libperl.so*" | 72 | FILES_${PN}-lib = "/usr/lib/libperl.so*" |
71 | FILES_${PN}-dev = "/usr/lib/perl5/${PV}/${TARGET_ARCH}-${TARGET_OS}/CORE/" | 73 | FILES_${PN}-dev = "/usr/lib/perl5/${PV}/${TARGET_ARCH}-${TARGET_OS}/CORE/" |
72 | FILES_${PN}-pod = "/usr/lib/perl5/${PV}/pod" | 74 | FILES_${PN}-pod = "/usr/lib/perl5/${PV}/pod" |
73 | FILES_perl-misc = "/usr/bin/" | 75 | FILES_perl-misc = "/usr/bin/*" |