diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-05-30 09:33:32 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-05-30 09:33:32 +0000 |
commit | 92363fd4f8321c6e18fe7f122f8ca101c3673f8a (patch) | |
tree | 89c400dabd3142445f463db825ab3fcca0b7f2f1 /meta/packages/perl/perl-native_5.8.8.bb | |
parent | 6c47cd48aff1dbc3b2550ea71307c48debca9298 (diff) | |
download | poky-92363fd4f8321c6e18fe7f122f8ca101c3673f8a.tar.gz |
perl: sync with OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1816 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/perl/perl-native_5.8.8.bb')
-rw-r--r-- | meta/packages/perl/perl-native_5.8.8.bb | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/meta/packages/perl/perl-native_5.8.8.bb b/meta/packages/perl/perl-native_5.8.8.bb index c9d9b51771..d4896daa12 100644 --- a/meta/packages/perl/perl-native_5.8.8.bb +++ b/meta/packages/perl/perl-native_5.8.8.bb | |||
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.perl.org/" | |||
3 | SECTION = "libs" | 3 | SECTION = "libs" |
4 | LICENSE = "Artistic|GPL" | 4 | LICENSE = "Artistic|GPL" |
5 | DEPENDS = "virtual/db-native gdbm-native" | 5 | DEPENDS = "virtual/db-native gdbm-native" |
6 | PR = "r7" | 6 | PR = "r10" |
7 | 7 | ||
8 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/perl-${PV}" | 8 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/perl-${PV}" |
9 | 9 | ||
@@ -12,7 +12,9 @@ SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \ | |||
12 | file://Configure-multilib.patch;patch=1 \ | 12 | file://Configure-multilib.patch;patch=1 \ |
13 | file://perl-configpm-switch.patch;patch=1 \ | 13 | file://perl-configpm-switch.patch;patch=1 \ |
14 | file://native-nopacklist.patch;patch=1 \ | 14 | file://native-nopacklist.patch;patch=1 \ |
15 | file://native-no-gdbminc.patch;patch=1" | 15 | file://native-no-gdbminc.patch;patch=1 \ |
16 | file://native-perlinc.patch;patch=1 \ | ||
17 | file://native-makedepend-dash.patch;patch=1" | ||
16 | 18 | ||
17 | S = "${WORKDIR}/perl-${PV}" | 19 | S = "${WORKDIR}/perl-${PV}" |
18 | 20 | ||
@@ -26,7 +28,16 @@ do_configure () { | |||
26 | -Dcf_by="Open Embedded" \ | 28 | -Dcf_by="Open Embedded" \ |
27 | -Dprefix=${prefix} \ | 29 | -Dprefix=${prefix} \ |
28 | -Dvendorprefix=${prefix} \ | 30 | -Dvendorprefix=${prefix} \ |
29 | -Dsiteprefix=${prefix}/local \ | 31 | -Dvendorprefix=${prefix} \ |
32 | -Dsiteprefix=${prefix} \ | ||
33 | \ | ||
34 | -Dprivlib=${STAGING_LIBDIR}/perl/${PV} \ | ||
35 | -Darchlib=${STAGING_LIBDIR}/perl/${PV} \ | ||
36 | -Dvendorlib=${STAGING_LIBDIR}/perl/${PV} \ | ||
37 | -Dvendorarch=${STAGING_LIBDIR}/perl/${PV} \ | ||
38 | -Dsitelib=${STAGING_LIBDIR}/perl/${PV} \ | ||
39 | -Dsitearch=${STAGING_LIBDIR}/perl/${PV} \ | ||
40 | \ | ||
30 | -Duseshrplib \ | 41 | -Duseshrplib \ |
31 | -Dusethreads \ | 42 | -Dusethreads \ |
32 | -Duseithreads \ | 43 | -Duseithreads \ |
@@ -50,6 +61,9 @@ do_configure () { | |||
50 | do_stage_append() { | 61 | do_stage_append() { |
51 | # We need a hostperl link for building perl | 62 | # We need a hostperl link for building perl |
52 | ln -sf ${STAGING_BINDIR_NATIVE}/perl${PV} ${STAGING_BINDIR_NATIVE}/hostperl | 63 | ln -sf ${STAGING_BINDIR_NATIVE}/perl${PV} ${STAGING_BINDIR_NATIVE}/hostperl |
64 | # Store native config in non-versioned directory | ||
65 | install -d ${STAGING_DIR}/${HOST_SYS}/perl | ||
66 | install config.sh ${STAGING_DIR}/${HOST_SYS}/perl | ||
53 | } | 67 | } |
54 | 68 | ||
55 | PARALLEL_MAKE = "" | 69 | PARALLEL_MAKE = "" |