summaryrefslogtreecommitdiffstats
path: root/meta/packages/perl/perl-5.8.8
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-05-27 21:04:11 +0000
committerRichard Purdie <richard@openedhand.com>2007-05-27 21:04:11 +0000
commit80785a10721e523029c27f264fca5a892cf68e36 (patch)
treed33b51538db742a5d6f8df6b184b5531e8bf68ce /meta/packages/perl/perl-5.8.8
parentbd4fd028a799e804d803eac14ccb9e164ecc4938 (diff)
downloadpoky-80785a10721e523029c27f264fca5a892cf68e36.tar.gz
perl: 5.8.7 -> 5.8.8 (from OE)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1785 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/perl/perl-5.8.8')
-rw-r--r--meta/packages/perl/perl-5.8.8/09_fix_installperl.patch32
-rw-r--r--meta/packages/perl/perl-5.8.8/52_debian_extutils_hacks.patch234
-rw-r--r--meta/packages/perl/perl-5.8.8/53_debian_mod_paths.patch107
-rw-r--r--meta/packages/perl/perl-5.8.8/54_debian_perldoc-r.patch16
-rw-r--r--meta/packages/perl/perl-5.8.8/58_debian_cpan_config_path.patch14
-rw-r--r--meta/packages/perl/perl-5.8.8/60_debian_libnet_config_path.patch16
-rw-r--r--meta/packages/perl/perl-5.8.8/62_debian_cpan_definstalldirs.patch16
-rw-r--r--meta/packages/perl/perl-5.8.8/64_debian_enc2xs_inc.patch28
-rw-r--r--meta/packages/perl/perl-5.8.8/Makefile.SH.patch222
-rw-r--r--meta/packages/perl/perl-5.8.8/Makefile.patch27
-rw-r--r--meta/packages/perl/perl-5.8.8/config.sh1021
-rw-r--r--meta/packages/perl/perl-5.8.8/config.sh-3258
-rw-r--r--meta/packages/perl/perl-5.8.8/config.sh-32-be1
-rw-r--r--meta/packages/perl/perl-5.8.8/config.sh-32-le1
-rw-r--r--meta/packages/perl/perl-5.8.8/config.sh-6458
-rw-r--r--meta/packages/perl/perl-5.8.8/config.sh-64-be1
-rw-r--r--meta/packages/perl/perl-5.8.8/config.sh-64-le1
-rw-r--r--meta/packages/perl/perl-5.8.8/generate-sh.patch16
-rw-r--r--meta/packages/perl/perl-5.8.8/native-no-gdbminc.patch18
-rw-r--r--meta/packages/perl/perl-5.8.8/native-nopacklist.patch84
-rw-r--r--meta/packages/perl/perl-5.8.8/perl-configpm-switch.patch34
-rwxr-xr-xmeta/packages/perl/perl-5.8.8/perl-configure.sh43
-rw-r--r--meta/packages/perl/perl-5.8.8/perl-dynloader.patch23
-rw-r--r--meta/packages/perl/perl-5.8.8/perl-moreconfig.patch16
24 files changed, 2087 insertions, 0 deletions
diff --git a/meta/packages/perl/perl-5.8.8/09_fix_installperl.patch b/meta/packages/perl/perl-5.8.8/09_fix_installperl.patch
new file mode 100644
index 0000000000..f550537d02
--- /dev/null
+++ b/meta/packages/perl/perl-5.8.8/09_fix_installperl.patch
@@ -0,0 +1,32 @@
1Correctly identify arch-specific modules in ext/ where the .pm files
2are under lib.
3
4Ensure that POSIX/SigAction is kept with the rest of the POSIX module
5under archlib.
6
7diff --exclude=debian -Naur perl-5.8.8.orig/installperl perl-5.8.8/installperl
8--- perl-5.8.8.orig/installperl 2006-01-29 02:35:28.000000000 +1100
9+++ perl-5.8.8/installperl 2006-05-31 22:54:41.000000000 +1000
10@@ -156,11 +156,8 @@
11 if ("$File::Find::dir/$_" =~ m{^ext\b(.*)/([^/]+)\.pm$}) {
12 my($path, $modname) = ($1,$2);
13
14- # strip trailing component first
15- $path =~ s{/[^/]*$}{};
16-
17- # strip optional "/lib";
18- $path =~ s{/lib\b}{};
19+ # strip to optional "/lib", or remove trailing component
20+ $path =~ s{.*/lib\b}{} or $path =~ s{/[^/]*$}{};
21
22 # strip any leading /
23 $path =~ s{^/}{};
24@@ -851,7 +848,7 @@
25 }
26
27 if (-f $_) {
28- if (/\.(?:al|ix)$/ && !($dir =~ m[^auto/(.*)$] && $archpms{$1})) {
29+ if (/\.(?:al|ix)$/ && !($dir =~ m[^auto/(.*)$])) {
30 $installlib = $installprivlib;
31 #We're installing *.al and *.ix files into $installprivlib,
32 #but we have to delete old *.al and *.ix files from the 5.000
diff --git a/meta/packages/perl/perl-5.8.8/52_debian_extutils_hacks.patch b/meta/packages/perl/perl-5.8.8/52_debian_extutils_hacks.patch
new file mode 100644
index 0000000000..8a964f9338
--- /dev/null
+++ b/meta/packages/perl/perl-5.8.8/52_debian_extutils_hacks.patch
@@ -0,0 +1,234 @@
1Various debian-specific ExtUtils changes:
2
3 * Respect umask during installation, and set as appropriate for each of
4 perl, vendor and site (policy requires group writable site dirs).
5
6 * Don't install .packlist or perllocal.pod for perl or vendor.
7 * Fiddle with *PREFIX and variables written to the makefile so that
8 install directories may be changed when make is run by passing
9 PREFIX= to the "make install" command (used when packaging
10 modules).
11
12 * Set location of libperl.a to /usr/lib.
13 * Note that libperl-dev package is required for embedded linking.
14
15diff -Naur --exclude=debian perl-5.8.8.orig/lib/ExtUtils/Embed.pm perl-5.8.8/lib/ExtUtils/Embed.pm
16--- perl-5.8.8.orig/lib/ExtUtils/Embed.pm 2004-08-03 20:41:49.000000000 +1000
17+++ perl-5.8.8/lib/ExtUtils/Embed.pm 2006-02-05 10:42:11.000000000 +1100
18@@ -300,6 +300,9 @@
19 Typically, an application B<Makefile> will invoke ExtUtils::Embed
20 functions while building your application.
21
22+Note that on Debian systems the B<libperl-dev> package is required for
23+compiling applications which embed an interpreter.
24+
25 =head1 @EXPORT
26
27 ExtUtils::Embed exports the following functions:
28diff -Naur --exclude=debian perl-5.8.8.orig/lib/ExtUtils/Install.pm perl-5.8.8/lib/ExtUtils/Install.pm
29--- perl-5.8.8.orig/lib/ExtUtils/Install.pm 2005-10-21 22:00:01.000000000 +1000
30+++ perl-5.8.8/lib/ExtUtils/Install.pm 2006-02-05 10:42:11.000000000 +1100
31@@ -173,8 +173,8 @@
32 if (-f $targetfile){
33 forceunlink($targetfile) unless $nonono;
34 } else {
35- mkpath($targetdir,0,0755) unless $nonono;
36- print "mkpath($targetdir,0,0755)\n" if $verbose>1;
37+ mkpath($targetdir) unless $nonono;
38+ print "mkpath($targetdir)\n" if $verbose>1;
39 }
40 copy($sourcefile, $targetfile) unless $nonono;
41 print "Installing $targetfile\n";
42diff -Naur --exclude=debian perl-5.8.8.orig/lib/ExtUtils/MM_Any.pm perl-5.8.8/lib/ExtUtils/MM_Any.pm
43--- perl-5.8.8.orig/lib/ExtUtils/MM_Any.pm 2005-04-13 17:49:53.000000000 +1000
44+++ perl-5.8.8/lib/ExtUtils/MM_Any.pm 2006-02-05 11:17:52.000000000 +1100
45@@ -645,8 +645,6 @@
46 sub manifypods_target {
47 my($self) = shift;
48
49- my $man1pods = '';
50- my $man3pods = '';
51 my $dependencies = '';
52
53 # populate manXpods & dependencies:
54@@ -666,7 +664,7 @@
55 foreach my $section (qw(1 3)) {
56 my $pods = $self->{"MAN${section}PODS"};
57 push @man_cmds, $self->split_command(<<CMD, %$pods);
58- \$(NOECHO) \$(POD2MAN) --section=$section --perm_rw=\$(PERM_RW)
59+ \$(NOECHO) \$(POD2MAN) --section=\$(MAN${section}EXT) --perm_rw=\$(PERM_RW)
60 CMD
61 }
62
63@@ -1080,9 +1078,11 @@
64 $self->{SITEPREFIX} ||= $sprefix;
65 $self->{VENDORPREFIX} ||= $vprefix;
66
67- # Lots of MM extension authors like to use $(PREFIX) so we
68- # put something sensible in there no matter what.
69- $self->{PREFIX} = '$('.uc $self->{INSTALLDIRS}.'PREFIX)';
70+ my $p = $self->{PREFIX} = $self->{PERLPREFIX};
71+ for my $t (qw/PERL SITE VENDOR/)
72+ {
73+ $self->{"${t}PREFIX"} =~ s!^\Q$p\E(?=/|$)!\$(PREFIX)!;
74+ }
75 }
76
77 my $arch = $Config{archname};
78diff -Naur --exclude=debian perl-5.8.8.orig/lib/ExtUtils/MM_Unix.pm perl-5.8.8/lib/ExtUtils/MM_Unix.pm
79--- perl-5.8.8.orig/lib/ExtUtils/MM_Unix.pm 2005-05-21 19:42:56.000000000 +1000
80+++ perl-5.8.8/lib/ExtUtils/MM_Unix.pm 2006-02-05 17:40:19.000000000 +1100
81@@ -2054,9 +2054,7 @@
82 $(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site
83
84 pure_perl_install ::
85- $(NOECHO) $(MOD_INSTALL) \
86- read }.$self->catfile('$(PERL_ARCHLIB)','auto','$(FULLEXT)','.packlist').q{ \
87- write }.$self->catfile('$(DESTINSTALLARCHLIB)','auto','$(FULLEXT)','.packlist').q{ \
88+ $(NOECHO) umask 022; $(MOD_INSTALL) \
89 $(INST_LIB) $(DESTINSTALLPRIVLIB) \
90 $(INST_ARCHLIB) $(DESTINSTALLARCHLIB) \
91 $(INST_BIN) $(DESTINSTALLBIN) \
92@@ -2068,7 +2066,7 @@
93
94
95 pure_site_install ::
96- $(NOECHO) $(MOD_INSTALL) \
97+ $(NOECHO) umask 02; $(MOD_INSTALL) \
98 read }.$self->catfile('$(SITEARCHEXP)','auto','$(FULLEXT)','.packlist').q{ \
99 write }.$self->catfile('$(DESTINSTALLSITEARCH)','auto','$(FULLEXT)','.packlist').q{ \
100 $(INST_LIB) $(DESTINSTALLSITELIB) \
101@@ -2081,9 +2079,7 @@
102 }.$self->catdir('$(PERL_ARCHLIB)','auto','$(FULLEXT)').q{
103
104 pure_vendor_install ::
105- $(NOECHO) $(MOD_INSTALL) \
106- read }.$self->catfile('$(VENDORARCHEXP)','auto','$(FULLEXT)','.packlist').q{ \
107- write }.$self->catfile('$(DESTINSTALLVENDORARCH)','auto','$(FULLEXT)','.packlist').q{ \
108+ $(NOECHO) umask 022; $(MOD_INSTALL) \
109 $(INST_LIB) $(DESTINSTALLVENDORLIB) \
110 $(INST_ARCHLIB) $(DESTINSTALLVENDORARCH) \
111 $(INST_BIN) $(DESTINSTALLVENDORBIN) \
112@@ -2092,37 +2088,19 @@
113 $(INST_MAN3DIR) $(DESTINSTALLVENDORMAN3DIR)
114
115 doc_perl_install ::
116- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
117- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
118- -$(NOECHO) $(DOC_INSTALL) \
119- "Module" "$(NAME)" \
120- "installed into" "$(INSTALLPRIVLIB)" \
121- LINKTYPE "$(LINKTYPE)" \
122- VERSION "$(VERSION)" \
123- EXE_FILES "$(EXE_FILES)" \
124- >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{
125
126 doc_site_install ::
127- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
128- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
129- -$(NOECHO) $(DOC_INSTALL) \
130+ $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLSITEARCH)/perllocal.pod
131+ -$(NOECHO) umask 02; $(MKPATH) $(DESTINSTALLSITEARCH)
132+ -$(NOECHO) umask 02; $(DOC_INSTALL) \
133 "Module" "$(NAME)" \
134 "installed into" "$(INSTALLSITELIB)" \
135 LINKTYPE "$(LINKTYPE)" \
136 VERSION "$(VERSION)" \
137 EXE_FILES "$(EXE_FILES)" \
138- >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{
139+ >> }.$self->catfile('$(DESTINSTALLSITEARCH)','perllocal.pod').q{
140
141 doc_vendor_install ::
142- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
143- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
144- -$(NOECHO) $(DOC_INSTALL) \
145- "Module" "$(NAME)" \
146- "installed into" "$(INSTALLVENDORLIB)" \
147- LINKTYPE "$(LINKTYPE)" \
148- VERSION "$(VERSION)" \
149- EXE_FILES "$(EXE_FILES)" \
150- >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{
151
152 };
153
154@@ -2131,13 +2109,12 @@
155 $(NOECHO) $(NOOP)
156
157 uninstall_from_perldirs ::
158- $(NOECHO) $(UNINSTALL) }.$self->catfile('$(PERL_ARCHLIB)','auto','$(FULLEXT)','.packlist').q{
159
160 uninstall_from_sitedirs ::
161 $(NOECHO) $(UNINSTALL) }.$self->catfile('$(SITEARCHEXP)','auto','$(FULLEXT)','.packlist').q{
162
163 uninstall_from_vendordirs ::
164- $(NOECHO) $(UNINSTALL) }.$self->catfile('$(VENDORARCHEXP)','auto','$(FULLEXT)','.packlist').q{
165+
166 };
167
168 join("",@m);
169@@ -2415,7 +2392,7 @@
170 ($lperl = $libperl) =~ s/\$\(A\)/$self->{LIB_EXT}/;
171 }
172 unless ($libperl && -f $lperl) { # Ilya's code...
173- my $dir = $self->{PERL_SRC} || "$self->{PERL_ARCHLIB}/CORE";
174+ my $dir = $self->{PERL_SRC} || "/usr/lib";
175 $dir = "$self->{PERL_ARCHLIB}/.." if $self->{UNINSTALLED_PERL};
176 $libperl ||= "libperl$self->{LIB_EXT}";
177 $libperl = "$dir/$libperl";
178@@ -3007,8 +2984,7 @@
179 print STDERR " prefixify $var => $path\n" if $Verbose >= 2;
180 print STDERR " from $sprefix to $rprefix\n" if $Verbose >= 2;
181
182- if( $self->{ARGS}{PREFIX} && $self->file_name_is_absolute($path) &&
183- $path !~ s{^\Q$sprefix\E\b}{$rprefix}s )
184+ if( $path !~ s{^\Q$sprefix\E\b}{$rprefix}s && $self->{ARGS}{PREFIX} )
185 {
186
187 print STDERR " cannot prefix, using default.\n" if $Verbose >= 2;
188diff -Naur --exclude=debian perl-5.8.8.orig/lib/ExtUtils/t/INST.t perl-5.8.8/lib/ExtUtils/t/INST.t
189--- perl-5.8.8.orig/lib/ExtUtils/t/INST.t 2005-10-21 19:12:39.000000000 +1000
190+++ perl-5.8.8/lib/ExtUtils/t/INST.t 2006-02-05 17:48:56.000000000 +1100
191@@ -65,9 +65,7 @@
192 is( $mm->{NAME}, 'Big::Dummy', 'NAME' );
193 is( $mm->{VERSION}, 0.01, 'VERSION' );
194
195-my $config_prefix = $Config{installprefixexp} || $Config{installprefix} ||
196- $Config{prefixexp} || $Config{prefix};
197-is( $mm->{PERLPREFIX}, $config_prefix, 'PERLPREFIX' );
198+is( $mm->{PERLPREFIX}, '$(PREFIX)', 'PERLPREFIX' );
199
200 is( !!$mm->{PERL_CORE}, !!$ENV{PERL_CORE}, 'PERL_CORE' );
201
202diff -Naur --exclude=debian perl-5.8.8.orig/lib/ExtUtils/t/INST_PREFIX.t perl-5.8.8/lib/ExtUtils/t/INST_PREFIX.t
203--- perl-5.8.8.orig/lib/ExtUtils/t/INST_PREFIX.t 2005-10-21 22:00:19.000000000 +1000
204+++ perl-5.8.8/lib/ExtUtils/t/INST_PREFIX.t 2006-02-05 17:48:06.000000000 +1100
205@@ -16,7 +16,7 @@
206 }
207
208 use strict;
209-use Test::More tests => 52;
210+use Test::More tests => 47;
211 use MakeMaker::Test::Utils;
212 use MakeMaker::Test::Setup::BFD;
213 use ExtUtils::MakeMaker;
214@@ -62,16 +62,16 @@
215 Writing\ $Makefile\ for\ Big::Dummy\n
216 }x );
217
218-is( $mm->{PREFIX}, '$(SITEPREFIX)', 'PREFIX set based on INSTALLDIRS' );
219+#is( $mm->{PREFIX}, '$(SITEPREFIX)', 'PREFIX set based on INSTALLDIRS' );
220
221 isa_ok( $mm, 'ExtUtils::MakeMaker' );
222
223 is( $mm->{NAME}, 'Big::Dummy', 'NAME' );
224 is( $mm->{VERSION}, 0.01, 'VERSION' );
225
226-foreach my $prefix (qw(PREFIX PERLPREFIX SITEPREFIX VENDORPREFIX)) {
227- unlike( $mm->{$prefix}, qr/\$\(PREFIX\)/ );
228-}
229+#foreach my $prefix (qw(PREFIX PERLPREFIX SITEPREFIX VENDORPREFIX)) {
230+# unlike( $mm->{$prefix}, qr/\$\(PREFIX\)/ );
231+#}
232
233
234 my $PREFIX = File::Spec->catdir('foo', 'bar');
diff --git a/meta/packages/perl/perl-5.8.8/53_debian_mod_paths.patch b/meta/packages/perl/perl-5.8.8/53_debian_mod_paths.patch
new file mode 100644
index 0000000000..df74bc598d
--- /dev/null
+++ b/meta/packages/perl/perl-5.8.8/53_debian_mod_paths.patch
@@ -0,0 +1,107 @@
1Tweak @INC so that the ordering is:
2
3 etc (for config files)
4 site (5.8.1)
5 vendor (all)
6 core (5.8.1)
7 site (version-indep)
8 site (pre-5.8.1)
9
10The rationale being that an admin (via site), or module packager
11(vendor) can chose to shadow core modules when there is a newer
12version than is included in core.
13
14diff -Naur --exclude=debian perl-5.8.8.orig/perl.c perl-5.8.8/perl.c
15--- perl-5.8.8.orig/perl.c 2006-01-31 23:34:47.000000000 +1100
16+++ perl-5.8.8/perl.c 2006-02-02 23:36:38.000000000 +1100
17@@ -4776,9 +4776,14 @@
18 incpush(APPLLIB_EXP, TRUE, TRUE, TRUE);
19 #endif
20
21+#if 1
22+ /* for configuration where /usr is mounted ro (CPAN::Config, Net::Config) */
23+ incpush("/etc/perl", FALSE, FALSE, FALSE);
24+#else
25 #ifdef ARCHLIB_EXP
26 incpush(ARCHLIB_EXP, FALSE, FALSE, TRUE);
27 #endif
28+#endif
29 #ifdef MACOS_TRADITIONAL
30 {
31 Stat_t tmpstatbuf;
32@@ -4803,11 +4808,13 @@
33 #ifndef PRIVLIB_EXP
34 # define PRIVLIB_EXP "/usr/local/lib/perl5:/usr/local/lib/perl"
35 #endif
36+#if 0
37 #if defined(WIN32)
38 incpush(PRIVLIB_EXP, TRUE, FALSE, TRUE);
39 #else
40 incpush(PRIVLIB_EXP, FALSE, FALSE, TRUE);
41 #endif
42+#endif
43
44 #ifdef SITEARCH_EXP
45 /* sitearch is always relative to sitelib on Windows for
46@@ -4850,6 +4857,61 @@
47 incpush(PERL_VENDORLIB_STEM, FALSE, TRUE, TRUE);
48 #endif
49
50+#if 1
51+ incpush(ARCHLIB_EXP, FALSE, FALSE, TRUE);
52+ incpush(PRIVLIB_EXP, FALSE, FALSE, TRUE);
53+
54+ /* Non-versioned site directory for local modules and for
55+ compatability with the previous packages' site dirs */
56+ incpush("/usr/local/lib/site_perl", TRUE, FALSE, FALSE);
57+
58+#ifdef PERL_INC_VERSION_LIST
59+ {
60+ struct stat s;
61+
62+ /* add small buffer in case old versions are longer than the
63+ current version */
64+ char sitearch[sizeof(SITEARCH_EXP)+16] = SITEARCH_EXP;
65+ char sitelib[sizeof(SITELIB_EXP)+16] = SITELIB_EXP;
66+ char const *vers[] = { PERL_INC_VERSION_LIST };
67+ char const **p;
68+
69+ char *arch_vers = strrchr(sitearch, '/');
70+ char *lib_vers = strrchr(sitelib, '/');
71+
72+ if (arch_vers && isdigit(*++arch_vers))
73+ *arch_vers = 0;
74+ else
75+ arch_vers = 0;
76+
77+ if (lib_vers && isdigit(*++lib_vers))
78+ *lib_vers = 0;
79+ else
80+ lib_vers = 0;
81+
82+ /* there is some duplication here as incpush does something
83+ similar internally, but required as sitearch is not a
84+ subdirectory of sitelib */
85+ for (p = vers; *p; p++)
86+ {
87+ if (arch_vers)
88+ {
89+ strcpy(arch_vers, *p);
90+ if (PerlLIO_stat(sitearch, &s) >= 0 && S_ISDIR(s.st_mode))
91+ incpush(sitearch, FALSE, FALSE, FALSE);
92+ }
93+
94+ if (lib_vers)
95+ {
96+ strcpy(lib_vers, *p);
97+ if (PerlLIO_stat(sitelib, &s) >= 0 && S_ISDIR(s.st_mode))
98+ incpush(sitelib, FALSE, FALSE, FALSE);
99+ }
100+ }
101+ }
102+#endif
103+#endif
104+
105 #ifdef PERL_OTHERLIBDIRS
106 incpush(PERL_OTHERLIBDIRS, TRUE, TRUE, TRUE);
107 #endif
diff --git a/meta/packages/perl/perl-5.8.8/54_debian_perldoc-r.patch b/meta/packages/perl/perl-5.8.8/54_debian_perldoc-r.patch
new file mode 100644
index 0000000000..432cd857a7
--- /dev/null
+++ b/meta/packages/perl/perl-5.8.8/54_debian_perldoc-r.patch
@@ -0,0 +1,16 @@
1In a Debian installation, not all directories in @INC need exist (the
2site directories for example are created on demand).
3
4Suggested by Joey Hess <joeyh@debian.org>.
5
6diff -Naur --exclude=debian perl-5.8.8.orig/lib/Pod/Perldoc.pm perl-5.8.8/lib/Pod/Perldoc.pm
7--- perl-5.8.8.orig/lib/Pod/Perldoc.pm 2004-12-29 23:15:33.000000000 +1100
8+++ perl-5.8.8/lib/Pod/Perldoc.pm 2006-02-02 23:38:49.000000000 +1100
9@@ -1533,6 +1533,7 @@
10 $self->{'target'} = (splitdir $s)[-1]; # XXX: why not use File::Basename?
11 for ($i=0; $i<@dirs; $i++) {
12 $dir = $dirs[$i];
13+ next unless -d $dir; # some dirs in @INC are optional
14 ($dir = VMS::Filespec::unixpath($dir)) =~ s!/\z!! if IS_VMS;
15 if ( (! $self->opt_m && ( $ret = $self->check_file($dir,"$s.pod")))
16 or ( $ret = $self->check_file($dir,"$s.pm"))
diff --git a/meta/packages/perl/perl-5.8.8/58_debian_cpan_config_path.patch b/meta/packages/perl/perl-5.8.8/58_debian_cpan_config_path.patch
new file mode 100644
index 0000000000..b38c70c515
--- /dev/null
+++ b/meta/packages/perl/perl-5.8.8/58_debian_cpan_config_path.patch
@@ -0,0 +1,14 @@
1Set location of CPAN::Config to /etc/perl as /usr may not be writable.
2
3diff -Naur --exclude=debian perl-5.8.8.orig/lib/CPAN.pm perl-5.8.8/lib/CPAN.pm
4--- perl-5.8.8.orig/lib/CPAN.pm 2006-02-01 01:11:22.000000000 +1100
5+++ perl-5.8.8/lib/CPAN.pm 2006-02-02 23:49:26.000000000 +1100
6@@ -1246,7 +1246,7 @@
7 $configpm = $INC{"CPAN/MyConfig.pm"};
8 $redo++;
9 } else {
10- my($path_to_cpan) = File::Basename::dirname($INC{"CPAN.pm"});
11+ my($path_to_cpan) = '/etc/perl';
12 my($configpmdir) = File::Spec->catdir($path_to_cpan,"CPAN");
13 my($configpmtest) = File::Spec->catfile($configpmdir,"Config.pm");
14 if (-d $configpmdir or File::Path::mkpath($configpmdir)) {
diff --git a/meta/packages/perl/perl-5.8.8/60_debian_libnet_config_path.patch b/meta/packages/perl/perl-5.8.8/60_debian_libnet_config_path.patch
new file mode 100644
index 0000000000..7842ce115c
--- /dev/null
+++ b/meta/packages/perl/perl-5.8.8/60_debian_libnet_config_path.patch
@@ -0,0 +1,16 @@
1Set location of libnet.cfg to /etc/perl/Net as /usr may not be writable.
2
3diff -Naur --exclude=debian perl-5.8.8.orig/lib/Net/Config.pm perl-5.8.8/lib/Net/Config.pm
4--- perl-5.8.8.orig/lib/Net/Config.pm 2002-03-01 01:04:31.000000000 +1100
5+++ perl-5.8.8/lib/Net/Config.pm 2006-02-03 00:00:55.000000000 +1100
6@@ -57,9 +57,8 @@
7 }
8 TRY_INTERNET_CONFIG
9
10-my $file = __FILE__;
11+my $file = '/etc/perl/Net/libnet.cfg';
12 my $ref;
13-$file =~ s/Config.pm/libnet.cfg/;
14 if ( -f $file ) {
15 $ref = eval { local $SIG{__DIE__}; do $file };
16 if (ref($ref) eq 'HASH') {
diff --git a/meta/packages/perl/perl-5.8.8/62_debian_cpan_definstalldirs.patch b/meta/packages/perl/perl-5.8.8/62_debian_cpan_definstalldirs.patch
new file mode 100644
index 0000000000..682061dd8b
--- /dev/null
+++ b/meta/packages/perl/perl-5.8.8/62_debian_cpan_definstalldirs.patch
@@ -0,0 +1,16 @@
1Some modules which are included in core set INSTALLDIRS => 'perl'
2explicitly in Makefile.PL. This makes sense for the normal @INC
3ordering, but not ours. Provide a sensible default.
4
5diff -Naur --exclude=debian perl-5.8.8.orig/lib/CPAN/FirstTime.pm perl-5.8.8/lib/CPAN/FirstTime.pm
6--- perl-5.8.8.orig/lib/CPAN/FirstTime.pm 2006-01-31 08:08:57.000000000 +1100
7+++ perl-5.8.8/lib/CPAN/FirstTime.pm 2006-02-03 00:05:24.000000000 +1100
8@@ -358,7 +358,7 @@
9
10 };
11
12- $default = $CPAN::Config->{makepl_arg} || "";
13+ $default = $CPAN::Config->{makepl_arg} || "INSTALLDIRS=site";
14 $CPAN::Config->{makepl_arg} =
15 prompt("Parameters for the 'perl Makefile.PL' command?
16 Typical frequently used settings:
diff --git a/meta/packages/perl/perl-5.8.8/64_debian_enc2xs_inc.patch b/meta/packages/perl/perl-5.8.8/64_debian_enc2xs_inc.patch
new file mode 100644
index 0000000000..c207a9380a
--- /dev/null
+++ b/meta/packages/perl/perl-5.8.8/64_debian_enc2xs_inc.patch
@@ -0,0 +1,28 @@
1Tweak enc2xs to handle Debian @INC: ignore missing directories,
2follow symlinks (/usr/share/perl/5.8 -> 5.8.4).
3
4diff -Naur --exclude=debian perl-5.8.8.orig/ext/Encode/bin/enc2xs perl-5.8.8/ext/Encode/bin/enc2xs
5--- perl-5.8.8.orig/ext/Encode/bin/enc2xs 2004-09-03 01:53:51.000000000 +1000
6+++ perl-5.8.8/ext/Encode/bin/enc2xs 2006-02-03 00:21:32.000000000 +1100
7@@ -909,10 +909,11 @@
8 eval { require File::Find; };
9 my (@inc, %e2x_dir);
10 for my $inc (@INC){
11+ next unless -d $inc; # skip non-existent directories
12 push @inc, $inc unless $inc eq '.'; #skip current dir
13 }
14 File::Find::find(
15- sub {
16+ { wanted => sub {
17 my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
18 $atime,$mtime,$ctime,$blksize,$blocks)
19 = lstat($_) or return;
20@@ -922,7 +923,7 @@
21 $e2x_dir{$File::Find::dir} ||= $mtime;
22 }
23 return;
24- }, @inc);
25+ }, follow => 1}, @inc);
26 warn join("\n", keys %e2x_dir), "\n";
27 for my $d (sort {$e2x_dir{$a} <=> $e2x_dir{$b}} keys %e2x_dir){
28 $_E2X = $d;
diff --git a/meta/packages/perl/perl-5.8.8/Makefile.SH.patch b/meta/packages/perl/perl-5.8.8/Makefile.SH.patch
new file mode 100644
index 0000000000..c674ce9ee5
--- /dev/null
+++ b/meta/packages/perl/perl-5.8.8/Makefile.SH.patch
@@ -0,0 +1,222 @@
1--- perl-5.8.8/Makefile.SH 2007/04/20 12:43:33 1.1
2+++ perl-5.8.8/Makefile.SH 2007/04/20 15:20:40
3@@ -129,18 +129,7 @@
4 # INSTALL file, under "Building a shared perl library".
5 # If there is no pre-existing $libperl, we don't need
6 # to do anything further.
7- if test -f $archlib/CORE/$libperl; then
8- rm -f preload
9- cat <<'EOT' > preload
10-#! /bin/sh
11-lib=$1
12-shift
13-test -r $lib && export LD_PRELOAD="$lib $LD_PRELOAD"
14-exec "$@"
15-EOT
16- chmod 755 preload
17- ldlibpth="$ldlibpth `pwd`/preload `pwd`/$libperl"
18- fi
19+ echo linux libraries overwritten by cross-compile patches
20 ;;
21 os390) test -f /bin/env && ldlibpth="/bin/env $ldlibpth"
22 ;;
23@@ -401,9 +390,19 @@
24 .c.s:
25 $(CCCMDSRC) -S $*.c
26
27-all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT) extra.pods $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make
28- @echo " ";
29- @echo " Everything is up to date. Type '$(MAKE) test' to run test suite."
30+#all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT) extra.pods $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make
31+# @echo " ";
32+# @echo " Everything is up to date. Type '$(MAKE) test' to run test suite."
33+
34+all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT)
35+
36+more: extra.pods $(private) $(public)
37+
38+more2: $(dynamic_ext)
39+
40+more3: $(nonxs_ext)
41+
42+more4: extras.make
43
44 .PHONY: all compile translators utilities
45
46@@ -413,10 +412,10 @@
47 cd x2p; $(MAKE) compile;
48 cd pod; $(MAKE) compile;
49
50-translators: miniperl$(EXE_EXT) $(CONFIGPM) FORCE
51+translators: $(CONFIGPM) FORCE
52 @echo " "; echo " Making x2p stuff"; cd x2p; $(LDLIBPTH) $(MAKE) all
53
54-utilities: miniperl$(EXE_EXT) $(CONFIGPM) $(plextract) lib/lib.pm FORCE
55+utilities: $(CONFIGPM) $(plextract) lib/lib.pm FORCE
56 @echo " "; echo " Making utilities"; cd utils; $(LDLIBPTH) $(MAKE) all
57
58
59@@ -550,7 +549,7 @@
60 case "$useshrplib" in
61 true)
62 $spitshell >>Makefile <<'!NO!SUBS!'
63- $(LD) -o $@ $(SHRPLDFLAGS) perl$(OBJ_EXT) $(obj) $(libs)
64+ $(LD) -o $@ $(SHRPLDFLAGS) perl$(OBJ_EXT) $(obj) $(libs) -Wl,-soname,libperl.so.5
65 !NO!SUBS!
66 case "$osname" in
67 aix)
68@@ -591,7 +590,9 @@
69 $(CC) -o miniperl $(CLDFLAGS) \
70 `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
71 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perl$(OBJ_EXT) $(libs)
72- $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
73+ mv -f miniperl miniperl-target
74+ ln -s hostperl miniperl
75+# $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
76 !NO!SUBS!
77 ;;
78 next4*)
79@@ -599,7 +600,9 @@
80 miniperl: $& miniperlmain$(OBJ_EXT) $(LIBPERL) opmini$(OBJ_EXT)
81 $(CC) -o miniperl `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
82 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perl$(OBJ_EXT) $(libs)
83- $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
84+ mv -f miniperl miniperl-target
85+ ln -s hostperl miniperl
86+# $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
87 !NO!SUBS!
88 ;;
89 darwin*)
90@@ -620,7 +623,9 @@
91 -@rm -f miniperl.xok
92 $(CC) $(CLDFLAGS) $(NAMESPACEFLAGS) -o miniperl \
93 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) $(LLIBPERL) $(libs)
94- $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
95+ mv -f miniperl miniperl-target
96+ ln -s hostperl miniperl
97+# $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
98 !NO!SUBS!
99 ;;
100 *)
101@@ -629,7 +634,9 @@
102 -@rm -f miniperl.xok
103 $(LDLIBPTH) $(CC) $(CLDFLAGS) -o miniperl \
104 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) $(LLIBPERL) $(libs)
105- $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
106+ mv -f miniperl miniperl-target
107+ ln -s hostperl miniperl
108+# $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
109 !NO!SUBS!
110 ;;
111 esac
112@@ -766,7 +773,7 @@
113 # We need to autosplit in two steps because VOS can't handle so many args
114 #
115 .PHONY: preplibrary
116-preplibrary: miniperl$(EXE_EXT) $(CONFIGPM) lib/lib.pm $(PREPLIBRARY_LIBPERL)
117+preplibrary: $(CONFIGPM) lib/lib.pm $(PREPLIBRARY_LIBPERL)
118 @sh ./makedir lib/auto
119 @echo " AutoSplitting perl library"
120 $(LDLIBPTH) ./miniperl -Ilib -e 'use AutoSplit; \
121@@ -775,35 +782,35 @@
122 autosplit_lib_modules(@ARGV)' lib/*/*.pm
123 $(MAKE) lib/re.pm
124
125-lib/Config.pod: config.sh miniperl$(EXE_EXT) configpm Porting/Glossary
126+lib/Config.pod: config.sh configpm Porting/Glossary
127 $(LDLIBPTH) ./miniperl -Ilib configpm --heavy=lib/Config_heavy.pl lib/Config.pm
128
129 $(CONFIGPM): lib/Config.pod
130
131-lib/ExtUtils/Miniperl.pm: miniperlmain.c miniperl$(EXE_EXT) minimod.pl $(CONFIGPM)
132+lib/ExtUtils/Miniperl.pm: miniperlmain.c minimod.pl $(CONFIGPM)
133 $(LDLIBPTH) ./miniperl minimod.pl > lib/ExtUtils/Miniperl.pm
134
135 lib/re.pm: ext/re/re.pm
136 cp ext/re/re.pm lib/re.pm
137
138-$(plextract): miniperl$(EXE_EXT) $(CONFIGPM) x2p/s2p
139+$(plextract): $(CONFIGPM) x2p/s2p
140 @-rm -f $@
141 $(LDLIBPTH) ./miniperl -I`pwd`/lib $@.PL
142
143-x2p/s2p: miniperl$(EXE_EXT) $(CONFIGPM) x2p/s2p.PL
144+x2p/s2p: $(CONFIGPM) x2p/s2p.PL
145 cd x2p; $(LDLIBPTH) $(MAKE) s2p
146
147-lib/lib.pm: miniperl$(EXE_EXT) $(CONFIGPM)
148+lib/lib.pm: $(CONFIGPM)
149 @-rm -f $@
150 $(LDLIBPTH) ./miniperl -Ilib lib/lib_pm.PL
151
152 unidatafiles $(unidatafiles): uni.data
153
154-uni.data: miniperl$(EXE_EXT) $(CONFIGPM) lib/unicore/mktables
155+uni.data: $(CONFIGPM) lib/unicore/mktables
156 cd lib/unicore && $(LDLIBPTH) ../../miniperl -I../../lib mktables -w
157 touch uni.data
158
159-extra.pods: miniperl$(EXE_EXT)
160+extra.pods:
161 -@test -f extra.pods && rm -f `cat extra.pods`
162 -@rm -f extra.pods
163 -@for x in `grep -l '^=[a-z]' README.* | grep -v README.vms` ; do \
164@@ -850,18 +857,7 @@
165 INSTALL_DEPENDENCE = all
166
167 install.perl: $(INSTALL_DEPENDENCE) installperl
168- if [ -n "$(COMPILE)" ]; \
169- then \
170- cd utils; $(MAKE) compile; \
171- cd ../x2p; $(MAKE) compile; \
172- cd ../pod; $(MAKE) compile; \
173- else :; \
174- fi
175- $(LDLIBPTH) ./perl installperl --destdir=$(DESTDIR) $(INSTALLFLAGS) $(STRIPFLAGS)
176- $(MAKE) extras.install
177-
178-install.man: all installman
179- $(LDLIBPTH) ./perl installman --destdir=$(DESTDIR) $(INSTALLFLAGS)
180+ ./hostperl -Ifake_config_library -Ilib -MConfig installperl $(INSTALLFLAGS) $(STRIPFLAGS)
181
182 # XXX Experimental. Hardwired values, but useful for testing.
183 # Eventually Configure could ask for some of these values.
184@@ -978,16 +974,16 @@
185 #
186 # DynaLoader may be needed for extensions that use Makefile.PL.
187
188-$(DYNALOADER): miniperl$(EXE_EXT) preplibrary FORCE
189+$(DYNALOADER): preplibrary FORCE
190 @$(LDLIBPTH) sh ext/util/make_ext $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
191
192-d_dummy $(dynamic_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE
193+d_dummy $(dynamic_ext): preplibrary $(DYNALOADER) FORCE
194 @$(LDLIBPTH) sh ext/util/make_ext dynamic $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
195
196-s_dummy $(static_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE
197+s_dummy $(static_ext): preplibrary $(DYNALOADER) FORCE
198 @$(LDLIBPTH) sh ext/util/make_ext $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
199
200-n_dummy $(nonxs_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE
201+n_dummy $(nonxs_ext): preplibrary $(DYNALOADER) FORCE
202 @$(LDLIBPTH) sh ext/util/make_ext nonxs $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
203
204 .PHONY: clean _tidy _mopup _cleaner1 _cleaner2 \
205@@ -1125,7 +1121,7 @@
206
207 test_prep_pre: preplibrary utilities $(nonxs_ext)
208
209-test_prep: test_prep_pre miniperl$(EXE_EXT) $(unidatafiles) perl$(EXE_EXT) $(dynamic_ext) $(TEST_PERL_DLL)
210+test_prep: test_prep_pre $(unidatafiles) perl$(EXE_EXT) $(dynamic_ext) $(TEST_PERL_DLL)
211 PERL=./perl $(MAKE) _test_prep
212
213 _test_tty:
214@@ -1238,7 +1234,7 @@
215
216 # Can't depend on lib/Config.pm because that might be where miniperl
217 # is crashing.
218-minitest: miniperl$(EXE_EXT) lib/re.pm minitest.prep
219+minitest: lib/re.pm minitest.prep
220 - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl$(EXE_EXT) perl$(EXE_EXT)) \
221 && $(LDLIBPTH) ./perl TEST -minitest base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t </dev/tty
222
diff --git a/meta/packages/perl/perl-5.8.8/Makefile.patch b/meta/packages/perl/perl-5.8.8/Makefile.patch
new file mode 100644
index 0000000000..c78a39b178
--- /dev/null
+++ b/meta/packages/perl/perl-5.8.8/Makefile.patch
@@ -0,0 +1,27 @@
1--- perl-5.8.8/Cross/Makefile 2007/04/06 00:47:46 1.1
2+++ perl-5.8.8/Cross/Makefile 2007/04/06 00:48:04
3@@ -12,7 +12,7 @@
4
5 export CC = $(CROSS)gcc
6 export CXX = $(CROSS)g++
7-export LD = $(CROSS)ld
8+export LD = $(CC)
9 export STRIP = $(CROSS)strip
10 export AR = $(CROSS)ar
11 export RANLIB = $(CROSS)ranlib
12@@ -58,11 +58,11 @@
13 $(TOPDIR)/generate_config_sh config.sh-$(SYS) > $(TOPDIR)/../config.sh
14 cd $(TOPDIR)/.. ; ./Configure -S ; make depend ; make ; make more
15 cd $(TOPDIR)/.. ; mkdir -p fake_config_library ; cp lib/Config.pm fake_config_library
16- cd $(TOPDIR)/.. ; $(MAKE) more2 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig"
17- cd $(TOPDIR)/.. ; $(MAKE) more3 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig"
18- cd $(TOPDIR)/.. ; $(MAKE) more4 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig"
19+ cd $(TOPDIR)/.. ; $(MAKE) more2 "PERLRUN=hostperl -I$(TOPDIR)/../fake_config_library -MConfig"
20+ cd $(TOPDIR)/.. ; $(MAKE) more3 "PERLRUN=hostperl -I$(TOPDIR)/../fake_config_library -MConfig"
21+ cd $(TOPDIR)/.. ; $(MAKE) more4 "PERLRUN=hostperl -I$(TOPDIR)/../fake_config_library -MConfig"
22 cd $(TOPDIR)/.. ; rm -rf install_me_here
23- cd $(TOPDIR)/.. ; make install-strip
24+# cd $(TOPDIR)/.. ; make install-strip
25 cd $(TOPDIR)/.. ; sh -x Cross/warp
26
27
diff --git a/meta/packages/perl/perl-5.8.8/config.sh b/meta/packages/perl/perl-5.8.8/config.sh
new file mode 100644
index 0000000000..ac8d237cac
--- /dev/null
+++ b/meta/packages/perl/perl-5.8.8/config.sh
@@ -0,0 +1,1021 @@
1#!/bin/sh
2#
3# This file was produced by running the Configure script. It holds all the
4# definitions figured out by Configure. Should you modify one of these values,
5# do not forget to propagate your changes by running "Configure -der". You may
6# instead choose to run each of the .SH files by yourself, or "Configure -S".
7#
8
9# Package name : perl5
10# Source directory : .
11# Configuration time: Thu Apr 5 19:20:23 EST 2007
12# Configured by : Open Embedded
13# Target system : linux birgitte 2.6.21-rc5 #63 tue mar 27 14:41:54 est 2007 i686 gnulinux
14
15Author=''
16Date='$Date'
17Header=''
18Id='$Id'
19Locker=''
20Log='$Log'
21Mcc='Mcc'
22RCSfile='$RCSfile'
23Revision='$Revision'
24Source=''
25State=''
26_a='.a'
27_exe=''
28_o='.o'
29afs='false'
30afsroot='/afs'
31ansi2knr=''
32aphostname=''
33api_revision='5'
34api_subversion='0'
35api_version='8'
36api_versionstring='5.8.0'
37ar='ar'
38archlib='/usr/lib/perl/5.8'
39archlibexp='/usr/lib/perl/5.8'
40archname64=''
41archname='@ARCH@-thread-multi'
42archobjs=''
43asctime_r_proto='REENTRANT_PROTO_B_SB'
44awk='awk'
45baserev='5.0'
46bash=''
47bin='/usr/bin'
48binexp='/usr/bin'
49bison='bison'
50byacc='byacc'
51c=''
52castflags='0'
53cat='cat'
54cc='gcc'
55cccdlflags='-fPIC'
56ccdlflags='-Wl,-E'
57ccname='gcc'
58ccversion=''
59cf_by='Open Embedded'
60cf_email='Open Embedded@localhost.localdomain'
61cf_time='Thu Apr 5 23:06:39 EST 2007'
62charsize='1'
63chgrp=''
64chmod='chmod'
65chown=''
66clocktype='clock_t'
67comm='comm'
68compress=''
69contains='grep'
70cp='cp'
71cpio=''
72cpp='cpp'
73cpp_stuff='42'
74cpplast='-'
75cppminus='-'
76cpprun='gcc -E'
77cppstdin='gcc -E'
78crypt_r_proto='REENTRANT_PROTO_B_CCS'
79cryptlib=''
80csh='csh'
81ctermid_r_proto='0'
82ctime_r_proto='REENTRANT_PROTO_B_SB'
83d_Gconvert='gcvt((x),(n),(b))'
84d_PRIEUldbl='define'
85d_PRIFUldbl='define'
86d_PRIGUldbl='define'
87d_PRIXU64='define'
88d_PRId64='define'
89d_PRIeldbl='define'
90d_PRIfldbl='define'
91d_PRIgldbl='define'
92d_PRIi64='define'
93d_PRIo64='define'
94d_PRIu64='define'
95d_PRIx64='define'
96d_SCNfldbl='define'
97d__fwalk='undef'
98d_access='define'
99d_accessx='undef'
100d_aintl='undef'
101d_alarm='define'
102d_archlib='define'
103d_asctime_r='define'
104d_atolf='undef'
105d_atoll='define'
106d_attribute_format='define'
107d_attribute_malloc='define'
108d_attribute_nonnull='define'
109d_attribute_noreturn='define'
110d_attribute_pure='define'
111d_attribute_unused='define'
112d_attribute_warn_unused_result='undef'
113d_bcmp='define'
114d_bcopy='define'
115d_bsd='undef'
116d_bsdgetpgrp='undef'
117d_bsdsetpgrp='undef'
118d_bzero='define'
119d_casti32='undef'
120d_castneg='define'
121d_charvspr='define'
122d_chown='define'
123d_chroot='define'
124d_chsize='undef'
125d_class='undef'
126d_clearenv='define'
127d_closedir='define'
128d_cmsghdr_s='define'
129d_const='define'
130d_copysignl='define'
131d_crypt='define'
132d_crypt_r='define'
133d_csh='undef'
134d_ctermid_r='undef'
135d_ctime_r='define'
136d_cuserid='define'
137d_dbl_dig='define'
138d_dbminitproto='undef'
139d_difftime='define'
140d_dirfd='define'
141d_dirnamlen='undef'
142d_dlerror='define'
143d_dlopen='define'
144d_dlsymun='undef'
145d_dosuid='undef'
146d_drand48_r='define'
147d_drand48proto='define'
148d_dup2='define'
149d_eaccess='undef'
150d_endgrent='define'
151d_endgrent_r='undef'
152d_endhent='define'
153d_endhostent_r='undef'
154d_endnent='define'
155d_endnetent_r='undef'
156d_endpent='define'
157d_endprotoent_r='undef'
158d_endpwent='define'
159d_endpwent_r='undef'
160d_endsent='define'
161d_endservent_r='undef'
162d_eofnblk='define'
163d_eunice='undef'
164d_faststdio='undef'
165d_fchdir='define'
166d_fchmod='define'
167d_fchown='define'
168d_fcntl='define'
169d_fcntl_can_lock='define'
170d_fd_macros='define'
171d_fd_set='define'
172d_fds_bits='define'
173d_fgetpos='define'
174d_finite='define'
175d_finitel='define'
176d_flexfnam='define'
177d_flock='define'
178d_flockproto='define'
179d_fork='define'
180d_fp_class='undef'
181d_fpathconf='define'
182d_fpclass='undef'
183d_fpclassify='undef'
184d_fpclassl='undef'
185d_fpos64_t='undef'
186d_frexpl='define'
187d_fs_data_s='undef'
188d_fseeko='define'
189d_fsetpos='define'
190d_fstatfs='define'
191d_fstatvfs='define'
192d_fsync='define'
193d_ftello='define'
194d_ftime='undef'
195d_futimes='define'
196d_getcwd='define'
197d_getespwnam='undef'
198d_getfsstat='undef'
199d_getgrent='define'
200d_getgrent_r='define'
201d_getgrgid_r='define'
202d_getgrnam_r='define'
203d_getgrps='define'
204d_gethbyaddr='define'
205d_gethbyname='define'
206d_gethent='define'
207d_gethname='define'
208d_gethostbyaddr_r='define'
209d_gethostbyname_r='define'
210d_gethostent_r='define'
211d_gethostprotos='define'
212d_getitimer='define'
213d_getlogin='define'
214d_getlogin_r='define'
215d_getmnt='undef'
216d_getmntent='define'
217d_getnbyaddr='define'
218d_getnbyname='define'
219d_getnent='define'
220d_getnetbyaddr_r='define'
221d_getnetbyname_r='define'
222d_getnetent_r='define'
223d_getnetprotos='define'
224d_getpagsz='define'
225d_getpbyname='define'
226d_getpbynumber='define'
227d_getpent='define'
228d_getpgid='define'
229d_getpgrp2='undef'
230d_getpgrp='define'
231d_getppid='define'
232d_getprior='define'
233d_getprotobyname_r='define'
234d_getprotobynumber_r='define'
235d_getprotoent_r='define'
236d_getprotoprotos='define'
237d_getprpwnam='undef'
238d_getpwent='define'
239d_getpwent_r='define'
240d_getpwnam_r='define'
241d_getpwuid_r='define'
242d_getsbyname='define'
243d_getsbyport='define'
244d_getsent='define'
245d_getservbyname_r='define'
246d_getservbyport_r='define'
247d_getservent_r='define'
248d_getservprotos='define'
249d_getspnam='define'
250d_getspnam_r='undef'
251d_gettimeod='define'
252d_gmtime_r='define'
253d_gnulibc='define'
254d_grpasswd='define'
255d_hasmntopt='define'
256d_htonl='define'
257d_ilogbl='define'
258d_index='undef'
259d_inetaton='define'
260d_int64_t='define'
261d_isascii='define'
262d_isfinite='undef'
263d_isinf='define'
264d_isnan='define'
265d_isnanl='define'
266d_killpg='define'
267d_lchown='define'
268d_ldbl_dig='define'
269d_libm_lib_version='define'
270d_link='define'
271d_localtime_r='define'
272d_locconv='define'
273d_lockf='define'
274d_longdbl='define'
275d_longlong='define'
276d_lseekproto='define'
277d_lstat='define'
278d_madvise='define'
279d_malloc_good_size='undef'
280d_malloc_size='undef'
281d_mblen='define'
282d_mbstowcs='define'
283d_mbtowc='define'
284d_memchr='define'
285d_memcmp='define'
286d_memcpy='define'
287d_memmove='define'
288d_memset='define'
289d_mkdir='define'
290d_mkdtemp='define'
291d_mkfifo='define'
292d_mkstemp='define'
293d_mkstemps='undef'
294d_mktime='define'
295d_mmap='define'
296d_modfl='define'
297d_modfl_pow32_bug='undef'
298d_modflproto='define'
299d_mprotect='define'
300d_msg='define'
301d_msg_ctrunc='define'
302d_msg_dontroute='define'
303d_msg_oob='define'
304d_msg_peek='define'
305d_msg_proxy='define'
306d_msgctl='define'
307d_msgget='define'
308d_msghdr_s='define'
309d_msgrcv='define'
310d_msgsnd='define'
311d_msync='define'
312d_munmap='define'
313d_mymalloc='undef'
314d_nice='define'
315d_nl_langinfo='define'
316d_nv_zero_is_allbits_zero='define'
317d_off64_t='define'
318d_old_pthread_create_joinable='undef'
319d_oldpthreads='undef'
320d_oldsock='undef'
321d_open3='define'
322d_pathconf='define'
323d_pause='define'
324d_perl_otherlibdirs='define'
325d_phostname='undef'
326d_pipe='define'
327d_poll='define'
328d_portable='define'
329d_procselfexe='define'
330d_pthread_atfork='define'
331d_pthread_attr_setscope='define'
332d_pthread_yield='define'
333d_pwage='undef'
334d_pwchange='undef'
335d_pwclass='undef'
336d_pwcomment='undef'
337d_pwexpire='undef'
338d_pwgecos='define'
339d_pwpasswd='define'
340d_pwquota='undef'
341d_qgcvt='define'
342d_quad='define'
343d_random_r='define'
344d_readdir64_r='define'
345d_readdir='define'
346d_readdir_r='define'
347d_readlink='define'
348d_readv='define'
349d_recvmsg='define'
350d_rename='define'
351d_rewinddir='define'
352d_rmdir='define'
353d_safebcpy='undef'
354d_safemcpy='undef'
355d_sanemcmp='define'
356d_sbrkproto='define'
357d_scalbnl='define'
358d_sched_yield='define'
359d_scm_rights='define'
360d_seekdir='define'
361d_select='define'
362d_sem='define'
363d_semctl='define'
364d_semctl_semid_ds='define'
365d_semctl_semun='define'
366d_semget='define'
367d_semop='define'
368d_sendmsg='define'
369d_setegid='define'
370d_seteuid='define'
371d_setgrent='define'
372d_setgrent_r='undef'
373d_setgrps='define'
374d_sethent='define'
375d_sethostent_r='undef'
376d_setitimer='define'
377d_setlinebuf='define'
378d_setlocale='define'
379d_setlocale_r='undef'
380d_setnent='define'
381d_setnetent_r='undef'
382d_setpent='define'
383d_setpgid='define'
384d_setpgrp2='undef'
385d_setpgrp='define'
386d_setprior='define'
387d_setproctitle='undef'
388d_setprotoent_r='undef'
389d_setpwent='define'
390d_setpwent_r='undef'
391d_setregid='define'
392d_setresgid='define'
393d_setresuid='define'
394d_setreuid='define'
395d_setrgid='undef'
396d_setruid='undef'
397d_setsent='define'
398d_setservent_r='undef'
399d_setsid='define'
400d_setvbuf='define'
401d_sfio='undef'
402d_shm='define'
403d_shmat='define'
404d_shmatprototype='define'
405d_shmctl='define'
406d_shmdt='define'
407d_shmget='define'
408d_sigaction='define'
409d_sigprocmask='define'
410d_sigsetjmp='define'
411d_sockatmark='define'
412d_sockatmarkproto='define'
413d_socket='define'
414d_socklen_t='define'
415d_sockpair='define'
416d_socks5_init='undef'
417d_sprintf_returns_strlen='define'
418d_sqrtl='define'
419d_srand48_r='define'
420d_srandom_r='define'
421d_sresgproto='define'
422d_sresuproto='define'
423d_statblks='define'
424d_statfs_f_flags='undef'
425d_statfs_s='define'
426d_statvfs='define'
427d_stdio_cnt_lval='undef'
428d_stdio_ptr_lval='undef'
429d_stdio_ptr_lval_nochange_cnt='undef'
430d_stdio_ptr_lval_sets_cnt='undef'
431d_stdio_stream_array='undef'
432d_stdiobase='undef'
433d_stdstdio='undef'
434d_strchr='define'
435d_strcoll='define'
436d_strctcpy='define'
437d_strerrm='strerror(e)'
438d_strerror='define'
439d_strerror_r='define'
440d_strftime='define'
441d_strlcat='undef'
442d_strlcpy='undef'
443d_strtod='define'
444d_strtol='define'
445d_strtold='define'
446d_strtoll='define'
447d_strtoq='define'
448d_strtoul='define'
449d_strtoull='define'
450d_strtouq='define'
451d_strxfrm='define'
452d_suidsafe='undef'
453d_symlink='define'
454d_syscall='define'
455d_syscallproto='define'
456d_sysconf='define'
457d_sysernlst=''
458d_syserrlst='define'
459d_system='define'
460d_tcgetpgrp='define'
461d_tcsetpgrp='define'
462d_telldir='define'
463d_telldirproto='define'
464d_time='define'
465d_times='define'
466d_tm_tm_gmtoff='define'
467d_tm_tm_zone='define'
468d_tmpnam_r='define'
469d_truncate='define'
470d_ttyname_r='define'
471d_tzname='define'
472d_ualarm='define'
473d_umask='define'
474d_uname='define'
475d_union_semun='undef'
476d_unordered='undef'
477d_unsetenv='define'
478d_usleep='define'
479d_usleepproto='define'
480d_ustat='define'
481d_vendorarch='define'
482d_vendorbin='define'
483d_vendorlib='define'
484d_vendorscript='define'
485d_vfork='undef'
486d_void_closedir='undef'
487d_voidsig='define'
488d_voidtty=''
489d_volatile='define'
490d_vprintf='define'
491d_wait4='define'
492d_waitpid='define'
493d_wcstombs='define'
494d_wctomb='define'
495d_writev='define'
496d_xenix='undef'
497date='date'
498db_hashtype='u_int32_t'
499db_prefixtype='size_t'
500db_version_major=''
501db_version_minor=''
502db_version_patch=''
503defvoidused='15'
504direntrytype='struct dirent'
505dlext='so'
506dlsrc='dl_dlopen.xs'
507doublesize='8'
508drand01='drand48()'
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'
511eagain='EAGAIN'
512ebcdic='undef'
513echo='echo'
514egrep='egrep'
515emacs=''
516endgrent_r_proto='0'
517endhostent_r_proto='0'
518endnetent_r_proto='0'
519endprotoent_r_proto='0'
520endpwent_r_proto='0'
521endservent_r_proto='0'
522eunicefix=':'
523exe_ext=''
524expr='expr'
525extensions='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 Errno'
526extras=''
527fflushNULL='define'
528fflushall='undef'
529find=''
530firstmakefile='makefile'
531flex=''
532fpossize='16'
533fpostype='fpos_t'
534freetype='void'
535from=':'
536full_ar='/usr/bin/ar'
537full_csh='/bin/csh'
538full_sed='/bin/sed'
539gccansipedantic=''
540gccosandvers=''
541getgrent_r_proto='REENTRANT_PROTO_I_SBWR'
542getgrgid_r_proto='REENTRANT_PROTO_I_TSBWR'
543getgrnam_r_proto='REENTRANT_PROTO_I_CSBWR'
544gethostbyaddr_r_proto='REENTRANT_PROTO_I_TsISBWRE'
545gethostbyname_r_proto='REENTRANT_PROTO_I_CSBWRE'
546gethostent_r_proto='REENTRANT_PROTO_I_SBWRE'
547getlogin_r_proto='REENTRANT_PROTO_I_BW'
548getnetbyaddr_r_proto='REENTRANT_PROTO_I_uISBWRE'
549getnetbyname_r_proto='REENTRANT_PROTO_I_CSBWRE'
550getnetent_r_proto='REENTRANT_PROTO_I_SBWRE'
551getprotobyname_r_proto='REENTRANT_PROTO_I_CSBWR'
552getprotobynumber_r_proto='REENTRANT_PROTO_I_ISBWR'
553getprotoent_r_proto='REENTRANT_PROTO_I_SBWR'
554getpwent_r_proto='REENTRANT_PROTO_I_SBWR'
555getpwnam_r_proto='REENTRANT_PROTO_I_CSBWR'
556getpwuid_r_proto='REENTRANT_PROTO_I_TSBWR'
557getservbyname_r_proto='REENTRANT_PROTO_I_CCSBWR'
558getservbyport_r_proto='REENTRANT_PROTO_I_ICSBWR'
559getservent_r_proto='REENTRANT_PROTO_I_SBWR'
560gidsign='1'
561gidsize='4'
562gidtype='gid_t'
563glibpth='/usr/shlib /lib /usr/lib /usr/lib/386 /lib/386 /usr/ccs/lib /usr/ucblib /usr/local/lib '
564gmake='gmake'
565gmtime_r_proto='REENTRANT_PROTO_S_TS'
566grep='grep'
567groupcat='cat /etc/group'
568groupstype='gid_t'
569gzip='gzip'
570h_fcntl='false'
571h_sysfile='true'
572hint='recommended'
573hostcat='cat /etc/hosts'
574html1dir=' '
575html1direxp=''
576html3dir=' '
577html3direxp=''
578i16size='2'
579i16type='short'
580i32size='4'
581i64size='8'
582i8size='1'
583i8type='char'
584i_arpainet='define'
585i_bsdioctl=''
586i_crypt='define'
587i_db='undef'
588i_dbm='undef'
589i_dirent='define'
590i_dld='undef'
591i_dlfcn='define'
592i_fcntl='undef'
593i_float='define'
594i_fp='undef'
595i_fp_class='undef'
596i_gdbm='undef'
597i_grp='define'
598i_ieeefp='undef'
599i_inttypes='define'
600i_langinfo='define'
601i_libutil='undef'
602i_limits='define'
603i_locale='define'
604i_machcthr='undef'
605i_malloc='define'
606i_math='define'
607i_memory='undef'
608i_mntent='define'
609i_ndbm='undef'
610i_netdb='define'
611i_neterrno='undef'
612i_netinettcp='define'
613i_niin='define'
614i_poll='define'
615i_prot='undef'
616i_pthread='define'
617i_pwd='define'
618i_rpcsvcdbm='undef'
619i_sfio='undef'
620i_sgtty='undef'
621i_shadow='define'
622i_socks='undef'
623i_stdarg='define'
624i_stddef='define'
625i_stdlib='define'
626i_string='define'
627i_sunmath='undef'
628i_sysaccess='undef'
629i_sysdir='define'
630i_sysfile='define'
631i_sysfilio='undef'
632i_sysin='undef'
633i_sysioctl='define'
634i_syslog='define'
635i_sysmman='define'
636i_sysmode='undef'
637i_sysmount='define'
638i_sysndir='undef'
639i_sysparam='define'
640i_sysresrc='define'
641i_syssecrt='undef'
642i_sysselct='define'
643i_syssockio='undef'
644i_sysstat='define'
645i_sysstatfs='define'
646i_sysstatvfs='define'
647i_systime='define'
648i_systimek='undef'
649i_systimes='define'
650i_systypes='define'
651i_sysuio='define'
652i_sysun='define'
653i_sysutsname='define'
654i_sysvfs='define'
655i_syswait='define'
656i_termio='undef'
657i_termios='define'
658i_time='define'
659i_unistd='define'
660i_ustat='define'
661i_utime='define'
662i_values='define'
663i_varargs='undef'
664i_varhdr='stdarg.h'
665i_vfork='undef'
666ignore_versioned_solibs='y'
667inc_version_list=' '
668inc_version_list_init='0'
669incpath=''
670inews=''
671installarchlib='@DESTDIR@/usr/lib/perl/5.8'
672installbin='@DESTDIR@/usr/bin'
673installhtml1dir=''
674installhtml3dir=''
675installman1dir='@DESTDIR@/usr/share/man/man1'
676installman3dir='@DESTDIR@/usr/share/man/man3'
677installprefix='@DESTDIR@/usr'
678installprefixexp='@DESTDIR@/usr'
679installprivlib='@DESTDIR@/usr/share/perl/5.8'
680installscript='@DESTDIR@/usr/bin'
681installsitearch='@DESTDIR@/usr/local/lib/perl/5.8.8'
682installsitebin='@DESTDIR@/usr/local/bin'
683installsitehtml1dir=''
684installsitehtml3dir=''
685installsitelib='@DESTDIR@/usr/local/share/perl/5.8.8'
686installsiteman1dir='@DESTDIR@/usr/local/man/man1'
687installsiteman3dir='@DESTDIR@/usr/local/man/man3'
688installsitescript='@DESTDIR@/usr/local/bin'
689installstyle='lib/perl5'
690installusrbinperl='define'
691installvendorarch='@DESTDIR@/usr/lib/perl5'
692installvendorbin='@DESTDIR@/usr/bin'
693installvendorhtml1dir=''
694installvendorhtml3dir=''
695installvendorlib='@DESTDIR@/usr/share/perl5'
696installvendorman1dir='@DESTDIR@/usr/share/man/man1'
697installvendorman3dir='@DESTDIR@/usr/share/man/man3'
698installvendorscript='@DESTDIR@/usr/bin'
699intsize='4'
700issymlink='test -h'
701ivdformat='"ld"'
702ivtype='long'
703known_extensions='attrs B ByteLoader Cwd Data/Dumper DB_File Devel/DProf Devel/Peek Devel/PPPort Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call GDBM_File I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 NDBM_File ODBM_File Opcode PerlIO/encoding PerlIO/scalar PerlIO/via POSIX re SDBM_File Socket Storable Sys/Hostname Sys/Syslog Thread threads Time/HiRes Unicode/Normalize XS/APItest XS/Typemap threads/shared'
704ksh=''
705ld='gcc'
706lddlflags='-shared -L/usr/local/lib'
707ldflags=' -L/usr/local/lib'
708ldflags_uselargefiles=''
709ldlibpthname='LD_LIBRARY_PATH'
710less='less'
711lib_ext='.a'
712libperl='libperl.so'
713libpth='/usr/local/lib /lib /usr/lib'
714line=''
715lint=''
716lkflags=''
717ln='ln'
718lns='/bin/ln -s'
719localtime_r_proto='REENTRANT_PROTO_S_TS'
720locincpth='/usr/local/include /opt/local/include /usr/gnu/include /opt/gnu/include /usr/GNU/include /opt/GNU/include'
721loclibpth='/usr/local/lib /opt/local/lib /usr/gnu/lib /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib'
722longlongsize='8'
723lp=''
724lpr=''
725ls='ls'
726lseeksize='8'
727lseektype='off_t'
728mail=''
729mailx=''
730make='make'
731make_set_make='#'
732mallocobj=''
733mallocsrc=''
734malloctype='void *'
735man1dir='/usr/share/man/man1'
736man1direxp='/usr/share/man/man1'
737man1ext='1'
738man3dir='/usr/share/man/man3'
739man3direxp='/usr/share/man/man3'
740man3ext='3pm'
741mips_type=''
742mistrustnm=''
743mkdir='mkdir'
744mmaptype='void *'
745modetype='mode_t'
746more='more'
747multiarch='undef'
748mv=''
749myarchname='@ARCH@'
750mydomain='.localdomain'
751myhostname='localhost'
752n='-n'
753need_va_copy='undef'
754netdb_hlen_type='size_t'
755netdb_host_type='const void *'
756netdb_name_type='const char *'
757netdb_net_type='in_addr_t'
758nm='nm'
759nm_opt=''
760nm_so_opt='--dynamic'
761nonxs_ext='Errno'
762nroff='nroff'
763nvEUformat='"E"'
764nvFUformat='"F"'
765nvGUformat='"G"'
766nveformat='"e"'
767nvfformat='"f"'
768nvgformat='"g"'
769nvsize='8'
770nvtype='double'
771o_nonblock='O_NONBLOCK'
772obj_ext='.o'
773old_pthread_create_joinable=''
774optimize='-O2'
775orderlib='false'
776osname='linux'
777otherlibdirs=' '
778package='perl5'
779pager='/usr/bin/less -isr'
780passcat='cat /etc/passwd'
781patchlevel='8'
782path_sep=':'
783perl5='hostperl'
784perl=''
785perl_patchlevel=''
786perladmin='root@localhost'
787perllibs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc'
788perlpath='hostperl'
789pg='pg'
790phostname=''
791pidtype='pid_t'
792plibpth=''
793pmake=''
794pr=''
795prefix='/usr'
796prefixexp='/usr'
797privlib='/usr/share/perl/5.8'
798privlibexp='/usr/share/perl/5.8'
799procselfexe='"/proc/self/exe"'
800prototype='define'
801randbits='48'
802randfunc='drand48'
803random_r_proto='REENTRANT_PROTO_I_St'
804randseedtype='long'
805ranlib=':'
806rd_nodata='-1'
807readdir64_r_proto='REENTRANT_PROTO_I_TSR'
808readdir_r_proto='REENTRANT_PROTO_I_TSR'
809revision='5'
810rm='rm'
811rmail=''
812run=''
813runnm='false'
814sPRIEUldbl='"LE"'
815sPRIFUldbl='"LF"'
816sPRIGUldbl='"LG"'
817sPRIeldbl='"Le"'
818sPRIfldbl='"Lf"'
819sPRIgldbl='"Lg"'
820sSCNfldbl='"Lf"'
821sched_yield='sched_yield()'
822scriptdir='/usr/bin'
823scriptdirexp='/usr/bin'
824sed='sed'
825seedfunc='srand48'
826selecttype='fd_set *'
827sendmail=''
828setgrent_r_proto='0'
829sethostent_r_proto='0'
830setlocale_r_proto='0'
831setnetent_r_proto='0'
832setprotoent_r_proto='0'
833setpwent_r_proto='0'
834setservent_r_proto='0'
835sh='/bin/sh'
836shar=''
837sharpbang='#!'
838shmattype='void *'
839shortsize='2'
840shrpenv=''
841shsharp='true'
842sig_count='65'
843sig_num='0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 6 17 29 31 '
844sig_num_init='0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 6, 17, 29, 31, 0'
845sig_size='69'
846sig_name='ZERO HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT STOP TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS NUM32 NUM33 RTMIN NUM35 NUM36 NUM37 NUM38 NUM39 NUM40 NUM41 NUM42 NUM43 NUM44 NUM45 NUM46 NUM47 NUM48 NUM49 NUM50 NUM51 NUM52 NUM53 NUM54 NUM55 NUM56 NUM57 NUM58 NUM59 NUM60 NUM61 NUM62 NUM63 RTMAX IOT CLD POLL UNUSED '
847sig_name_init='"ZERO", "HUP", "INT", "QUIT", "ILL", "TRAP", "ABRT", "BUS", "FPE", "KILL", "USR1", "SEGV", "USR2", "PIPE", "ALRM", "TERM", "STKFLT", "CHLD", "CONT", "STOP", "TSTP", "TTIN", "TTOU", "URG", "XCPU", "XFSZ", "VTALRM", "PROF", "WINCH", "IO", "PWR", "SYS", "NUM32", "NUM33", "RTMIN", "NUM35", "NUM36", "NUM37", "NUM38", "NUM39", "NUM40", "NUM41", "NUM42", "NUM43", "NUM44", "NUM45", "NUM46", "NUM47", "NUM48", "NUM49", "NUM50", "NUM51", "NUM52", "NUM53", "NUM54", "NUM55", "NUM56", "NUM57", "NUM58", "NUM59", "NUM60", "NUM61", "NUM62", "NUM63", "RTMAX", "IOT", "CLD", "POLL", "UNUSED", 0'
848signal_t='void'
849sitearch='/usr/local/lib/perl/5.8.8'
850sitearchexp='/usr/local/lib/perl/5.8.8'
851sitebin='/usr/local/bin'
852sitebinexp='/usr/local/bin'
853sitehtml1dir=''
854sitehtml1direxp=''
855sitehtml3dir=''
856sitehtml3direxp=''
857sitelib='/usr/local/share/perl/5.8.8'
858sitelib_stem=''
859sitelibexp='/usr/local/share/perl/5.8.8'
860siteman1dir='/usr/local/man/man1'
861siteman1direxp='/usr/local/man/man1'
862siteman3dir='/usr/local/man/man3'
863siteman3direxp='/usr/local/man/man3'
864siteprefix='/usr/local'
865siteprefixexp='/usr/local'
866sitescript='/usr/local/bin'
867sitescriptexp='/usr/local/bin'
868sizetype='size_t'
869sleep=''
870smail=''
871so='so'
872sockethdr=''
873socketlib=''
874socksizetype='socklen_t'
875sort='sort'
876spackage='Perl5'
877spitshell='cat'
878srand48_r_proto='REENTRANT_PROTO_I_LS'
879srandom_r_proto='REENTRANT_PROTO_I_TS'
880src='.'
881ssizetype='ssize_t'
882startperl='#!/usr/bin/perl'
883startsh='#!/bin/sh'
884static_ext=' '
885stdchar='char'
886stdio_base='((fp)->_IO_read_base)'
887stdio_bufsiz='((fp)->_IO_read_end - (fp)->_IO_read_base)'
888stdio_cnt='((fp)->_IO_read_end - (fp)->_IO_read_ptr)'
889stdio_filbuf=''
890stdio_ptr='((fp)->_IO_read_ptr)'
891stdio_stream_array=''
892strerror_r_proto='REENTRANT_PROTO_B_IBW'
893strings='/usr/include/string.h'
894submit=''
895subversion='8'
896sysman='/usr/share/man/man1'
897tail=''
898tar=''
899targetarch=''
900tbl=''
901tee=''
902test='test'
903timeincl='/usr/include/sys/time.h /usr/include/time.h '
904timetype='time_t'
905tmpnam_r_proto='REENTRANT_PROTO_B_B'
906to=':'
907touch='touch'
908tr='tr'
909trnl='\n'
910troff=''
911ttyname_r_proto='REENTRANT_PROTO_I_IBW'
912u16size='2'
913u16type='unsigned short'
914u32size='4'
915u64size='8'
916u8size='1'
917u8type='unsigned char'
918uidsign='1'
919uidsize='4'
920uidtype='uid_t'
921uname='uname'
922uniq='uniq'
923use5005threads='undef'
924usecrosscompile='undef'
925usedl='define'
926usefaststdio='define'
927useithreads='define'
928uselargefiles='define'
929uselongdouble='undef'
930usemallocwrap='define'
931usemorebits='undef'
932usemultiplicity='define'
933usemymalloc='n'
934usenm='false'
935useopcode='true'
936useperlio='define'
937useposix='true'
938usereentrant='undef'
939usesfio='false'
940useshrplib='true'
941usesitecustomize='undef'
942usesocks='undef'
943usethreads='define'
944usevendorprefix='define'
945usevfork='false'
946usrinc='/usr/include'
947uuname=''
948uvXUformat='"lX"'
949uvoformat='"lo"'
950uvtype='unsigned long'
951uvuformat='"lu"'
952uvxformat='"lx"'
953vendorarch='/usr/lib/perl5'
954vendorarchexp='/usr/lib/perl5'
955vendorbin='/usr/bin'
956vendorbinexp='/usr/bin'
957vendorhtml1dir=' '
958vendorhtml1direxp=''
959vendorhtml3dir=' '
960vendorhtml3direxp=''
961vendorlib='/usr/share/perl5'
962vendorlib_stem=''
963vendorlibexp='/usr/share/perl5'
964vendorman1dir='/usr/share/man/man1'
965vendorman1direxp='/usr/share/man/man1'
966vendorman3dir='/usr/share/man/man3'
967vendorman3direxp='/usr/share/man/man3'
968vendorprefix='/usr'
969vendorprefixexp='/usr'
970vendorscript='/usr/bin'
971vendorscriptexp='/usr/bin'
972version='5.8.8'
973version_patchlevel_string='version 8 subversion 8'
974versiononly='undef'
975vi=''
976voidflags='15'
977xlibpth='/usr/lib/386 /lib/386'
978yacc='yacc'
979yaccflags=''
980zcat=''
981zip='zip'
982# Configure command line arguments.
983config_arg0='Configure'
984config_args='-des -Doptimize=-O2 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Open Embedded -Dinstallprefix=@DESTDIR@ -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'
985config_argc=28
986config_arg1='-des'
987config_arg2='-Doptimize=-O2'
988config_arg3='-Dmyhostname=localhost'
989config_arg4='-Dperladmin=root@localhost'
990config_arg5='-Dcc=gcc'
991config_arg6='-Dcf_by=Open Embedded'
992config_arg7='-Dinstallprefix=@DESTDIR@'
993config_arg8='-Dprefix=/usr'
994config_arg9='-Dvendorprefix=/usr'
995config_arg10='-Dsiteprefix=/usr'
996config_arg11='-Dotherlibdirs=/usr/lib/perl5/5.8.8'
997config_arg12='-Duseshrplib'
998config_arg13='-Dusethreads'
999config_arg14='-Duseithreads'
1000config_arg15='-Duselargefiles'
1001config_arg16='-Ud_dosuid'
1002config_arg17='-Dd_semctl_semun'
1003config_arg18='-Ui_db'
1004config_arg19='-Ui_ndbm'
1005config_arg20='-Ui_gdbm'
1006config_arg21='-Di_shadow'
1007config_arg22='-Di_syslog'
1008config_arg23='-Dman3ext=3pm'
1009config_arg24='-Duseperlio'
1010config_arg25='-Dinstallusrbinperl'
1011config_arg26='-Ubincompat5005'
1012config_arg27='-Uversiononly'
1013config_arg28='-Dpager=/usr/bin/less -isr'
1014PERL_REVISION=5
1015PERL_VERSION=8
1016PERL_SUBVERSION=8
1017PERL_API_REVISION=5
1018PERL_API_VERSION=8
1019PERL_API_SUBVERSION=0
1020PERL_PATCHLEVEL=
1021PERL_CONFIG_SH=true
diff --git a/meta/packages/perl/perl-5.8.8/config.sh-32 b/meta/packages/perl/perl-5.8.8/config.sh-32
new file mode 100644
index 0000000000..e22d71d8ee
--- /dev/null
+++ b/meta/packages/perl/perl-5.8.8/config.sh-32
@@ -0,0 +1,58 @@
1alignbytes='4'
2ccflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
3ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
4yaccflags=''
5ccsymbols='__GNUC_PATCHLEVEL__=5'
6cppccsymbols='__GNUC__=3 __GNUC_MINOR__=3'
7cppccsymbols='__GNUC__=3 __GNUC_MINOR__=3'
8cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -I/usr/local/include'
9cppsymbols='__ELF__=1 _FILE_OFFSET_BITS=64 __GLIBC__=2 __GLIBC_MINOR__=3 __GNU_LIBRARY__=6 _GNU_SOURCE=1 i386=1 __i386=1 __i386__=1 __i486=1 __i486__=1 _LARGEFILE64_SOURCE=1 _LARGEFILE_SOURCE=1 linux=1 __linux=1 __linux__=1 _POSIX_C_SOURCE=199506L _POSIX_SOURCE=1 _REENTRANT=1 __STDC__=1 unix=1 __unix=1 __unix__=1 __USE_BSD=1 __USE_FILE_OFFSET64=1 __USE_GNU=1 __USE_LARGEFILE=1 __USE_LARGEFILE64=1 __USE_MISC=1 __USE_POSIX=1 __USE_POSIX199309=1 __USE_POSIX199506=1 __USE_POSIX2=1 __USE_REENTRANT=1 __USE_SVID=1 __USE_UNIX98=1 __USE_XOPEN=1 __USE_XOPEN_EXTENDED=1 _XOPEN_SOURCE=600 _XOPEN_SOURCE_EXTENDED=1'
10d_nv_preserves_uv='define'
11d_u32align='undef'
12gccversion='3.3.5 (Debian 1:3.3.5-13)'
13getspnam_r_proto='0'
14gidformat='"lu"'
15gnulibc_version='2.3.2'
16i32type='long'
17i64type='long long'
18ivsize='4'
19gnulibc_version='2.3.2'
20libc='/lib/libc-2.3.2.so'
21libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libpthread.so libc.so'
22libsfound=' /usr/lib/libnsl.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libpthread.so /usr/lib/libc.so'
23ignore_versioned_solibs='y'
24libs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc'
25libsdirs=' /usr/lib'
26libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libpthread.so libc.so'
27libsfound=' /usr/lib/libnsl.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libpthread.so /usr/lib/libc.so'
28libspath=' /usr/local/lib /lib /usr/lib'
29libswanted='sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util pthread c cposix posix ucb BSD'
30libswanted_uselargefiles=''
31perllibs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc'
32libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libpthread.so libc.so'
33libsfound=' /usr/lib/libnsl.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libpthread.so /usr/lib/libc.so'
34longdblsize='12'
35longlongsize='8'
36longsize='4'
37myuname='linux birgitte 2.6.21-rc5 #63 tue mar 27 14:41:54 est 2007 i686 gnulinux '
38nv_preserves_uv_bits='32'
39osvers='2.6.21-rc5'
40ptrsize='4'
41quadkind='3'
42quadtype='long long'
43uquadtype='unsigned long long'
44sPRIXU64='"LX"'
45sPRId64='"Ld"'
46sPRIi64='"Li"'
47sPRIo64='"Lo"'
48sPRIu64='"Lu"'
49sPRIx64='"Lx"'
50selectminbits='32'
51sizesize='4'
52u32type='unsigned long'
53u64type='unsigned long long'
54uidformat='"lu"'
55uquadtype='unsigned long long'
56use64bitall='undef'
57use64bitint='undef'
58uvsize='4'
diff --git a/meta/packages/perl/perl-5.8.8/config.sh-32-be b/meta/packages/perl/perl-5.8.8/config.sh-32-be
new file mode 100644
index 0000000000..a59a9abb5e
--- /dev/null
+++ b/meta/packages/perl/perl-5.8.8/config.sh-32-be
@@ -0,0 +1 @@
byteorder='4321'
diff --git a/meta/packages/perl/perl-5.8.8/config.sh-32-le b/meta/packages/perl/perl-5.8.8/config.sh-32-le
new file mode 100644
index 0000000000..10e4226567
--- /dev/null
+++ b/meta/packages/perl/perl-5.8.8/config.sh-32-le
@@ -0,0 +1 @@
byteorder='1234'
diff --git a/meta/packages/perl/perl-5.8.8/config.sh-64 b/meta/packages/perl/perl-5.8.8/config.sh-64
new file mode 100644
index 0000000000..6e58fa71a3
--- /dev/null
+++ b/meta/packages/perl/perl-5.8.8/config.sh-64
@@ -0,0 +1,58 @@
1alignbytes='8'
2ccflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
3ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
4yaccflags=''
5ccsymbols=''
6cppccsymbols=''
7cppccsymbols=''
8cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement'
9cppsymbols='__amd64=1 __amd64__=1 __ELF__=1 _FILE_OFFSET_BITS=64 __GLIBC__=2 __GLIBC_MINOR__=4 __GNUC__=4 __GNUC_MINOR__=1 __GNU_LIBRARY__=6 _GNU_SOURCE=1 _LARGEFILE64_SOURCE=1 _LARGEFILE_SOURCE=1 linux=1 __linux=1 __linux__=1 _LP64=1 __LP64__=1 _POSIX_C_SOURCE=199506L _POSIX_SOURCE=1 _REENTRANT=1 __STDC__=1 unix=1 __unix=1 __unix__=1 __USE_BSD=1 __USE_FILE_OFFSET64=1 __USE_GNU=1 __USE_LARGEFILE=1 __USE_LARGEFILE64=1 __USE_MISC=1 __USE_POSIX=1 __USE_POSIX199309=1 __USE_POSIX199506=1 __USE_POSIX2=1 __USE_REENTRANT=1 __USE_SVID=1 __USE_UNIX98=1 __USE_XOPEN=1 __USE_XOPEN_EXTENDED=1 __x86_64=1 __x86_64__=1 _XOPEN_SOURCE=600 _XOPEN_SOURCE_EXTENDED=1'
10d_nv_preserves_uv='undef'
11d_u32align='define'
12gccversion='4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)'
13getspnam_r_proto='REENTRANT_PROTO_I_CSBWR'
14gidformat='"u"'
15gnulibc_version='2.4'
16i32type='int'
17i64type='long'
18ivsize='8'
19gnulibc_version='2.4'
20libc='/lib/libc-2.4.so'
21libsfiles=' libnsl.so libdb.so libdl.so libm.so libcrypt.so libutil.so libpthread.so libc.so'
22libsfound=' /usr/lib/libnsl.so /usr/lib/libdb.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libpthread.so /usr/lib/libc.so'
23ignore_versioned_solibs='y'
24libs='-lnsl -ldb -ldl -lm -lcrypt -lutil -lpthread -lc'
25libsdirs=' /usr/lib'
26libsfiles=' libnsl.so libdb.so libdl.so libm.so libcrypt.so libutil.so libpthread.so libc.so'
27libsfound=' /usr/lib/libnsl.so /usr/lib/libdb.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libpthread.so /usr/lib/libc.so'
28libspath=' /usr/local/lib /lib /usr/lib'
29libswanted='sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util pthread c cposix posix ucb BSD'
30libswanted_uselargefiles=''
31perllibs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc'
32libsfiles=' libnsl.so libdb.so libdl.so libm.so libcrypt.so libutil.so libpthread.so libc.so'
33libsfound=' /usr/lib/libnsl.so /usr/lib/libdb.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libpthread.so /usr/lib/libc.so'
34longdblsize='16'
35longlongsize='8'
36longsize='8'
37myuname='linux nynaeve 2.6.20.4 #29 smp thu mar 29 15:35:30 est 2007 x86_64 gnulinux '
38nv_preserves_uv_bits='53'
39osvers='2.6.20.4'
40ptrsize='8'
41quadkind='2'
42quadtype='long'
43uquadtype='unsigned long'
44sPRIXU64='"lX"'
45sPRId64='"ld"'
46sPRIi64='"li"'
47sPRIo64='"lo"'
48sPRIu64='"lu"'
49sPRIx64='"lx"'
50selectminbits='64'
51sizesize='8'
52u32type='unsigned int'
53u64type='unsigned long'
54uidformat='"u"'
55uquadtype='unsigned long'
56use64bitall='define'
57use64bitint='define'
58uvsize='8'
diff --git a/meta/packages/perl/perl-5.8.8/config.sh-64-be b/meta/packages/perl/perl-5.8.8/config.sh-64-be
new file mode 100644
index 0000000000..c08ce3c431
--- /dev/null
+++ b/meta/packages/perl/perl-5.8.8/config.sh-64-be
@@ -0,0 +1 @@
byteorder='87654321'
diff --git a/meta/packages/perl/perl-5.8.8/config.sh-64-le b/meta/packages/perl/perl-5.8.8/config.sh-64-le
new file mode 100644
index 0000000000..277d2a9bee
--- /dev/null
+++ b/meta/packages/perl/perl-5.8.8/config.sh-64-le
@@ -0,0 +1 @@
byteorder='12345678'
diff --git a/meta/packages/perl/perl-5.8.8/generate-sh.patch b/meta/packages/perl/perl-5.8.8/generate-sh.patch
new file mode 100644
index 0000000000..4c2b0bd752
--- /dev/null
+++ b/meta/packages/perl/perl-5.8.8/generate-sh.patch
@@ -0,0 +1,16 @@
1Use the ld flags from the supplied configuration file. For sh we need the
2flags that specify to build PIC code so that the shared libraries work.
3
4--- perl-5.8.7/Cross/generate_config_sh~ 2006-09-25 16:34:09.000000000 +1000
5+++ perl-5.8.7/Cross/generate_config_sh 2006-09-25 16:34:09.000000000 +1000
6@@ -19,8 +19,8 @@
7 $callbacks->{'ar'} = [\&simple_process, ["AR", "arm-linux-ar"]];
8 $callbacks->{'archname'} = [\&simple_process, ["SYS", "armv4l-linux"]];
9 $callbacks->{'cc'} = [\&simple_process, ["CC", "arm-linux-gcc"]];
10-$callbacks->{'cccdlflags'} = [\&simple_process, ["CFLAGS", ""]];
11-$callbacks->{'ccdlflags'} = [\&simple_process, ["CFLAGS", ""]];
12+#$callbacks->{'cccdlflags'} = [\&simple_process, ["CFLAGS", ""]];
13+#$callbacks->{'ccdlflags'} = [\&simple_process, ["CFLAGS", ""]];
14 $callbacks->{'ccflags'} = [\&simple_process, ["CFLAGS", "-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"]];
15 $callbacks->{'ccflags_uselargefiles'} = [\&simple_process, ["CFLAGS", "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"]];
16 $callbacks->{'ccname'} = [\&simple_process, ["CC", "arm-linux-gcc"]];
diff --git a/meta/packages/perl/perl-5.8.8/native-no-gdbminc.patch b/meta/packages/perl/perl-5.8.8/native-no-gdbminc.patch
new file mode 100644
index 0000000000..f00fa2cc17
--- /dev/null
+++ b/meta/packages/perl/perl-5.8.8/native-no-gdbminc.patch
@@ -0,0 +1,18 @@
1If you have a /usr/include/gdbm/ndbm.h host on the header then the configure
2script adds -I/usr/include/gdbm to the ccflags even though gdbm support is
3disabled. Prevent perl from doing this so we don't get cross compile badness
4errors while building perl.
5
6--- perl-5.8.8/Configure 2007/05/06 23:42:18 1.1
7+++ perl-5.8.8/Configure 2007/05/06 23:42:48
8@@ -20033,8 +20033,8 @@
9 # ndbm.h header in /usr/include/gdbm/ndbm.h.
10 if $test -f /usr/include/gdbm/ndbm.h; then
11 echo '<gdbm/ndbm.h> found.'
12- ccflags="$ccflags -I/usr/include/gdbm"
13- cppflags="$cppflags -I/usr/include/gdbm"
14+# ccflags="$ccflags -I/usr/include/gdbm"
15+# cppflags="$cppflags -I/usr/include/gdbm"
16 t_ndbm=$define
17 fi
18 ;;
diff --git a/meta/packages/perl/perl-5.8.8/native-nopacklist.patch b/meta/packages/perl/perl-5.8.8/native-nopacklist.patch
new file mode 100644
index 0000000000..a0ba269e00
--- /dev/null
+++ b/meta/packages/perl/perl-5.8.8/native-nopacklist.patch
@@ -0,0 +1,84 @@
1Part of 52_debian_extutils_hacks.patch just to exclude the installation of .packlist files
2
3diff -Naur --exclude=debian perl-5.8.8.orig/lib/ExtUtils/MM_Unix.pm perl-5.8.8/lib/ExtUtils/MM_Unix.pm
4--- perl-5.8.8.orig/lib/ExtUtils/MM_Unix.pm 2005-05-21 19:42:56.000000000 +1000
5+++ perl-5.8.8/lib/ExtUtils/MM_Unix.pm 2006-02-05 17:40:19.000000000 +1100
6@@ -2054,9 +2054,7 @@
7 $(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site
8
9 pure_perl_install ::
10- $(NOECHO) $(MOD_INSTALL) \
11- read }.$self->catfile('$(PERL_ARCHLIB)','auto','$(FULLEXT)','.packlist').q{ \
12- write }.$self->catfile('$(DESTINSTALLARCHLIB)','auto','$(FULLEXT)','.packlist').q{ \
13+ $(NOECHO) $(MOD_INSTALL) \
14 $(INST_LIB) $(DESTINSTALLPRIVLIB) \
15 $(INST_ARCHLIB) $(DESTINSTALLARCHLIB) \
16 $(INST_BIN) $(DESTINSTALLBIN) \
17@@ -2081,9 +2079,7 @@
18 }.$self->catdir('$(PERL_ARCHLIB)','auto','$(FULLEXT)').q{
19
20 pure_vendor_install ::
21- $(NOECHO) $(MOD_INSTALL) \
22- read }.$self->catfile('$(VENDORARCHEXP)','auto','$(FULLEXT)','.packlist').q{ \
23- write }.$self->catfile('$(DESTINSTALLVENDORARCH)','auto','$(FULLEXT)','.packlist').q{ \
24+ $(NOECHO) $(MOD_INSTALL) \
25 $(INST_LIB) $(DESTINSTALLVENDORLIB) \
26 $(INST_ARCHLIB) $(DESTINSTALLVENDORARCH) \
27 $(INST_BIN) $(DESTINSTALLVENDORBIN) \
28@@ -2092,37 +2088,19 @@
29 $(INST_MAN3DIR) $(DESTINSTALLVENDORMAN3DIR)
30
31 doc_perl_install ::
32- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
33- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
34- -$(NOECHO) $(DOC_INSTALL) \
35- "Module" "$(NAME)" \
36- "installed into" "$(INSTALLPRIVLIB)" \
37- LINKTYPE "$(LINKTYPE)" \
38- VERSION "$(VERSION)" \
39- EXE_FILES "$(EXE_FILES)" \
40- >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{
41
42 doc_site_install ::
43- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
44- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
45- -$(NOECHO) $(DOC_INSTALL) \
46+ $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLSITEARCH)/perllocal.pod
47+ -$(NOECHO) $(MKPATH) $(DESTINSTALLSITEARCH)
48+ -$(NOECHO) $(DOC_INSTALL) \
49 "Module" "$(NAME)" \
50 "installed into" "$(INSTALLSITELIB)" \
51 LINKTYPE "$(LINKTYPE)" \
52 VERSION "$(VERSION)" \
53 EXE_FILES "$(EXE_FILES)" \
54- >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{
55+ >> }.$self->catfile('$(DESTINSTALLSITEARCH)','perllocal.pod').q{
56
57 doc_vendor_install ::
58- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
59- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
60- -$(NOECHO) $(DOC_INSTALL) \
61- "Module" "$(NAME)" \
62- "installed into" "$(INSTALLVENDORLIB)" \
63- LINKTYPE "$(LINKTYPE)" \
64- VERSION "$(VERSION)" \
65- EXE_FILES "$(EXE_FILES)" \
66- >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{
67
68 };
69
70@@ -2131,13 +2109,12 @@
71 $(NOECHO) $(NOOP)
72
73 uninstall_from_perldirs ::
74- $(NOECHO) $(UNINSTALL) }.$self->catfile('$(PERL_ARCHLIB)','auto','$(FULLEXT)','.packlist').q{
75
76 uninstall_from_sitedirs ::
77 $(NOECHO) $(UNINSTALL) }.$self->catfile('$(SITEARCHEXP)','auto','$(FULLEXT)','.packlist').q{
78
79 uninstall_from_vendordirs ::
80- $(NOECHO) $(UNINSTALL) }.$self->catfile('$(VENDORARCHEXP)','auto','$(FULLEXT)','.packlist').q{
81+
82 };
83
84 join("",@m);
diff --git a/meta/packages/perl/perl-5.8.8/perl-configpm-switch.patch b/meta/packages/perl/perl-5.8.8/perl-configpm-switch.patch
new file mode 100644
index 0000000000..1aacd35189
--- /dev/null
+++ b/meta/packages/perl/perl-5.8.8/perl-configpm-switch.patch
@@ -0,0 +1,34 @@
1This patch is used for perl-native only. It enables the switching of
2configuration files between Config_heavy.pl and
3Config_heavy-target.pl by setting the environment variables
4PERLCONFIGTARGET - the later containing settings for the target while
5the former contains those for the host. This will allow cpan.bbclass
6to use the settings appropriate for the native and/or target builds
7as required. This also disables the use of the cache since the cached
8values would be valid for the host only.
9
10--- perl-5.8.8/configpm 2007/04/30 03:10:43 1.1
11+++ perl-5.8.8/configpm 2007/04/30 03:11:56
12@@ -374,7 +374,7 @@
13 my($self, $key) = @_;
14
15 # check for cached value (which may be undef so we use exists not defined)
16- return $self->{$key} if exists $self->{$key};
17+ #return $self->{$key} if exists $self->{$key};
18
19 return $self->fetch_string($key);
20 }
21@@ -530,7 +530,12 @@
22 sub DESTROY { }
23
24 sub AUTOLOAD {
25- require 'Config_heavy.pl';
26+ my $cfgfile = 'Config_heavy.pl';
27+ if (defined $ENV{PERLCONFIGTARGET} and $ENV{PERLCONFIGTARGET} eq "yes")
28+ {
29+ $cfgfile = 'Config_heavy-target.pl';
30+ }
31+ require $cfgfile;
32 goto \&launcher unless $Config::AUTOLOAD =~ /launcher$/;
33 die "&Config::AUTOLOAD failed on $Config::AUTOLOAD";
34 }
diff --git a/meta/packages/perl/perl-5.8.8/perl-configure.sh b/meta/packages/perl/perl-5.8.8/perl-configure.sh
new file mode 100755
index 0000000000..9800394b63
--- /dev/null
+++ b/meta/packages/perl/perl-5.8.8/perl-configure.sh
@@ -0,0 +1,43 @@
1ls#! /bin/sh
2
3#
4# Generate the common perl configuration
5# Needs to be run on a host that matches the bitsize of the target platform
6#
7
8echo sh Configure -des \
9 -Doptimize=-O2 \
10 -Dmyhostname=localhost \
11 -Dperladmin=root@localhost \
12 -Dcc=gcc \
13 -Dcf_by='Open Embedded' \
14 -Dinstallprefix=@DESTDIR@ \
15 -Dprefix=/usr \
16 -Dvendorprefix=/usr \
17 -Dsiteprefix=/usr \
18 -Dotherlibdirs=/usr/lib/perl5/5.8.8 \
19 -Duseshrplib \
20 -Dusethreads \
21 -Duseithreads \
22 -Duselargefiles \
23 -Ud_dosuid \
24 -Dd_semctl_semun \
25 -Ui_db \
26 -Ui_ndbm \
27 -Ui_gdbm \
28 -Di_shadow \
29 -Di_syslog \
30 -Dman3ext=3pm \
31 -Duseperlio \
32 -Dinstallusrbinperl \
33 -Ubincompat5005 \
34 -Uversiononly \
35 -Dpager='/usr/bin/less -isr'
36
37cp -f config.sh config.sh.COMMON
38
39TARGETOS=$(grep myarchname config.sh.COMMON | sed "s#.*'\(.*\)'.*#\1#")
40
41sed -r -i config.sh.COMMON \
42 -e "s#(install.*=')(/usr)/local(.*')#\1@DESTDIR@\2\3#g" \
43 -e 's#'$TARGETOS'#@ARCH@#g'
diff --git a/meta/packages/perl/perl-5.8.8/perl-dynloader.patch b/meta/packages/perl/perl-5.8.8/perl-dynloader.patch
new file mode 100644
index 0000000000..e2dc774d5e
--- /dev/null
+++ b/meta/packages/perl/perl-5.8.8/perl-dynloader.patch
@@ -0,0 +1,23 @@
1Allow the location that .so files are searched for for dynamic
2loading to be changed via an environment variable. This is to allow
3us to load .so's from the host system while building for the target
4system.
5
6--- perl-5.8.8/ext/DynaLoader/XSLoader_pm.PL 2007/04/20 09:03:08 1.1
7+++ perl-5.8.8/ext/DynaLoader/XSLoader_pm.PL 2007/04/20 09:41:28
8@@ -65,6 +65,15 @@
9 print OUT <<'EOT';
10 my $modpname = join('/',@modparts);
11 my $modlibname = (caller())[1];
12+ # OE: Allow env to form dynamic loader to look in a different place
13+ # This is so it finds the host .so files, not the targets
14+ if (defined $ENV{PERLHOSTLIB})
15+ {
16+ my $hostlib = $ENV{PERLHOSTLIB};
17+ print STDERR "*** Module name IN: $modlibname\n";
18+ $modlibname =~ s#(?<!/)(\.\./)*lib/#$hostlib#g;
19+ print STDERR "*** Module name OUT: $modlibname\n";
20+ }
21 my $c = @modparts;
22 $modlibname =~ s,[\\/][^\\/]+$,, while $c--; # Q&D basename
23 my $file = "$modlibname/auto/$modpname/$modfname.$dl_dlext";
diff --git a/meta/packages/perl/perl-5.8.8/perl-moreconfig.patch b/meta/packages/perl/perl-5.8.8/perl-moreconfig.patch
new file mode 100644
index 0000000000..590c72536b
--- /dev/null
+++ b/meta/packages/perl/perl-5.8.8/perl-moreconfig.patch
@@ -0,0 +1,16 @@
1We need ld in the fake config library, but it's not included by default. So
2expand the number of items included. While this works it indicates that the
3rest of the config items are not being picked up and/or are being picked up
4from the host. More investigation needed.
5
6--- perl-5.8.8/configpm 2007/04/20 09:48:05 1.1
7+++ perl-5.8.8/configpm 2007/04/20 09:57:12
8@@ -2,7 +2,7 @@
9 use strict;
10 use vars qw(%Config $Config_SH_expanded);
11
12-my $how_many_common = 22;
13+my $how_many_common = 50;
14
15 # commonly used names to precache (and hence lookup fastest)
16 my %Common;