diff options
author | Richard Purdie <richard@openedhand.com> | 2007-05-27 21:04:11 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-05-27 21:04:11 +0000 |
commit | 80785a10721e523029c27f264fca5a892cf68e36 (patch) | |
tree | d33b51538db742a5d6f8df6b184b5531e8bf68ce /meta/packages/perl/perl-5.8.8 | |
parent | bd4fd028a799e804d803eac14ccb9e164ecc4938 (diff) | |
download | poky-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')
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 @@ | |||
1 | Correctly identify arch-specific modules in ext/ where the .pm files | ||
2 | are under lib. | ||
3 | |||
4 | Ensure that POSIX/SigAction is kept with the rest of the POSIX module | ||
5 | under archlib. | ||
6 | |||
7 | diff --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 @@ | |||
1 | Various 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 | |||
15 | diff -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: | ||
28 | diff -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"; | ||
42 | diff -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}; | ||
78 | diff -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; | ||
188 | diff -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 | |||
202 | diff -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 @@ | |||
1 | Tweak @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 | |||
10 | The rationale being that an admin (via site), or module packager | ||
11 | (vendor) can chose to shadow core modules when there is a newer | ||
12 | version than is included in core. | ||
13 | |||
14 | diff -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 @@ | |||
1 | In a Debian installation, not all directories in @INC need exist (the | ||
2 | site directories for example are created on demand). | ||
3 | |||
4 | Suggested by Joey Hess <joeyh@debian.org>. | ||
5 | |||
6 | diff -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 @@ | |||
1 | Set location of CPAN::Config to /etc/perl as /usr may not be writable. | ||
2 | |||
3 | diff -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 @@ | |||
1 | Set location of libnet.cfg to /etc/perl/Net as /usr may not be writable. | ||
2 | |||
3 | diff -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 @@ | |||
1 | Some modules which are included in core set INSTALLDIRS => 'perl' | ||
2 | explicitly in Makefile.PL. This makes sense for the normal @INC | ||
3 | ordering, but not ours. Provide a sensible default. | ||
4 | |||
5 | diff -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 @@ | |||
1 | Tweak enc2xs to handle Debian @INC: ignore missing directories, | ||
2 | follow symlinks (/usr/share/perl/5.8 -> 5.8.4). | ||
3 | |||
4 | diff -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 | |||
15 | Author='' | ||
16 | Date='$Date' | ||
17 | Header='' | ||
18 | Id='$Id' | ||
19 | Locker='' | ||
20 | Log='$Log' | ||
21 | Mcc='Mcc' | ||
22 | RCSfile='$RCSfile' | ||
23 | Revision='$Revision' | ||
24 | Source='' | ||
25 | State='' | ||
26 | _a='.a' | ||
27 | _exe='' | ||
28 | _o='.o' | ||
29 | afs='false' | ||
30 | afsroot='/afs' | ||
31 | ansi2knr='' | ||
32 | aphostname='' | ||
33 | api_revision='5' | ||
34 | api_subversion='0' | ||
35 | api_version='8' | ||
36 | api_versionstring='5.8.0' | ||
37 | ar='ar' | ||
38 | archlib='/usr/lib/perl/5.8' | ||
39 | archlibexp='/usr/lib/perl/5.8' | ||
40 | archname64='' | ||
41 | archname='@ARCH@-thread-multi' | ||
42 | archobjs='' | ||
43 | asctime_r_proto='REENTRANT_PROTO_B_SB' | ||
44 | awk='awk' | ||
45 | baserev='5.0' | ||
46 | bash='' | ||
47 | bin='/usr/bin' | ||
48 | binexp='/usr/bin' | ||
49 | bison='bison' | ||
50 | byacc='byacc' | ||
51 | c='' | ||
52 | castflags='0' | ||
53 | cat='cat' | ||
54 | cc='gcc' | ||
55 | cccdlflags='-fPIC' | ||
56 | ccdlflags='-Wl,-E' | ||
57 | ccname='gcc' | ||
58 | ccversion='' | ||
59 | cf_by='Open Embedded' | ||
60 | cf_email='Open Embedded@localhost.localdomain' | ||
61 | cf_time='Thu Apr 5 23:06:39 EST 2007' | ||
62 | charsize='1' | ||
63 | chgrp='' | ||
64 | chmod='chmod' | ||
65 | chown='' | ||
66 | clocktype='clock_t' | ||
67 | comm='comm' | ||
68 | compress='' | ||
69 | contains='grep' | ||
70 | cp='cp' | ||
71 | cpio='' | ||
72 | cpp='cpp' | ||
73 | cpp_stuff='42' | ||
74 | cpplast='-' | ||
75 | cppminus='-' | ||
76 | cpprun='gcc -E' | ||
77 | cppstdin='gcc -E' | ||
78 | crypt_r_proto='REENTRANT_PROTO_B_CCS' | ||
79 | cryptlib='' | ||
80 | csh='csh' | ||
81 | ctermid_r_proto='0' | ||
82 | ctime_r_proto='REENTRANT_PROTO_B_SB' | ||
83 | d_Gconvert='gcvt((x),(n),(b))' | ||
84 | d_PRIEUldbl='define' | ||
85 | d_PRIFUldbl='define' | ||
86 | d_PRIGUldbl='define' | ||
87 | d_PRIXU64='define' | ||
88 | d_PRId64='define' | ||
89 | d_PRIeldbl='define' | ||
90 | d_PRIfldbl='define' | ||
91 | d_PRIgldbl='define' | ||
92 | d_PRIi64='define' | ||
93 | d_PRIo64='define' | ||
94 | d_PRIu64='define' | ||
95 | d_PRIx64='define' | ||
96 | d_SCNfldbl='define' | ||
97 | d__fwalk='undef' | ||
98 | d_access='define' | ||
99 | d_accessx='undef' | ||
100 | d_aintl='undef' | ||
101 | d_alarm='define' | ||
102 | d_archlib='define' | ||
103 | d_asctime_r='define' | ||
104 | d_atolf='undef' | ||
105 | d_atoll='define' | ||
106 | d_attribute_format='define' | ||
107 | d_attribute_malloc='define' | ||
108 | d_attribute_nonnull='define' | ||
109 | d_attribute_noreturn='define' | ||
110 | d_attribute_pure='define' | ||
111 | d_attribute_unused='define' | ||
112 | d_attribute_warn_unused_result='undef' | ||
113 | d_bcmp='define' | ||
114 | d_bcopy='define' | ||
115 | d_bsd='undef' | ||
116 | d_bsdgetpgrp='undef' | ||
117 | d_bsdsetpgrp='undef' | ||
118 | d_bzero='define' | ||
119 | d_casti32='undef' | ||
120 | d_castneg='define' | ||
121 | d_charvspr='define' | ||
122 | d_chown='define' | ||
123 | d_chroot='define' | ||
124 | d_chsize='undef' | ||
125 | d_class='undef' | ||
126 | d_clearenv='define' | ||
127 | d_closedir='define' | ||
128 | d_cmsghdr_s='define' | ||
129 | d_const='define' | ||
130 | d_copysignl='define' | ||
131 | d_crypt='define' | ||
132 | d_crypt_r='define' | ||
133 | d_csh='undef' | ||
134 | d_ctermid_r='undef' | ||
135 | d_ctime_r='define' | ||
136 | d_cuserid='define' | ||
137 | d_dbl_dig='define' | ||
138 | d_dbminitproto='undef' | ||
139 | d_difftime='define' | ||
140 | d_dirfd='define' | ||
141 | d_dirnamlen='undef' | ||
142 | d_dlerror='define' | ||
143 | d_dlopen='define' | ||
144 | d_dlsymun='undef' | ||
145 | d_dosuid='undef' | ||
146 | d_drand48_r='define' | ||
147 | d_drand48proto='define' | ||
148 | d_dup2='define' | ||
149 | d_eaccess='undef' | ||
150 | d_endgrent='define' | ||
151 | d_endgrent_r='undef' | ||
152 | d_endhent='define' | ||
153 | d_endhostent_r='undef' | ||
154 | d_endnent='define' | ||
155 | d_endnetent_r='undef' | ||
156 | d_endpent='define' | ||
157 | d_endprotoent_r='undef' | ||
158 | d_endpwent='define' | ||
159 | d_endpwent_r='undef' | ||
160 | d_endsent='define' | ||
161 | d_endservent_r='undef' | ||
162 | d_eofnblk='define' | ||
163 | d_eunice='undef' | ||
164 | d_faststdio='undef' | ||
165 | d_fchdir='define' | ||
166 | d_fchmod='define' | ||
167 | d_fchown='define' | ||
168 | d_fcntl='define' | ||
169 | d_fcntl_can_lock='define' | ||
170 | d_fd_macros='define' | ||
171 | d_fd_set='define' | ||
172 | d_fds_bits='define' | ||
173 | d_fgetpos='define' | ||
174 | d_finite='define' | ||
175 | d_finitel='define' | ||
176 | d_flexfnam='define' | ||
177 | d_flock='define' | ||
178 | d_flockproto='define' | ||
179 | d_fork='define' | ||
180 | d_fp_class='undef' | ||
181 | d_fpathconf='define' | ||
182 | d_fpclass='undef' | ||
183 | d_fpclassify='undef' | ||
184 | d_fpclassl='undef' | ||
185 | d_fpos64_t='undef' | ||
186 | d_frexpl='define' | ||
187 | d_fs_data_s='undef' | ||
188 | d_fseeko='define' | ||
189 | d_fsetpos='define' | ||
190 | d_fstatfs='define' | ||
191 | d_fstatvfs='define' | ||
192 | d_fsync='define' | ||
193 | d_ftello='define' | ||
194 | d_ftime='undef' | ||
195 | d_futimes='define' | ||
196 | d_getcwd='define' | ||
197 | d_getespwnam='undef' | ||
198 | d_getfsstat='undef' | ||
199 | d_getgrent='define' | ||
200 | d_getgrent_r='define' | ||
201 | d_getgrgid_r='define' | ||
202 | d_getgrnam_r='define' | ||
203 | d_getgrps='define' | ||
204 | d_gethbyaddr='define' | ||
205 | d_gethbyname='define' | ||
206 | d_gethent='define' | ||
207 | d_gethname='define' | ||
208 | d_gethostbyaddr_r='define' | ||
209 | d_gethostbyname_r='define' | ||
210 | d_gethostent_r='define' | ||
211 | d_gethostprotos='define' | ||
212 | d_getitimer='define' | ||
213 | d_getlogin='define' | ||
214 | d_getlogin_r='define' | ||
215 | d_getmnt='undef' | ||
216 | d_getmntent='define' | ||
217 | d_getnbyaddr='define' | ||
218 | d_getnbyname='define' | ||
219 | d_getnent='define' | ||
220 | d_getnetbyaddr_r='define' | ||
221 | d_getnetbyname_r='define' | ||
222 | d_getnetent_r='define' | ||
223 | d_getnetprotos='define' | ||
224 | d_getpagsz='define' | ||
225 | d_getpbyname='define' | ||
226 | d_getpbynumber='define' | ||
227 | d_getpent='define' | ||
228 | d_getpgid='define' | ||
229 | d_getpgrp2='undef' | ||
230 | d_getpgrp='define' | ||
231 | d_getppid='define' | ||
232 | d_getprior='define' | ||
233 | d_getprotobyname_r='define' | ||
234 | d_getprotobynumber_r='define' | ||
235 | d_getprotoent_r='define' | ||
236 | d_getprotoprotos='define' | ||
237 | d_getprpwnam='undef' | ||
238 | d_getpwent='define' | ||
239 | d_getpwent_r='define' | ||
240 | d_getpwnam_r='define' | ||
241 | d_getpwuid_r='define' | ||
242 | d_getsbyname='define' | ||
243 | d_getsbyport='define' | ||
244 | d_getsent='define' | ||
245 | d_getservbyname_r='define' | ||
246 | d_getservbyport_r='define' | ||
247 | d_getservent_r='define' | ||
248 | d_getservprotos='define' | ||
249 | d_getspnam='define' | ||
250 | d_getspnam_r='undef' | ||
251 | d_gettimeod='define' | ||
252 | d_gmtime_r='define' | ||
253 | d_gnulibc='define' | ||
254 | d_grpasswd='define' | ||
255 | d_hasmntopt='define' | ||
256 | d_htonl='define' | ||
257 | d_ilogbl='define' | ||
258 | d_index='undef' | ||
259 | d_inetaton='define' | ||
260 | d_int64_t='define' | ||
261 | d_isascii='define' | ||
262 | d_isfinite='undef' | ||
263 | d_isinf='define' | ||
264 | d_isnan='define' | ||
265 | d_isnanl='define' | ||
266 | d_killpg='define' | ||
267 | d_lchown='define' | ||
268 | d_ldbl_dig='define' | ||
269 | d_libm_lib_version='define' | ||
270 | d_link='define' | ||
271 | d_localtime_r='define' | ||
272 | d_locconv='define' | ||
273 | d_lockf='define' | ||
274 | d_longdbl='define' | ||
275 | d_longlong='define' | ||
276 | d_lseekproto='define' | ||
277 | d_lstat='define' | ||
278 | d_madvise='define' | ||
279 | d_malloc_good_size='undef' | ||
280 | d_malloc_size='undef' | ||
281 | d_mblen='define' | ||
282 | d_mbstowcs='define' | ||
283 | d_mbtowc='define' | ||
284 | d_memchr='define' | ||
285 | d_memcmp='define' | ||
286 | d_memcpy='define' | ||
287 | d_memmove='define' | ||
288 | d_memset='define' | ||
289 | d_mkdir='define' | ||
290 | d_mkdtemp='define' | ||
291 | d_mkfifo='define' | ||
292 | d_mkstemp='define' | ||
293 | d_mkstemps='undef' | ||
294 | d_mktime='define' | ||
295 | d_mmap='define' | ||
296 | d_modfl='define' | ||
297 | d_modfl_pow32_bug='undef' | ||
298 | d_modflproto='define' | ||
299 | d_mprotect='define' | ||
300 | d_msg='define' | ||
301 | d_msg_ctrunc='define' | ||
302 | d_msg_dontroute='define' | ||
303 | d_msg_oob='define' | ||
304 | d_msg_peek='define' | ||
305 | d_msg_proxy='define' | ||
306 | d_msgctl='define' | ||
307 | d_msgget='define' | ||
308 | d_msghdr_s='define' | ||
309 | d_msgrcv='define' | ||
310 | d_msgsnd='define' | ||
311 | d_msync='define' | ||
312 | d_munmap='define' | ||
313 | d_mymalloc='undef' | ||
314 | d_nice='define' | ||
315 | d_nl_langinfo='define' | ||
316 | d_nv_zero_is_allbits_zero='define' | ||
317 | d_off64_t='define' | ||
318 | d_old_pthread_create_joinable='undef' | ||
319 | d_oldpthreads='undef' | ||
320 | d_oldsock='undef' | ||
321 | d_open3='define' | ||
322 | d_pathconf='define' | ||
323 | d_pause='define' | ||
324 | d_perl_otherlibdirs='define' | ||
325 | d_phostname='undef' | ||
326 | d_pipe='define' | ||
327 | d_poll='define' | ||
328 | d_portable='define' | ||
329 | d_procselfexe='define' | ||
330 | d_pthread_atfork='define' | ||
331 | d_pthread_attr_setscope='define' | ||
332 | d_pthread_yield='define' | ||
333 | d_pwage='undef' | ||
334 | d_pwchange='undef' | ||
335 | d_pwclass='undef' | ||
336 | d_pwcomment='undef' | ||
337 | d_pwexpire='undef' | ||
338 | d_pwgecos='define' | ||
339 | d_pwpasswd='define' | ||
340 | d_pwquota='undef' | ||
341 | d_qgcvt='define' | ||
342 | d_quad='define' | ||
343 | d_random_r='define' | ||
344 | d_readdir64_r='define' | ||
345 | d_readdir='define' | ||
346 | d_readdir_r='define' | ||
347 | d_readlink='define' | ||
348 | d_readv='define' | ||
349 | d_recvmsg='define' | ||
350 | d_rename='define' | ||
351 | d_rewinddir='define' | ||
352 | d_rmdir='define' | ||
353 | d_safebcpy='undef' | ||
354 | d_safemcpy='undef' | ||
355 | d_sanemcmp='define' | ||
356 | d_sbrkproto='define' | ||
357 | d_scalbnl='define' | ||
358 | d_sched_yield='define' | ||
359 | d_scm_rights='define' | ||
360 | d_seekdir='define' | ||
361 | d_select='define' | ||
362 | d_sem='define' | ||
363 | d_semctl='define' | ||
364 | d_semctl_semid_ds='define' | ||
365 | d_semctl_semun='define' | ||
366 | d_semget='define' | ||
367 | d_semop='define' | ||
368 | d_sendmsg='define' | ||
369 | d_setegid='define' | ||
370 | d_seteuid='define' | ||
371 | d_setgrent='define' | ||
372 | d_setgrent_r='undef' | ||
373 | d_setgrps='define' | ||
374 | d_sethent='define' | ||
375 | d_sethostent_r='undef' | ||
376 | d_setitimer='define' | ||
377 | d_setlinebuf='define' | ||
378 | d_setlocale='define' | ||
379 | d_setlocale_r='undef' | ||
380 | d_setnent='define' | ||
381 | d_setnetent_r='undef' | ||
382 | d_setpent='define' | ||
383 | d_setpgid='define' | ||
384 | d_setpgrp2='undef' | ||
385 | d_setpgrp='define' | ||
386 | d_setprior='define' | ||
387 | d_setproctitle='undef' | ||
388 | d_setprotoent_r='undef' | ||
389 | d_setpwent='define' | ||
390 | d_setpwent_r='undef' | ||
391 | d_setregid='define' | ||
392 | d_setresgid='define' | ||
393 | d_setresuid='define' | ||
394 | d_setreuid='define' | ||
395 | d_setrgid='undef' | ||
396 | d_setruid='undef' | ||
397 | d_setsent='define' | ||
398 | d_setservent_r='undef' | ||
399 | d_setsid='define' | ||
400 | d_setvbuf='define' | ||
401 | d_sfio='undef' | ||
402 | d_shm='define' | ||
403 | d_shmat='define' | ||
404 | d_shmatprototype='define' | ||
405 | d_shmctl='define' | ||
406 | d_shmdt='define' | ||
407 | d_shmget='define' | ||
408 | d_sigaction='define' | ||
409 | d_sigprocmask='define' | ||
410 | d_sigsetjmp='define' | ||
411 | d_sockatmark='define' | ||
412 | d_sockatmarkproto='define' | ||
413 | d_socket='define' | ||
414 | d_socklen_t='define' | ||
415 | d_sockpair='define' | ||
416 | d_socks5_init='undef' | ||
417 | d_sprintf_returns_strlen='define' | ||
418 | d_sqrtl='define' | ||
419 | d_srand48_r='define' | ||
420 | d_srandom_r='define' | ||
421 | d_sresgproto='define' | ||
422 | d_sresuproto='define' | ||
423 | d_statblks='define' | ||
424 | d_statfs_f_flags='undef' | ||
425 | d_statfs_s='define' | ||
426 | d_statvfs='define' | ||
427 | d_stdio_cnt_lval='undef' | ||
428 | d_stdio_ptr_lval='undef' | ||
429 | d_stdio_ptr_lval_nochange_cnt='undef' | ||
430 | d_stdio_ptr_lval_sets_cnt='undef' | ||
431 | d_stdio_stream_array='undef' | ||
432 | d_stdiobase='undef' | ||
433 | d_stdstdio='undef' | ||
434 | d_strchr='define' | ||
435 | d_strcoll='define' | ||
436 | d_strctcpy='define' | ||
437 | d_strerrm='strerror(e)' | ||
438 | d_strerror='define' | ||
439 | d_strerror_r='define' | ||
440 | d_strftime='define' | ||
441 | d_strlcat='undef' | ||
442 | d_strlcpy='undef' | ||
443 | d_strtod='define' | ||
444 | d_strtol='define' | ||
445 | d_strtold='define' | ||
446 | d_strtoll='define' | ||
447 | d_strtoq='define' | ||
448 | d_strtoul='define' | ||
449 | d_strtoull='define' | ||
450 | d_strtouq='define' | ||
451 | d_strxfrm='define' | ||
452 | d_suidsafe='undef' | ||
453 | d_symlink='define' | ||
454 | d_syscall='define' | ||
455 | d_syscallproto='define' | ||
456 | d_sysconf='define' | ||
457 | d_sysernlst='' | ||
458 | d_syserrlst='define' | ||
459 | d_system='define' | ||
460 | d_tcgetpgrp='define' | ||
461 | d_tcsetpgrp='define' | ||
462 | d_telldir='define' | ||
463 | d_telldirproto='define' | ||
464 | d_time='define' | ||
465 | d_times='define' | ||
466 | d_tm_tm_gmtoff='define' | ||
467 | d_tm_tm_zone='define' | ||
468 | d_tmpnam_r='define' | ||
469 | d_truncate='define' | ||
470 | d_ttyname_r='define' | ||
471 | d_tzname='define' | ||
472 | d_ualarm='define' | ||
473 | d_umask='define' | ||
474 | d_uname='define' | ||
475 | d_union_semun='undef' | ||
476 | d_unordered='undef' | ||
477 | d_unsetenv='define' | ||
478 | d_usleep='define' | ||
479 | d_usleepproto='define' | ||
480 | d_ustat='define' | ||
481 | d_vendorarch='define' | ||
482 | d_vendorbin='define' | ||
483 | d_vendorlib='define' | ||
484 | d_vendorscript='define' | ||
485 | d_vfork='undef' | ||
486 | d_void_closedir='undef' | ||
487 | d_voidsig='define' | ||
488 | d_voidtty='' | ||
489 | d_volatile='define' | ||
490 | d_vprintf='define' | ||
491 | d_wait4='define' | ||
492 | d_waitpid='define' | ||
493 | d_wcstombs='define' | ||
494 | d_wctomb='define' | ||
495 | d_writev='define' | ||
496 | d_xenix='undef' | ||
497 | date='date' | ||
498 | db_hashtype='u_int32_t' | ||
499 | db_prefixtype='size_t' | ||
500 | db_version_major='' | ||
501 | db_version_minor='' | ||
502 | db_version_patch='' | ||
503 | defvoidused='15' | ||
504 | direntrytype='struct dirent' | ||
505 | dlext='so' | ||
506 | dlsrc='dl_dlopen.xs' | ||
507 | doublesize='8' | ||
508 | drand01='drand48()' | ||
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' | ||
511 | eagain='EAGAIN' | ||
512 | ebcdic='undef' | ||
513 | echo='echo' | ||
514 | egrep='egrep' | ||
515 | emacs='' | ||
516 | endgrent_r_proto='0' | ||
517 | endhostent_r_proto='0' | ||
518 | endnetent_r_proto='0' | ||
519 | endprotoent_r_proto='0' | ||
520 | endpwent_r_proto='0' | ||
521 | endservent_r_proto='0' | ||
522 | eunicefix=':' | ||
523 | exe_ext='' | ||
524 | expr='expr' | ||
525 | extensions='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' | ||
526 | extras='' | ||
527 | fflushNULL='define' | ||
528 | fflushall='undef' | ||
529 | find='' | ||
530 | firstmakefile='makefile' | ||
531 | flex='' | ||
532 | fpossize='16' | ||
533 | fpostype='fpos_t' | ||
534 | freetype='void' | ||
535 | from=':' | ||
536 | full_ar='/usr/bin/ar' | ||
537 | full_csh='/bin/csh' | ||
538 | full_sed='/bin/sed' | ||
539 | gccansipedantic='' | ||
540 | gccosandvers='' | ||
541 | getgrent_r_proto='REENTRANT_PROTO_I_SBWR' | ||
542 | getgrgid_r_proto='REENTRANT_PROTO_I_TSBWR' | ||
543 | getgrnam_r_proto='REENTRANT_PROTO_I_CSBWR' | ||
544 | gethostbyaddr_r_proto='REENTRANT_PROTO_I_TsISBWRE' | ||
545 | gethostbyname_r_proto='REENTRANT_PROTO_I_CSBWRE' | ||
546 | gethostent_r_proto='REENTRANT_PROTO_I_SBWRE' | ||
547 | getlogin_r_proto='REENTRANT_PROTO_I_BW' | ||
548 | getnetbyaddr_r_proto='REENTRANT_PROTO_I_uISBWRE' | ||
549 | getnetbyname_r_proto='REENTRANT_PROTO_I_CSBWRE' | ||
550 | getnetent_r_proto='REENTRANT_PROTO_I_SBWRE' | ||
551 | getprotobyname_r_proto='REENTRANT_PROTO_I_CSBWR' | ||
552 | getprotobynumber_r_proto='REENTRANT_PROTO_I_ISBWR' | ||
553 | getprotoent_r_proto='REENTRANT_PROTO_I_SBWR' | ||
554 | getpwent_r_proto='REENTRANT_PROTO_I_SBWR' | ||
555 | getpwnam_r_proto='REENTRANT_PROTO_I_CSBWR' | ||
556 | getpwuid_r_proto='REENTRANT_PROTO_I_TSBWR' | ||
557 | getservbyname_r_proto='REENTRANT_PROTO_I_CCSBWR' | ||
558 | getservbyport_r_proto='REENTRANT_PROTO_I_ICSBWR' | ||
559 | getservent_r_proto='REENTRANT_PROTO_I_SBWR' | ||
560 | gidsign='1' | ||
561 | gidsize='4' | ||
562 | gidtype='gid_t' | ||
563 | glibpth='/usr/shlib /lib /usr/lib /usr/lib/386 /lib/386 /usr/ccs/lib /usr/ucblib /usr/local/lib ' | ||
564 | gmake='gmake' | ||
565 | gmtime_r_proto='REENTRANT_PROTO_S_TS' | ||
566 | grep='grep' | ||
567 | groupcat='cat /etc/group' | ||
568 | groupstype='gid_t' | ||
569 | gzip='gzip' | ||
570 | h_fcntl='false' | ||
571 | h_sysfile='true' | ||
572 | hint='recommended' | ||
573 | hostcat='cat /etc/hosts' | ||
574 | html1dir=' ' | ||
575 | html1direxp='' | ||
576 | html3dir=' ' | ||
577 | html3direxp='' | ||
578 | i16size='2' | ||
579 | i16type='short' | ||
580 | i32size='4' | ||
581 | i64size='8' | ||
582 | i8size='1' | ||
583 | i8type='char' | ||
584 | i_arpainet='define' | ||
585 | i_bsdioctl='' | ||
586 | i_crypt='define' | ||
587 | i_db='undef' | ||
588 | i_dbm='undef' | ||
589 | i_dirent='define' | ||
590 | i_dld='undef' | ||
591 | i_dlfcn='define' | ||
592 | i_fcntl='undef' | ||
593 | i_float='define' | ||
594 | i_fp='undef' | ||
595 | i_fp_class='undef' | ||
596 | i_gdbm='undef' | ||
597 | i_grp='define' | ||
598 | i_ieeefp='undef' | ||
599 | i_inttypes='define' | ||
600 | i_langinfo='define' | ||
601 | i_libutil='undef' | ||
602 | i_limits='define' | ||
603 | i_locale='define' | ||
604 | i_machcthr='undef' | ||
605 | i_malloc='define' | ||
606 | i_math='define' | ||
607 | i_memory='undef' | ||
608 | i_mntent='define' | ||
609 | i_ndbm='undef' | ||
610 | i_netdb='define' | ||
611 | i_neterrno='undef' | ||
612 | i_netinettcp='define' | ||
613 | i_niin='define' | ||
614 | i_poll='define' | ||
615 | i_prot='undef' | ||
616 | i_pthread='define' | ||
617 | i_pwd='define' | ||
618 | i_rpcsvcdbm='undef' | ||
619 | i_sfio='undef' | ||
620 | i_sgtty='undef' | ||
621 | i_shadow='define' | ||
622 | i_socks='undef' | ||
623 | i_stdarg='define' | ||
624 | i_stddef='define' | ||
625 | i_stdlib='define' | ||
626 | i_string='define' | ||
627 | i_sunmath='undef' | ||
628 | i_sysaccess='undef' | ||
629 | i_sysdir='define' | ||
630 | i_sysfile='define' | ||
631 | i_sysfilio='undef' | ||
632 | i_sysin='undef' | ||
633 | i_sysioctl='define' | ||
634 | i_syslog='define' | ||
635 | i_sysmman='define' | ||
636 | i_sysmode='undef' | ||
637 | i_sysmount='define' | ||
638 | i_sysndir='undef' | ||
639 | i_sysparam='define' | ||
640 | i_sysresrc='define' | ||
641 | i_syssecrt='undef' | ||
642 | i_sysselct='define' | ||
643 | i_syssockio='undef' | ||
644 | i_sysstat='define' | ||
645 | i_sysstatfs='define' | ||
646 | i_sysstatvfs='define' | ||
647 | i_systime='define' | ||
648 | i_systimek='undef' | ||
649 | i_systimes='define' | ||
650 | i_systypes='define' | ||
651 | i_sysuio='define' | ||
652 | i_sysun='define' | ||
653 | i_sysutsname='define' | ||
654 | i_sysvfs='define' | ||
655 | i_syswait='define' | ||
656 | i_termio='undef' | ||
657 | i_termios='define' | ||
658 | i_time='define' | ||
659 | i_unistd='define' | ||
660 | i_ustat='define' | ||
661 | i_utime='define' | ||
662 | i_values='define' | ||
663 | i_varargs='undef' | ||
664 | i_varhdr='stdarg.h' | ||
665 | i_vfork='undef' | ||
666 | ignore_versioned_solibs='y' | ||
667 | inc_version_list=' ' | ||
668 | inc_version_list_init='0' | ||
669 | incpath='' | ||
670 | inews='' | ||
671 | installarchlib='@DESTDIR@/usr/lib/perl/5.8' | ||
672 | installbin='@DESTDIR@/usr/bin' | ||
673 | installhtml1dir='' | ||
674 | installhtml3dir='' | ||
675 | installman1dir='@DESTDIR@/usr/share/man/man1' | ||
676 | installman3dir='@DESTDIR@/usr/share/man/man3' | ||
677 | installprefix='@DESTDIR@/usr' | ||
678 | installprefixexp='@DESTDIR@/usr' | ||
679 | installprivlib='@DESTDIR@/usr/share/perl/5.8' | ||
680 | installscript='@DESTDIR@/usr/bin' | ||
681 | installsitearch='@DESTDIR@/usr/local/lib/perl/5.8.8' | ||
682 | installsitebin='@DESTDIR@/usr/local/bin' | ||
683 | installsitehtml1dir='' | ||
684 | installsitehtml3dir='' | ||
685 | installsitelib='@DESTDIR@/usr/local/share/perl/5.8.8' | ||
686 | installsiteman1dir='@DESTDIR@/usr/local/man/man1' | ||
687 | installsiteman3dir='@DESTDIR@/usr/local/man/man3' | ||
688 | installsitescript='@DESTDIR@/usr/local/bin' | ||
689 | installstyle='lib/perl5' | ||
690 | installusrbinperl='define' | ||
691 | installvendorarch='@DESTDIR@/usr/lib/perl5' | ||
692 | installvendorbin='@DESTDIR@/usr/bin' | ||
693 | installvendorhtml1dir='' | ||
694 | installvendorhtml3dir='' | ||
695 | installvendorlib='@DESTDIR@/usr/share/perl5' | ||
696 | installvendorman1dir='@DESTDIR@/usr/share/man/man1' | ||
697 | installvendorman3dir='@DESTDIR@/usr/share/man/man3' | ||
698 | installvendorscript='@DESTDIR@/usr/bin' | ||
699 | intsize='4' | ||
700 | issymlink='test -h' | ||
701 | ivdformat='"ld"' | ||
702 | ivtype='long' | ||
703 | known_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' | ||
704 | ksh='' | ||
705 | ld='gcc' | ||
706 | lddlflags='-shared -L/usr/local/lib' | ||
707 | ldflags=' -L/usr/local/lib' | ||
708 | ldflags_uselargefiles='' | ||
709 | ldlibpthname='LD_LIBRARY_PATH' | ||
710 | less='less' | ||
711 | lib_ext='.a' | ||
712 | libperl='libperl.so' | ||
713 | libpth='/usr/local/lib /lib /usr/lib' | ||
714 | line='' | ||
715 | lint='' | ||
716 | lkflags='' | ||
717 | ln='ln' | ||
718 | lns='/bin/ln -s' | ||
719 | localtime_r_proto='REENTRANT_PROTO_S_TS' | ||
720 | locincpth='/usr/local/include /opt/local/include /usr/gnu/include /opt/gnu/include /usr/GNU/include /opt/GNU/include' | ||
721 | loclibpth='/usr/local/lib /opt/local/lib /usr/gnu/lib /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib' | ||
722 | longlongsize='8' | ||
723 | lp='' | ||
724 | lpr='' | ||
725 | ls='ls' | ||
726 | lseeksize='8' | ||
727 | lseektype='off_t' | ||
728 | mail='' | ||
729 | mailx='' | ||
730 | make='make' | ||
731 | make_set_make='#' | ||
732 | mallocobj='' | ||
733 | mallocsrc='' | ||
734 | malloctype='void *' | ||
735 | man1dir='/usr/share/man/man1' | ||
736 | man1direxp='/usr/share/man/man1' | ||
737 | man1ext='1' | ||
738 | man3dir='/usr/share/man/man3' | ||
739 | man3direxp='/usr/share/man/man3' | ||
740 | man3ext='3pm' | ||
741 | mips_type='' | ||
742 | mistrustnm='' | ||
743 | mkdir='mkdir' | ||
744 | mmaptype='void *' | ||
745 | modetype='mode_t' | ||
746 | more='more' | ||
747 | multiarch='undef' | ||
748 | mv='' | ||
749 | myarchname='@ARCH@' | ||
750 | mydomain='.localdomain' | ||
751 | myhostname='localhost' | ||
752 | n='-n' | ||
753 | need_va_copy='undef' | ||
754 | netdb_hlen_type='size_t' | ||
755 | netdb_host_type='const void *' | ||
756 | netdb_name_type='const char *' | ||
757 | netdb_net_type='in_addr_t' | ||
758 | nm='nm' | ||
759 | nm_opt='' | ||
760 | nm_so_opt='--dynamic' | ||
761 | nonxs_ext='Errno' | ||
762 | nroff='nroff' | ||
763 | nvEUformat='"E"' | ||
764 | nvFUformat='"F"' | ||
765 | nvGUformat='"G"' | ||
766 | nveformat='"e"' | ||
767 | nvfformat='"f"' | ||
768 | nvgformat='"g"' | ||
769 | nvsize='8' | ||
770 | nvtype='double' | ||
771 | o_nonblock='O_NONBLOCK' | ||
772 | obj_ext='.o' | ||
773 | old_pthread_create_joinable='' | ||
774 | optimize='-O2' | ||
775 | orderlib='false' | ||
776 | osname='linux' | ||
777 | otherlibdirs=' ' | ||
778 | package='perl5' | ||
779 | pager='/usr/bin/less -isr' | ||
780 | passcat='cat /etc/passwd' | ||
781 | patchlevel='8' | ||
782 | path_sep=':' | ||
783 | perl5='hostperl' | ||
784 | perl='' | ||
785 | perl_patchlevel='' | ||
786 | perladmin='root@localhost' | ||
787 | perllibs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc' | ||
788 | perlpath='hostperl' | ||
789 | pg='pg' | ||
790 | phostname='' | ||
791 | pidtype='pid_t' | ||
792 | plibpth='' | ||
793 | pmake='' | ||
794 | pr='' | ||
795 | prefix='/usr' | ||
796 | prefixexp='/usr' | ||
797 | privlib='/usr/share/perl/5.8' | ||
798 | privlibexp='/usr/share/perl/5.8' | ||
799 | procselfexe='"/proc/self/exe"' | ||
800 | prototype='define' | ||
801 | randbits='48' | ||
802 | randfunc='drand48' | ||
803 | random_r_proto='REENTRANT_PROTO_I_St' | ||
804 | randseedtype='long' | ||
805 | ranlib=':' | ||
806 | rd_nodata='-1' | ||
807 | readdir64_r_proto='REENTRANT_PROTO_I_TSR' | ||
808 | readdir_r_proto='REENTRANT_PROTO_I_TSR' | ||
809 | revision='5' | ||
810 | rm='rm' | ||
811 | rmail='' | ||
812 | run='' | ||
813 | runnm='false' | ||
814 | sPRIEUldbl='"LE"' | ||
815 | sPRIFUldbl='"LF"' | ||
816 | sPRIGUldbl='"LG"' | ||
817 | sPRIeldbl='"Le"' | ||
818 | sPRIfldbl='"Lf"' | ||
819 | sPRIgldbl='"Lg"' | ||
820 | sSCNfldbl='"Lf"' | ||
821 | sched_yield='sched_yield()' | ||
822 | scriptdir='/usr/bin' | ||
823 | scriptdirexp='/usr/bin' | ||
824 | sed='sed' | ||
825 | seedfunc='srand48' | ||
826 | selecttype='fd_set *' | ||
827 | sendmail='' | ||
828 | setgrent_r_proto='0' | ||
829 | sethostent_r_proto='0' | ||
830 | setlocale_r_proto='0' | ||
831 | setnetent_r_proto='0' | ||
832 | setprotoent_r_proto='0' | ||
833 | setpwent_r_proto='0' | ||
834 | setservent_r_proto='0' | ||
835 | sh='/bin/sh' | ||
836 | shar='' | ||
837 | sharpbang='#!' | ||
838 | shmattype='void *' | ||
839 | shortsize='2' | ||
840 | shrpenv='' | ||
841 | shsharp='true' | ||
842 | sig_count='65' | ||
843 | sig_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 ' | ||
844 | sig_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' | ||
845 | sig_size='69' | ||
846 | sig_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 ' | ||
847 | sig_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' | ||
848 | signal_t='void' | ||
849 | sitearch='/usr/local/lib/perl/5.8.8' | ||
850 | sitearchexp='/usr/local/lib/perl/5.8.8' | ||
851 | sitebin='/usr/local/bin' | ||
852 | sitebinexp='/usr/local/bin' | ||
853 | sitehtml1dir='' | ||
854 | sitehtml1direxp='' | ||
855 | sitehtml3dir='' | ||
856 | sitehtml3direxp='' | ||
857 | sitelib='/usr/local/share/perl/5.8.8' | ||
858 | sitelib_stem='' | ||
859 | sitelibexp='/usr/local/share/perl/5.8.8' | ||
860 | siteman1dir='/usr/local/man/man1' | ||
861 | siteman1direxp='/usr/local/man/man1' | ||
862 | siteman3dir='/usr/local/man/man3' | ||
863 | siteman3direxp='/usr/local/man/man3' | ||
864 | siteprefix='/usr/local' | ||
865 | siteprefixexp='/usr/local' | ||
866 | sitescript='/usr/local/bin' | ||
867 | sitescriptexp='/usr/local/bin' | ||
868 | sizetype='size_t' | ||
869 | sleep='' | ||
870 | smail='' | ||
871 | so='so' | ||
872 | sockethdr='' | ||
873 | socketlib='' | ||
874 | socksizetype='socklen_t' | ||
875 | sort='sort' | ||
876 | spackage='Perl5' | ||
877 | spitshell='cat' | ||
878 | srand48_r_proto='REENTRANT_PROTO_I_LS' | ||
879 | srandom_r_proto='REENTRANT_PROTO_I_TS' | ||
880 | src='.' | ||
881 | ssizetype='ssize_t' | ||
882 | startperl='#!/usr/bin/perl' | ||
883 | startsh='#!/bin/sh' | ||
884 | static_ext=' ' | ||
885 | stdchar='char' | ||
886 | stdio_base='((fp)->_IO_read_base)' | ||
887 | stdio_bufsiz='((fp)->_IO_read_end - (fp)->_IO_read_base)' | ||
888 | stdio_cnt='((fp)->_IO_read_end - (fp)->_IO_read_ptr)' | ||
889 | stdio_filbuf='' | ||
890 | stdio_ptr='((fp)->_IO_read_ptr)' | ||
891 | stdio_stream_array='' | ||
892 | strerror_r_proto='REENTRANT_PROTO_B_IBW' | ||
893 | strings='/usr/include/string.h' | ||
894 | submit='' | ||
895 | subversion='8' | ||
896 | sysman='/usr/share/man/man1' | ||
897 | tail='' | ||
898 | tar='' | ||
899 | targetarch='' | ||
900 | tbl='' | ||
901 | tee='' | ||
902 | test='test' | ||
903 | timeincl='/usr/include/sys/time.h /usr/include/time.h ' | ||
904 | timetype='time_t' | ||
905 | tmpnam_r_proto='REENTRANT_PROTO_B_B' | ||
906 | to=':' | ||
907 | touch='touch' | ||
908 | tr='tr' | ||
909 | trnl='\n' | ||
910 | troff='' | ||
911 | ttyname_r_proto='REENTRANT_PROTO_I_IBW' | ||
912 | u16size='2' | ||
913 | u16type='unsigned short' | ||
914 | u32size='4' | ||
915 | u64size='8' | ||
916 | u8size='1' | ||
917 | u8type='unsigned char' | ||
918 | uidsign='1' | ||
919 | uidsize='4' | ||
920 | uidtype='uid_t' | ||
921 | uname='uname' | ||
922 | uniq='uniq' | ||
923 | use5005threads='undef' | ||
924 | usecrosscompile='undef' | ||
925 | usedl='define' | ||
926 | usefaststdio='define' | ||
927 | useithreads='define' | ||
928 | uselargefiles='define' | ||
929 | uselongdouble='undef' | ||
930 | usemallocwrap='define' | ||
931 | usemorebits='undef' | ||
932 | usemultiplicity='define' | ||
933 | usemymalloc='n' | ||
934 | usenm='false' | ||
935 | useopcode='true' | ||
936 | useperlio='define' | ||
937 | useposix='true' | ||
938 | usereentrant='undef' | ||
939 | usesfio='false' | ||
940 | useshrplib='true' | ||
941 | usesitecustomize='undef' | ||
942 | usesocks='undef' | ||
943 | usethreads='define' | ||
944 | usevendorprefix='define' | ||
945 | usevfork='false' | ||
946 | usrinc='/usr/include' | ||
947 | uuname='' | ||
948 | uvXUformat='"lX"' | ||
949 | uvoformat='"lo"' | ||
950 | uvtype='unsigned long' | ||
951 | uvuformat='"lu"' | ||
952 | uvxformat='"lx"' | ||
953 | vendorarch='/usr/lib/perl5' | ||
954 | vendorarchexp='/usr/lib/perl5' | ||
955 | vendorbin='/usr/bin' | ||
956 | vendorbinexp='/usr/bin' | ||
957 | vendorhtml1dir=' ' | ||
958 | vendorhtml1direxp='' | ||
959 | vendorhtml3dir=' ' | ||
960 | vendorhtml3direxp='' | ||
961 | vendorlib='/usr/share/perl5' | ||
962 | vendorlib_stem='' | ||
963 | vendorlibexp='/usr/share/perl5' | ||
964 | vendorman1dir='/usr/share/man/man1' | ||
965 | vendorman1direxp='/usr/share/man/man1' | ||
966 | vendorman3dir='/usr/share/man/man3' | ||
967 | vendorman3direxp='/usr/share/man/man3' | ||
968 | vendorprefix='/usr' | ||
969 | vendorprefixexp='/usr' | ||
970 | vendorscript='/usr/bin' | ||
971 | vendorscriptexp='/usr/bin' | ||
972 | version='5.8.8' | ||
973 | version_patchlevel_string='version 8 subversion 8' | ||
974 | versiononly='undef' | ||
975 | vi='' | ||
976 | voidflags='15' | ||
977 | xlibpth='/usr/lib/386 /lib/386' | ||
978 | yacc='yacc' | ||
979 | yaccflags='' | ||
980 | zcat='' | ||
981 | zip='zip' | ||
982 | # Configure command line arguments. | ||
983 | config_arg0='Configure' | ||
984 | config_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' | ||
985 | config_argc=28 | ||
986 | config_arg1='-des' | ||
987 | config_arg2='-Doptimize=-O2' | ||
988 | config_arg3='-Dmyhostname=localhost' | ||
989 | config_arg4='-Dperladmin=root@localhost' | ||
990 | config_arg5='-Dcc=gcc' | ||
991 | config_arg6='-Dcf_by=Open Embedded' | ||
992 | config_arg7='-Dinstallprefix=@DESTDIR@' | ||
993 | config_arg8='-Dprefix=/usr' | ||
994 | config_arg9='-Dvendorprefix=/usr' | ||
995 | config_arg10='-Dsiteprefix=/usr' | ||
996 | config_arg11='-Dotherlibdirs=/usr/lib/perl5/5.8.8' | ||
997 | config_arg12='-Duseshrplib' | ||
998 | config_arg13='-Dusethreads' | ||
999 | config_arg14='-Duseithreads' | ||
1000 | config_arg15='-Duselargefiles' | ||
1001 | config_arg16='-Ud_dosuid' | ||
1002 | config_arg17='-Dd_semctl_semun' | ||
1003 | config_arg18='-Ui_db' | ||
1004 | config_arg19='-Ui_ndbm' | ||
1005 | config_arg20='-Ui_gdbm' | ||
1006 | config_arg21='-Di_shadow' | ||
1007 | config_arg22='-Di_syslog' | ||
1008 | config_arg23='-Dman3ext=3pm' | ||
1009 | config_arg24='-Duseperlio' | ||
1010 | config_arg25='-Dinstallusrbinperl' | ||
1011 | config_arg26='-Ubincompat5005' | ||
1012 | config_arg27='-Uversiononly' | ||
1013 | config_arg28='-Dpager=/usr/bin/less -isr' | ||
1014 | PERL_REVISION=5 | ||
1015 | PERL_VERSION=8 | ||
1016 | PERL_SUBVERSION=8 | ||
1017 | PERL_API_REVISION=5 | ||
1018 | PERL_API_VERSION=8 | ||
1019 | PERL_API_SUBVERSION=0 | ||
1020 | PERL_PATCHLEVEL= | ||
1021 | PERL_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 @@ | |||
1 | alignbytes='4' | ||
2 | ccflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' | ||
3 | ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' | ||
4 | yaccflags='' | ||
5 | ccsymbols='__GNUC_PATCHLEVEL__=5' | ||
6 | cppccsymbols='__GNUC__=3 __GNUC_MINOR__=3' | ||
7 | cppccsymbols='__GNUC__=3 __GNUC_MINOR__=3' | ||
8 | cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -I/usr/local/include' | ||
9 | cppsymbols='__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' | ||
10 | d_nv_preserves_uv='define' | ||
11 | d_u32align='undef' | ||
12 | gccversion='3.3.5 (Debian 1:3.3.5-13)' | ||
13 | getspnam_r_proto='0' | ||
14 | gidformat='"lu"' | ||
15 | gnulibc_version='2.3.2' | ||
16 | i32type='long' | ||
17 | i64type='long long' | ||
18 | ivsize='4' | ||
19 | gnulibc_version='2.3.2' | ||
20 | libc='/lib/libc-2.3.2.so' | ||
21 | libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libpthread.so libc.so' | ||
22 | libsfound=' /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' | ||
23 | ignore_versioned_solibs='y' | ||
24 | libs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc' | ||
25 | libsdirs=' /usr/lib' | ||
26 | libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libpthread.so libc.so' | ||
27 | libsfound=' /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' | ||
28 | libspath=' /usr/local/lib /lib /usr/lib' | ||
29 | libswanted='sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util pthread c cposix posix ucb BSD' | ||
30 | libswanted_uselargefiles='' | ||
31 | perllibs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc' | ||
32 | libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libpthread.so libc.so' | ||
33 | libsfound=' /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' | ||
34 | longdblsize='12' | ||
35 | longlongsize='8' | ||
36 | longsize='4' | ||
37 | myuname='linux birgitte 2.6.21-rc5 #63 tue mar 27 14:41:54 est 2007 i686 gnulinux ' | ||
38 | nv_preserves_uv_bits='32' | ||
39 | osvers='2.6.21-rc5' | ||
40 | ptrsize='4' | ||
41 | quadkind='3' | ||
42 | quadtype='long long' | ||
43 | uquadtype='unsigned long long' | ||
44 | sPRIXU64='"LX"' | ||
45 | sPRId64='"Ld"' | ||
46 | sPRIi64='"Li"' | ||
47 | sPRIo64='"Lo"' | ||
48 | sPRIu64='"Lu"' | ||
49 | sPRIx64='"Lx"' | ||
50 | selectminbits='32' | ||
51 | sizesize='4' | ||
52 | u32type='unsigned long' | ||
53 | u64type='unsigned long long' | ||
54 | uidformat='"lu"' | ||
55 | uquadtype='unsigned long long' | ||
56 | use64bitall='undef' | ||
57 | use64bitint='undef' | ||
58 | uvsize='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 @@ | |||
1 | alignbytes='8' | ||
2 | ccflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' | ||
3 | ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' | ||
4 | yaccflags='' | ||
5 | ccsymbols='' | ||
6 | cppccsymbols='' | ||
7 | cppccsymbols='' | ||
8 | cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement' | ||
9 | cppsymbols='__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' | ||
10 | d_nv_preserves_uv='undef' | ||
11 | d_u32align='define' | ||
12 | gccversion='4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)' | ||
13 | getspnam_r_proto='REENTRANT_PROTO_I_CSBWR' | ||
14 | gidformat='"u"' | ||
15 | gnulibc_version='2.4' | ||
16 | i32type='int' | ||
17 | i64type='long' | ||
18 | ivsize='8' | ||
19 | gnulibc_version='2.4' | ||
20 | libc='/lib/libc-2.4.so' | ||
21 | libsfiles=' libnsl.so libdb.so libdl.so libm.so libcrypt.so libutil.so libpthread.so libc.so' | ||
22 | libsfound=' /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' | ||
23 | ignore_versioned_solibs='y' | ||
24 | libs='-lnsl -ldb -ldl -lm -lcrypt -lutil -lpthread -lc' | ||
25 | libsdirs=' /usr/lib' | ||
26 | libsfiles=' libnsl.so libdb.so libdl.so libm.so libcrypt.so libutil.so libpthread.so libc.so' | ||
27 | libsfound=' /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' | ||
28 | libspath=' /usr/local/lib /lib /usr/lib' | ||
29 | libswanted='sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util pthread c cposix posix ucb BSD' | ||
30 | libswanted_uselargefiles='' | ||
31 | perllibs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc' | ||
32 | libsfiles=' libnsl.so libdb.so libdl.so libm.so libcrypt.so libutil.so libpthread.so libc.so' | ||
33 | libsfound=' /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' | ||
34 | longdblsize='16' | ||
35 | longlongsize='8' | ||
36 | longsize='8' | ||
37 | myuname='linux nynaeve 2.6.20.4 #29 smp thu mar 29 15:35:30 est 2007 x86_64 gnulinux ' | ||
38 | nv_preserves_uv_bits='53' | ||
39 | osvers='2.6.20.4' | ||
40 | ptrsize='8' | ||
41 | quadkind='2' | ||
42 | quadtype='long' | ||
43 | uquadtype='unsigned long' | ||
44 | sPRIXU64='"lX"' | ||
45 | sPRId64='"ld"' | ||
46 | sPRIi64='"li"' | ||
47 | sPRIo64='"lo"' | ||
48 | sPRIu64='"lu"' | ||
49 | sPRIx64='"lx"' | ||
50 | selectminbits='64' | ||
51 | sizesize='8' | ||
52 | u32type='unsigned int' | ||
53 | u64type='unsigned long' | ||
54 | uidformat='"u"' | ||
55 | uquadtype='unsigned long' | ||
56 | use64bitall='define' | ||
57 | use64bitint='define' | ||
58 | uvsize='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 @@ | |||
1 | Use the ld flags from the supplied configuration file. For sh we need the | ||
2 | flags 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 @@ | |||
1 | If you have a /usr/include/gdbm/ndbm.h host on the header then the configure | ||
2 | script adds -I/usr/include/gdbm to the ccflags even though gdbm support is | ||
3 | disabled. Prevent perl from doing this so we don't get cross compile badness | ||
4 | errors 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 @@ | |||
1 | Part of 52_debian_extutils_hacks.patch just to exclude the installation of .packlist files | ||
2 | |||
3 | diff -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 @@ | |||
1 | This patch is used for perl-native only. It enables the switching of | ||
2 | configuration files between Config_heavy.pl and | ||
3 | Config_heavy-target.pl by setting the environment variables | ||
4 | PERLCONFIGTARGET - the later containing settings for the target while | ||
5 | the former contains those for the host. This will allow cpan.bbclass | ||
6 | to use the settings appropriate for the native and/or target builds | ||
7 | as required. This also disables the use of the cache since the cached | ||
8 | values 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 @@ | |||
1 | ls#! /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 | |||
8 | echo 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 | |||
37 | cp -f config.sh config.sh.COMMON | ||
38 | |||
39 | TARGETOS=$(grep myarchname config.sh.COMMON | sed "s#.*'\(.*\)'.*#\1#") | ||
40 | |||
41 | sed -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 @@ | |||
1 | Allow the location that .so files are searched for for dynamic | ||
2 | loading to be changed via an environment variable. This is to allow | ||
3 | us to load .so's from the host system while building for the target | ||
4 | system. | ||
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 @@ | |||
1 | We need ld in the fake config library, but it's not included by default. So | ||
2 | expand the number of items included. While this works it indicates that the | ||
3 | rest of the config items are not being picked up and/or are being picked up | ||
4 | from 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; | ||