summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-01 23:18:29 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-01 23:20:47 +0000
commitc7c4c6678b64192eb5eccc8c1385b6d9262f8df7 (patch)
treeedf96ce49f16838194e8f6d80c00631eb8adaa9f /meta/recipes-devtools/perl
parent4c8f498624c81d6f9f5361975c9c1250fb2fc477 (diff)
downloadpoky-c7c4c6678b64192eb5eccc8c1385b6d9262f8df7.tar.gz
Revert "perl-native: Update for userelocatableinc and non-shared libperl"
This reverts commit fe59ca31ac267ecd2dc3a8f2fb9ad5297b88f62c. This broke builds for various people as reported in the bugzilla and on the mailing list so we're reverting the change until Tom has a chance to make it work properly for 5.12 (5.10 seems to work differently). The DEPENDS change is left in since that part was valid.
Diffstat (limited to 'meta/recipes-devtools/perl')
-rw-r--r--meta/recipes-devtools/perl/perl-native_5.12.2.bb24
1 files changed, 9 insertions, 15 deletions
diff --git a/meta/recipes-devtools/perl/perl-native_5.12.2.bb b/meta/recipes-devtools/perl/perl-native_5.12.2.bb
index a634da5c23..fe8dbaaff0 100644
--- a/meta/recipes-devtools/perl/perl-native_5.12.2.bb
+++ b/meta/recipes-devtools/perl/perl-native_5.12.2.bb
@@ -4,7 +4,7 @@ SECTION = "libs"
4LICENSE = "Artistic|GPL" 4LICENSE = "Artistic|GPL"
5LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \ 5LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \
6 file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8" 6 file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8"
7PR = "r3" 7PR = "r4"
8 8
9LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \ 9LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \
10 file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8" 10 file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8"
@@ -28,21 +28,19 @@ do_configure () {
28 -Dcflags="${CFLAGS}" \ 28 -Dcflags="${CFLAGS}" \
29 -Dldflags="${LDFLAGS}" \ 29 -Dldflags="${LDFLAGS}" \
30 -Dcf_by="Open Embedded" \ 30 -Dcf_by="Open Embedded" \
31 \
32 -Dprefix=${prefix} \ 31 -Dprefix=${prefix} \
33 -Dvendorprefix=${prefix} \ 32 -Dvendorprefix=${prefix} \
34 -Dvendorprefix=${prefix} \ 33 -Dvendorprefix=${prefix} \
35 -Dsiteprefix=${prefix} \ 34 -Dsiteprefix=${prefix} \
36 \ 35 \
37 -Dprivlib=.../../lib/perl/${PV} \ 36 -Dprivlib=${STAGING_LIBDIR}/perl/${PV} \
38 -Darchlib=.../../lib/perl/${PV} \ 37 -Darchlib=${STAGING_LIBDIR}/perl/${PV} \
39 -Dvendorlib=.../../lib/perl/${PV} \ 38 -Dvendorlib=${STAGING_LIBDIR}/perl/${PV} \
40 -Dvendorarch=.../../lib/perl/${PV} \ 39 -Dvendorarch=${STAGING_LIBDIR}/perl/${PV} \
41 -Dsitelib=.../../lib/perl/${PV} \ 40 -Dsitelib=${STAGING_LIBDIR}/perl/${PV} \
42 -Dsitearch=.../../lib/perl/${PV} \ 41 -Dsitearch=${STAGING_LIBDIR}/perl/${PV} \
43 -Duserelocatableinc="y" \
44 \ 42 \
45 -Uuseshrplib \ 43 -Duseshrplib \
46 -Dusethreads \ 44 -Dusethreads \
47 -Duseithreads \ 45 -Duseithreads \
48 -Duselargefiles \ 46 -Duselargefiles \
@@ -90,12 +88,8 @@ do_install () {
90 install $i ${D}${libdir}/perl/${PV}/CORE 88 install $i ${D}${libdir}/perl/${PV}/CORE
91 done 89 done
92 90
93 # Make sure we use /usr/bin/env perl 91 create_wrapper ${D}${bindir}/perl PERL5LIB='$PERL5LIB:${STAGING_LIBDIR}/perl/5.12.2:${STAGING_LIBDIR}/perl/'
94 for PERLSCRIPT in `grep -rIEl '#!.*/perl' ${D}${bindir}`; do
95 sed -i -e '1s|^#!.*|#!/usr/bin/env perl|' $PERLSCRIPT
96 done
97} 92}
98
99do_install_append_nylon() { 93do_install_append_nylon() {
100 # get rid of definitions not supported by the gcc version we use for nylon... 94 # get rid of definitions not supported by the gcc version we use for nylon...
101 for i in ${D}${libdir}/perl/${PV}/Config_heavy.pl ${D}${libdir}/perl/config.sh; do 95 for i in ${D}${libdir}/perl/${PV}/Config_heavy.pl ${D}${libdir}/perl/config.sh; do