summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools')
-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