diff options
author | Jingdong Lu <jingdong.lu@windriver.com> | 2010-11-01 17:58:09 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-10 23:13:00 +0000 |
commit | 6e4bfac48aa1e48086d7995c23eb5d4db66a79b8 (patch) | |
tree | 265e2307a81dbba30ecbb7dae6bdeb582a4aec35 /meta/recipes-devtools/perl | |
parent | 56c897d8d0a31aba4c887eacdd3dbe1ee2d368a1 (diff) | |
download | poky-6e4bfac48aa1e48086d7995c23eb5d4db66a79b8.tar.gz |
perl: Fix adding GDBM_File module for LSB test.
No GDBM_File module will cause 2 perl test cases of LSB failed.
Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
Diffstat (limited to 'meta/recipes-devtools/perl')
-rw-r--r-- | meta/recipes-devtools/perl/perl-5.8.8/config.sh | 8 | ||||
-rw-r--r-- | meta/recipes-devtools/perl/perl-5.8.8/perl-enable-gdbm.patch | 17 | ||||
-rw-r--r-- | meta/recipes-devtools/perl/perl_5.8.8.bb | 4 |
3 files changed, 24 insertions, 5 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/config.sh b/meta/recipes-devtools/perl/perl-5.8.8/config.sh index 8d1f904f20..3d4c193a3d 100644 --- a/meta/recipes-devtools/perl/perl-5.8.8/config.sh +++ b/meta/recipes-devtools/perl/perl-5.8.8/config.sh | |||
@@ -507,7 +507,7 @@ dlsrc='dl_dlopen.xs' | |||
507 | doublesize='8' | 507 | doublesize='8' |
508 | drand01='drand48()' | 508 | drand01='drand48()' |
509 | drand48_r_proto='REENTRANT_PROTO_I_ST' | 509 | drand48_r_proto='REENTRANT_PROTO_I_ST' |
510 | dynamic_ext='attrs B ByteLoader Cwd Data/Dumper Devel/DProf Devel/Peek Devel/PPPort Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 Opcode PerlIO/encoding PerlIO/scalar PerlIO/via POSIX re SDBM_File Socket Storable Sys/Hostname Sys/Syslog threads Time/HiRes Unicode/Normalize XS/APItest XS/Typemap threads/shared' | 510 | dynamic_ext='attrs B ByteLoader Cwd Data/Dumper Devel/DProf Devel/Peek Devel/PPPort Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 Opcode PerlIO/encoding PerlIO/scalar PerlIO/via POSIX re GDBM_File SDBM_File Socket Storable Sys/Hostname Sys/Syslog threads Time/HiRes Unicode/Normalize XS/APItest XS/Typemap threads/shared' |
511 | eagain='EAGAIN' | 511 | eagain='EAGAIN' |
512 | ebcdic='undef' | 512 | ebcdic='undef' |
513 | echo='echo' | 513 | echo='echo' |
@@ -593,7 +593,7 @@ i_fcntl='undef' | |||
593 | i_float='define' | 593 | i_float='define' |
594 | i_fp='undef' | 594 | i_fp='undef' |
595 | i_fp_class='undef' | 595 | i_fp_class='undef' |
596 | i_gdbm='undef' | 596 | i_gdbm='define' |
597 | i_grp='define' | 597 | i_grp='define' |
598 | i_ieeefp='undef' | 598 | i_ieeefp='undef' |
599 | i_inttypes='define' | 599 | i_inttypes='define' |
@@ -981,7 +981,7 @@ zcat='' | |||
981 | zip='zip' | 981 | zip='zip' |
982 | # Configure command line arguments. | 982 | # Configure command line arguments. |
983 | config_arg0='Configure' | 983 | config_arg0='Configure' |
984 | config_args='-des -Doptimize=-O2 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Open Embedded -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr -Dotherlibdirs=/usr/lib/perl5/5.8.8 -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Ud_dosuid -Dd_semctl_semun -Ui_db -Ui_ndbm -Ui_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr' | 984 | config_args='-des -Doptimize=-O2 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Open Embedded -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr -Dotherlibdirs=/usr/lib/perl5/5.8.8 -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Ud_dosuid -Dd_semctl_semun -Ui_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr' |
985 | config_argc=27 | 985 | config_argc=27 |
986 | config_arg1='-des' | 986 | config_arg1='-des' |
987 | config_arg2='-Doptimize=-O2' | 987 | config_arg2='-Doptimize=-O2' |
@@ -1001,7 +1001,7 @@ config_arg15='-Ud_dosuid' | |||
1001 | config_arg16='-Dd_semctl_semun' | 1001 | config_arg16='-Dd_semctl_semun' |
1002 | config_arg17='-Ui_db' | 1002 | config_arg17='-Ui_db' |
1003 | config_arg18='-Ui_ndbm' | 1003 | config_arg18='-Ui_ndbm' |
1004 | config_arg19='-Ui_gdbm' | 1004 | config_arg19='-Di_gdbm' |
1005 | config_arg20='-Di_shadow' | 1005 | config_arg20='-Di_shadow' |
1006 | config_arg21='-Di_syslog' | 1006 | config_arg21='-Di_syslog' |
1007 | config_arg22='-Dman3ext=3pm' | 1007 | config_arg22='-Dman3ext=3pm' |
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/perl-enable-gdbm.patch b/meta/recipes-devtools/perl/perl-5.8.8/perl-enable-gdbm.patch new file mode 100644 index 0000000000..c0874c372d --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.8.8/perl-enable-gdbm.patch | |||
@@ -0,0 +1,17 @@ | |||
1 | Index: perl-5.8.8/config_h.SH | ||
2 | =================================================================== | ||
3 | --- perl-5.8.8.orig/config_h.SH 2005-11-01 02:13:05.000000000 +0800 | ||
4 | +++ perl-5.8.8/config_h.SH 2010-11-01 17:06:07.215219738 +0800 | ||
5 | @@ -709,6 +709,12 @@ | ||
6 | */ | ||
7 | #$i_float I_FLOAT /**/ | ||
8 | |||
9 | +/* I_GDBM: | ||
10 | + * This symbol, if defined, indicates that <gdbm.h> exists and should | ||
11 | + * be included. | ||
12 | + */ | ||
13 | +#$i_gdbm I_GDBM /**/ | ||
14 | + | ||
15 | /* I_LIMITS: | ||
16 | * This symbol, if defined, indicates to the C program that it should | ||
17 | * include <limits.h> to get definition of symbols like WORD_BIT or | ||
diff --git a/meta/recipes-devtools/perl/perl_5.8.8.bb b/meta/recipes-devtools/perl/perl_5.8.8.bb index 2774942ba2..2515b6e0b9 100644 --- a/meta/recipes-devtools/perl/perl_5.8.8.bb +++ b/meta/recipes-devtools/perl/perl_5.8.8.bb | |||
@@ -7,7 +7,8 @@ LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \ | |||
7 | PRIORITY = "optional" | 7 | PRIORITY = "optional" |
8 | # We need gnugrep (for -I) | 8 | # We need gnugrep (for -I) |
9 | DEPENDS = "virtual/db perl-native grep-native" | 9 | DEPENDS = "virtual/db perl-native grep-native" |
10 | PR = "r20" | 10 | DEPENDS += "gdbm" |
11 | PR = "r21" | ||
11 | 12 | ||
12 | # Major part of version | 13 | # Major part of version |
13 | PVM = "5.8" | 14 | PVM = "5.8" |
@@ -32,6 +33,7 @@ SRC_URI = "ftp://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \ | |||
32 | file://64_debian_enc2xs_inc.patch;patch=1 \ | 33 | file://64_debian_enc2xs_inc.patch;patch=1 \ |
33 | file://asm-pageh-fix.patch;patch=1 \ | 34 | file://asm-pageh-fix.patch;patch=1 \ |
34 | file://native-perlinc.patch;patch=1 \ | 35 | file://native-perlinc.patch;patch=1 \ |
36 | file://perl-enable-gdbm.patch;patch=1 \ | ||
35 | file://config.sh \ | 37 | file://config.sh \ |
36 | file://config.sh-32 \ | 38 | file://config.sh-32 \ |
37 | file://config.sh-32-le \ | 39 | file://config.sh-32-le \ |