summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorJingdong Lu <jingdong.lu@windriver.com>2010-11-01 17:58:09 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-12-10 23:13:00 +0000
commit6e4bfac48aa1e48086d7995c23eb5d4db66a79b8 (patch)
tree265e2307a81dbba30ecbb7dae6bdeb582a4aec35 /meta
parent56c897d8d0a31aba4c887eacdd3dbe1ee2d368a1 (diff)
downloadpoky-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')
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/config.sh8
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/perl-enable-gdbm.patch17
-rw-r--r--meta/recipes-devtools/perl/perl_5.8.8.bb4
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'
507doublesize='8' 507doublesize='8'
508drand01='drand48()' 508drand01='drand48()'
509drand48_r_proto='REENTRANT_PROTO_I_ST' 509drand48_r_proto='REENTRANT_PROTO_I_ST'
510dynamic_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' 510dynamic_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'
511eagain='EAGAIN' 511eagain='EAGAIN'
512ebcdic='undef' 512ebcdic='undef'
513echo='echo' 513echo='echo'
@@ -593,7 +593,7 @@ i_fcntl='undef'
593i_float='define' 593i_float='define'
594i_fp='undef' 594i_fp='undef'
595i_fp_class='undef' 595i_fp_class='undef'
596i_gdbm='undef' 596i_gdbm='define'
597i_grp='define' 597i_grp='define'
598i_ieeefp='undef' 598i_ieeefp='undef'
599i_inttypes='define' 599i_inttypes='define'
@@ -981,7 +981,7 @@ zcat=''
981zip='zip' 981zip='zip'
982# Configure command line arguments. 982# Configure command line arguments.
983config_arg0='Configure' 983config_arg0='Configure'
984config_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' 984config_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'
985config_argc=27 985config_argc=27
986config_arg1='-des' 986config_arg1='-des'
987config_arg2='-Doptimize=-O2' 987config_arg2='-Doptimize=-O2'
@@ -1001,7 +1001,7 @@ config_arg15='-Ud_dosuid'
1001config_arg16='-Dd_semctl_semun' 1001config_arg16='-Dd_semctl_semun'
1002config_arg17='-Ui_db' 1002config_arg17='-Ui_db'
1003config_arg18='-Ui_ndbm' 1003config_arg18='-Ui_ndbm'
1004config_arg19='-Ui_gdbm' 1004config_arg19='-Di_gdbm'
1005config_arg20='-Di_shadow' 1005config_arg20='-Di_shadow'
1006config_arg21='-Di_syslog' 1006config_arg21='-Di_syslog'
1007config_arg22='-Dman3ext=3pm' 1007config_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 @@
1Index: 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 \
7PRIORITY = "optional" 7PRIORITY = "optional"
8# We need gnugrep (for -I) 8# We need gnugrep (for -I)
9DEPENDS = "virtual/db perl-native grep-native" 9DEPENDS = "virtual/db perl-native grep-native"
10PR = "r20" 10DEPENDS += "gdbm"
11PR = "r21"
11 12
12# Major part of version 13# Major part of version
13PVM = "5.8" 14PVM = "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 \