summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl-5.12.2
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.12.2')
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/09_fix_installperl.patch19
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/Makefile.SH.patch288
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/Makefile.patch57
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/asm-pageh-fix.patch19
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/config.sh1086
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/config.sh-3238
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/config.sh-32-be1
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/config.sh-32-le1
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/config.sh-6438
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/config.sh-64-be1
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/config.sh-64-le1
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/cross-generate_uudmap.patch13
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/arm_optim.diff32
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/arm_thread_stress_timeout.diff23
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/cpan_config_path.diff22
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/cpan_definstalldirs.diff35
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/cpanplus_config_path.diff43
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/cpanplus_definstalldirs.diff52
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/db_file_ver.diff32
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/deprecate-with-apt.diff59
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/devel-ppport-ia64-optim.diff32
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/disable-zlib-bundling.diff29
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/doc_info.diff34
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/enc2xs_inc.diff49
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/errno_ver.diff32
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/extutils_hacks.diff313
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/fakeroot.diff43
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/autodie-flock.diff98
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/concat-stack-corruption.diff37
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/cpanplus-without-home.diff30
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/h2ph-gcc-4.5.diff106
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/hurd-ccflags.diff26
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/lc-numeric-docs.diff95
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/lc-numeric-sprintf.diff29
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/net_smtp_docs.diff23
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/processPL.diff43
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/instmodsh_doc.diff26
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/ld_run_path.diff23
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/libnet_config_path.diff35
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/m68k_thread_stress.diff43
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/mod_paths.diff98
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/module_build_man_extensions.diff31
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/perlivp.diff38
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/prune_libs.diff36
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/squelch-locale-warnings.diff53
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/generate-sh.patch46
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/installperl.patch15
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/native-nopacklist.patch80
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/native-perlinc.patch24
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/native-ssp.patch14
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/perl-configpm-switch.patch43
-rwxr-xr-xmeta/recipes-devtools/perl/perl-5.12.2/perl-configure.sh43
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/perl-dynloader.patch23
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/perl-enable-gdbm.patch17
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/perl-moreconfig.patch16
55 files changed, 3583 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/09_fix_installperl.patch b/meta/recipes-devtools/perl/perl-5.12.2/09_fix_installperl.patch
new file mode 100644
index 0000000000..6f2531b952
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/09_fix_installperl.patch
@@ -0,0 +1,19 @@
1Correctly identify arch-specific modules in ext/ where the .pm files
2are under lib.
3
4Ensure that POSIX/SigAction is kept with the rest of the POSIX module
5under archlib.
6
7Index: perl-5.12.2/installperl
8===================================================================
9--- perl-5.12.2.orig/installperl
10+++ perl-5.12.2/installperl
11@@ -750,7 +750,7 @@ sub installlib {
12 }
13
14 if (-f $_) {
15- if (/\.(?:al|ix)$/ && !($dir =~ m[^auto/(.*)$])) {
16+ if (/\.(?:al|ix)$/ && !($dir =~ m[^auto/(.*)$] && $archpms{$1})) {
17 $installlib = $installprivlib;
18 #We're installing *.al and *.ix files into $installprivlib,
19 #but we have to delete old *.al and *.ix files from the 5.000
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/Makefile.SH.patch b/meta/recipes-devtools/perl/perl-5.12.2/Makefile.SH.patch
new file mode 100644
index 0000000000..103fe978bc
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/Makefile.SH.patch
@@ -0,0 +1,288 @@
1Index: perl-5.12.2/Makefile.SH
2===================================================================
3--- perl-5.12.2.orig/Makefile.SH
4+++ perl-5.12.2/Makefile.SH
5@@ -50,12 +50,12 @@ case "$useshrplib" in
6 true)
7 # Prefix all runs of 'miniperl' and 'perl' with
8 # $ldlibpth so that ./perl finds *this* shared libperl.
9- case "$LD_LIBRARY_PATH" in
10- '')
11- ldlibpth="LD_LIBRARY_PATH=`pwd`";;
12- *)
13- ldlibpth="LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}";;
14- esac
15+# case "$LD_LIBRARY_PATH" in
16+# '')
17+# ldlibpth="LD_LIBRARY_PATH=`pwd`";;
18+# *)
19+# ldlibpth="LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}";;
20+# esac
21
22 pldlflags="$cccdlflags"
23 static_ldflags=''
24@@ -133,7 +133,8 @@ true)
25 ldlibpth=''
26 ;;
27 *)
28- eval "ldlibpth=\"$ldlibpthname=`pwd`:\$$ldlibpthname\""
29+# We compile in the library path in OE from cross-compile, so lets not do this
30+# eval "ldlibpth=\"$ldlibpthname=`pwd`:\$$ldlibpthname\""
31 ;;
32 esac
33 # Strip off any trailing :'s
34@@ -154,18 +155,7 @@ true)
35 # INSTALL file, under "Building a shared perl library".
36 # If there is no pre-existing $libperl, we don't need
37 # to do anything further.
38- if test -f $archlib/CORE/$libperl; then
39- rm -f preload
40- cat <<'EOT' > preload
41-#! /bin/sh
42-lib=$1
43-shift
44-test -r $lib && export LD_PRELOAD="$lib $LD_PRELOAD"
45-exec "$@"
46-EOT
47- chmod 755 preload
48- ldlibpth="$ldlibpth `pwd`/preload `pwd`/$libperl"
49- fi
50+ echo linux libraries overwritten by cross-compile patches
51 ;;
52 os390) test -f /bin/env && ldlibpth="/bin/env $ldlibpth"
53 ;;
54@@ -553,9 +543,19 @@ splintfiles = $(c1)
55 .c.s:
56 $(CCCMDSRC) -S $*.c
57
58-all: $(FIRSTMAKEFILE) $(MINIPERL_EXE) miniperl $(generated_pods) $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make
59- @echo " ";
60- @echo " Everything is up to date. Type '$(MAKE) test' to run test suite."
61+#all: $(FIRSTMAKEFILE) $(MINIPERL_EXE) miniperl $(generated_pods) $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make
62+# @echo " ";
63+# @echo " Everything is up to date. Type '$(MAKE) test' to run test suite."
64+
65+all: $(FIRSTMAKEFILE) $(MINIPERL_EXE) miniperl $(unidatafiles)
66+
67+more: $(generated_pods) $(private) $(public)
68+
69+more2: $(dynamic_ext)
70+
71+more3: $(nonxs_ext)
72+
73+more4: extras.make
74
75 .PHONY: all translators utilities
76
77@@ -563,16 +563,16 @@ all: $(FIRSTMAKEFILE) $(MINIPERL_EXE) mi
78 # by make_patchnum.pl.
79 git_version.h: lib/Config_git.pl
80
81-lib/Config_git.pl: $(MINIPERL_EXE) make_patchnum.pl
82+lib/Config_git.pl: make_patchnum.pl
83 $(MINIPERL) make_patchnum.pl
84
85 # make sure that we recompile perl.c if the git version changes
86 perl$(OBJ_EXT): git_version.h
87
88-translators: $(MINIPERL_EXE) $(CONFIGPM) $(dynamic_ext) FORCE
89+translators: $(CONFIGPM) $(dynamic_ext) FORCE
90 @echo " "; echo " Making x2p stuff"; cd x2p; $(LDLIBPTH) $(MAKE) all
91
92-utilities: $(MINIPERL_EXE) $(CONFIGPM) $(plextract) FORCE
93+utilities: $(CONFIGPM) $(plextract) FORCE
94 @echo " "; echo " Making utilities"; cd utils; $(LDLIBPTH) $(MAKE) all
95
96
97@@ -747,7 +747,7 @@ $(LIBPERL): $& $(obj) $(DYNALOADER) $(LI
98 true)
99 $spitshell >>$Makefile <<'!NO!SUBS!'
100 rm -f $@
101- $(LD) -o $@ $(SHRPLDFLAGS) $(obj) $(DYNALOADER) $(libs)
102+ $(LD) -o $@ $(SHRPLDFLAGS) $(obj) $(DYNALOADER) $(libs) -Wl,-soname,libperl.so.5
103 !NO!SUBS!
104 case "$osname" in
105 aix)
106@@ -788,7 +788,9 @@ $(MINIPERL_EXE): $& miniperlmain$(OBJ_EX
107 $(CC) -o $(MINIPERL_EXE) $(CLDFLAGS) \
108 $(mini_obj) \
109 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perlmini$(OBJ_EXT) $(libs)
110- $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
111+ mv -f miniperl miniperl-target
112+ ln -s hostperl miniperl
113+# $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
114 !NO!SUBS!
115 ;;
116 next4*)
117@@ -796,7 +798,9 @@ $(MINIPERL_EXE): $& miniperlmain$(OBJ_EX
118 $(MINIPERL_EXE): $& miniperlmain$(OBJ_EXT) $(mini_obj) perlmini$(OBJ_EXT) opmini$(OBJ_EXT)
119 $(CC) -o $(MINIPERL_EXE) $(mini_obj) \
120 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perlmini$(OBJ_EXT) $(libs)
121- $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
122+ mv -f miniperl miniperl-target
123+ ln -s hostperl miniperl
124+# $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
125 !NO!SUBS!
126 ;;
127 darwin*)
128@@ -818,7 +822,9 @@ $(MINIPERL_EXE): $& miniperlmain$(OBJ_EX
129 $(CC) $(CLDFLAGS) $(NAMESPACEFLAGS) -o $(MINIPERL_EXE) \
130 $(mini_obj) \
131 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perlmini$(OBJ_EXT) $(libs)
132- $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
133+ mv -f miniperl miniperl-target
134+ ln -s hostperl miniperl
135+# $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
136 !NO!SUBS!
137 ;;
138 *)
139@@ -828,7 +834,10 @@ $(MINIPERL_EXE): $& miniperlmain$(OBJ_EX
140 $(LDLIBPTH) $(CC) $(CLDFLAGS) -o $(MINIPERL_EXE) \
141 $(mini_obj) \
142 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perlmini$(OBJ_EXT) $(libs)
143- $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
144+
145+ mv -f miniperl miniperl-target
146+ ln -s hostperl miniperl
147+# $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
148 !NO!SUBS!
149 ;;
150 esac
151@@ -950,7 +959,7 @@ case "${osname}" in
152 catamount)
153 $spitshell >>$Makefile <<!GROK!THIS!
154 .PHONY: makeppport
155-makeppport: \$(MINIPERL_EXE) \$(CONFIGPM)
156+makeppport: \$(CONFIGPM)
157 -@for f in Makefile.PL PPPort_pm.PL PPPort_xs.PL ppport_h.PL; do \
158 (cd ext/Devel-PPPort && `pwd`/run.sh ../../$(MINIPERL_EXE) -I../../lib \$\$f); \
159 done
160@@ -960,7 +969,7 @@ makeppport: \$(MINIPERL_EXE) \$(CONFIGPM
161 *)
162 $spitshell >>$Makefile <<'!NO!SUBS!'
163 .PHONY: makeppport
164-makeppport: $(MINIPERL_EXE) $(CONFIGPM) $(nonxs_ext)
165+makeppport: $(CONFIGPM) $(nonxs_ext)
166 $(MINIPERL) $(Icwd) mkppport
167
168 !NO!SUBS!
169@@ -970,30 +979,30 @@ esac
170 $spitshell >>$Makefile <<'!NO!SUBS!'
171
172 .PHONY: preplibrary
173-preplibrary: $(MINIPERL_EXE) $(CONFIGPM) lib/re.pm $(PREPLIBRARY_LIBPERL)
174+preplibrary: $(CONFIGPM) lib/re.pm $(PREPLIBRARY_LIBPERL)
175
176 $(CONFIGPM_FROM_CONFIG_SH): $(CONFIGPOD)
177
178-$(CONFIGPOD): config.sh $(MINIPERL_EXE) configpm Porting/Glossary lib/Config_git.pl
179+$(CONFIGPOD): config.sh configpm Porting/Glossary lib/Config_git.pl
180 $(MINIPERL) configpm
181
182-lib/ExtUtils/Miniperl.pm: miniperlmain.c $(MINIPERL_EXE) minimod.pl $(CONFIGPM)
183+lib/ExtUtils/Miniperl.pm: miniperlmain.c minimod.pl $(CONFIGPM)
184 $(MINIPERL) minimod.pl > lib/ExtUtils/Miniperl.pm
185
186 lib/re.pm: ext/re/re.pm
187 @-rm -f $@
188 cp ext/re/re.pm lib/re.pm
189
190-$(plextract): $(MINIPERL_EXE) $(CONFIGPM) x2p/s2p $(dynamic_ext)
191+$(plextract): $(CONFIGPM) x2p/s2p $(dynamic_ext)
192 @-rm -f $@
193 $(MINIPERL) $@.PL
194
195-x2p/s2p: $(MINIPERL_EXE) $(CONFIGPM) $(dynamic_ext) x2p/s2p.PL
196+x2p/s2p: $(CONFIGPM) $(dynamic_ext) x2p/s2p.PL
197 cd x2p; $(LDLIBPTH) $(MAKE) s2p
198
199 unidatafiles $(unidatafiles) pod/perluniprops.pod: uni.data
200
201-uni.data: $(MINIPERL_EXE) $(CONFIGPM) lib/unicore/mktables $(nonxs_ext)
202+uni.data: $(CONFIGPM) lib/unicore/mktables $(nonxs_ext)
203 $(MINIPERL) $(Icwd) lib/unicore/mktables -C lib/unicore -P pod -maketest -makelist -p
204 # Commented out so always runs, mktables looks at far more files than we
205 # can in this makefile to decide if needs to run or not
206@@ -1002,21 +1011,21 @@ uni.data: $(MINIPERL_EXE) $(CONFIGPM) li
207 # $(PERL_EXE) and ext because buildtoc uses Text::Wrap uses re
208 # But also this ensures that all extensions are built before we try to scan
209 # them, which picks up Devel::PPPort's documentation.
210-pod/perltoc.pod: $(perltoc_pod_prereqs) $(PERL_EXE) $(ext) pod/buildtoc
211- $(RUN_PERL) -f -Ilib pod/buildtoc --build-toc -q
212+pod/perltoc.pod: $(perltoc_pod_prereqs) $(ext) pod/buildtoc
213+ $(MINIPERL) -f -Ilib pod/buildtoc --build-toc -q
214
215 pod/perlapi.pod: pod/perlintern.pod
216
217-pod/perlintern.pod: $(MINIPERL_EXE) autodoc.pl embed.fnc
218+pod/perlintern.pod: autodoc.pl embed.fnc
219 $(MINIPERL) autodoc.pl
220
221-pod/perlmodlib.pod: $(MINIPERL_EXE) pod/perlmodlib.PL MANIFEST
222+pod/perlmodlib.pod: pod/perlmodlib.PL MANIFEST
223 $(MINIPERL) $(Icwd) pod/perlmodlib.PL -q
224
225 pod/perldelta.pod: pod/perl5122delta.pod
226 $(LNS) perl5122delta.pod pod/perldelta.pod
227
228-extra.pods: $(MINIPERL_EXE)
229+extra.pods:
230 -@test ! -f extra.pods || rm -f `cat extra.pods`
231 -@rm -f extra.pods
232 -@for x in `grep -l '^=[a-z]' README.* | grep -v README.vms` ; do \
233@@ -1059,11 +1068,7 @@ no-install:
234 INSTALL_DEPENDENCE = all
235
236 install.perl: $(INSTALL_DEPENDENCE) installperl
237- $(RUN_PERL) installperl --destdir=$(DESTDIR) $(INSTALLFLAGS) $(STRIPFLAGS)
238- -@test ! -s extras.lst || $(MAKE) extras.install
239-
240-install.man: all installman
241- $(RUN_PERL) installman --destdir=$(DESTDIR) $(INSTALLFLAGS)
242+ ./hostperl -Ifake_config_library -Ilib -MConfig installperl --destdir=$(DESTDIR) $(INSTALLFLAGS) $(STRIPFLAGS)
243
244 # XXX Experimental. Hardwired values, but useful for testing.
245 # Eventually Configure could ask for some of these values.
246@@ -1160,16 +1165,16 @@ manicheck: FORCE
247 #
248 # DynaLoader may be needed for extensions that use Makefile.PL.
249
250-$(DYNALOADER): $(MINIPERL_EXE) preplibrary FORCE $(nonxs_ext)
251+$(DYNALOADER): preplibrary FORCE $(nonxs_ext)
252 $(MINIPERL) make_ext.pl $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL) LINKTYPE=static $(STATIC_LDFLAGS)
253
254-d_dummy $(dynamic_ext): $(MINIPERL_EXE) preplibrary makeppport $(DYNALOADER) FORCE $(PERLEXPORT)
255+d_dummy $(dynamic_ext): preplibrary makeppport $(DYNALOADER) FORCE $(PERLEXPORT)
256 $(MINIPERL) make_ext.pl $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL) LINKTYPE=dynamic
257
258-s_dummy $(static_ext): $(MINIPERL_EXE) preplibrary makeppport $(DYNALOADER) FORCE
259+s_dummy $(static_ext): preplibrary makeppport $(DYNALOADER) FORCE
260 $(MINIPERL) make_ext.pl $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL) LINKTYPE=static $(STATIC_LDFLAGS)
261
262-n_dummy $(nonxs_ext): $(MINIPERL_EXE) preplibrary FORCE
263+n_dummy $(nonxs_ext): preplibrary FORCE
264 $(MINIPERL) make_ext.pl $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
265 !NO!SUBS!
266
267@@ -1367,10 +1372,10 @@ _test:
268
269 test_prep_pre: preplibrary utilities $(nonxs_ext)
270
271-test_prep: test_prep_pre $(MINIPERL_EXE) $(unidatafiles) $(PERL_EXE) $(dynamic_ext) $(TEST_PERL_DLL) runtests
272+test_prep: test_prep_pre $(unidatafiles) $(PERL_EXE) $(dynamic_ext) $(TEST_PERL_DLL) runtests
273 cd t && (rm -f $(PERL_EXE); $(LNS) ../$(PERL_EXE) $(PERL_EXE))
274
275-test_prep_reonly: $(MINIPERL_EXE) $(PERL_EXE) $(dynamic_ext_re) $(TEST_PERL_DLL)
276+test_prep_reonly: $(PERL_EXE) $(dynamic_ext_re) $(TEST_PERL_DLL)
277 $(MINIPERL) make_ext.pl $(dynamic_ext_re) MAKE=$(MAKE) LIBPERL_A=$(LIBPERL) LINKTYPE=dynamic
278 cd t && (rm -f $(PERL_EXE); $(LNS) ../$(PERL_EXE) $(PERL_EXE))
279
280@@ -1461,7 +1466,7 @@ minitest.prep:
281
282 # Can't depend on lib/Config.pm because that might be where miniperl
283 # is crashing.
284-minitest: $(MINIPERL_EXE) lib/re.pm minitest.prep
285+minitest: lib/re.pm minitest.prep
286 - cd t && (rm -f $(PERL_EXE); $(LNS) ../$(MINIPERL_EXE) $(PERL_EXE)) \
287 && $(RUN_PERL) TEST -minitest base/*.t comp/*.t cmd/*.t run/*.t io/*.t re/*.t op/*.t uni/*.t </dev/tty
288
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/Makefile.patch b/meta/recipes-devtools/perl/perl-5.12.2/Makefile.patch
new file mode 100644
index 0000000000..e7226ff708
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/Makefile.patch
@@ -0,0 +1,57 @@
1Index: perl-5.12.2/Cross/Makefile
2===================================================================
3--- perl-5.12.2.orig/Cross/Makefile
4+++ perl-5.12.2/Cross/Makefile
5@@ -2,7 +2,8 @@
6 #
7 ## $Id: Makefile,v 1.5 2003/12/12 00:48:19 red Exp red $
8
9-export TOPDIR=${shell pwd}
10+override TOPDIR=${shell pwd}
11+export TOPDIR
12 include $(TOPDIR)/config
13 export CFLAGS
14 export SYS=$(ARCH)-$(OS)
15@@ -12,7 +13,7 @@ export OPTIMIZATION = -O2
16
17 export CC = $(CROSS)gcc
18 export CXX = $(CROSS)g++
19-export LD = $(CROSS)ld
20+export LD = $(CC)
21 export STRIP = $(CROSS)strip
22 export AR = $(CROSS)ar
23 export RANLIB = $(CROSS)ranlib
24@@ -34,17 +35,6 @@ CFLAGS+=$(FULL_OPTIMIZATION)
25 all:
26 @echo Please read the README file before doing anything else.
27
28-gen_patch:
29- diff -Bbur ../Makefile.SH Makefile.SH > Makefile.SH.patch
30- diff -Bbur ../installperl installperl > installperl.patch
31-
32-patch:
33- cd .. ; if [ ! -e ./CROSS_PATCHED ] ; then \
34- patch -p1 < Cross/Makefile.SH.patch; \
35- patch -p1 < Cross/installperl.patch ; mv installperl installperl-patched; \
36- sed -e 's/XXSTRIPXX/$(SYS)/' installperl-patched > installperl; \
37- touch CROSS_PATCHED ; fi
38-
39 perl:
40 @echo Perl cross-build directory is $(TOPDIR)
41 @echo Target arch is $(SYS)
42@@ -54,11 +44,11 @@ perl:
43 $(TOPDIR)/generate_config_sh config.sh-$(SYS) > $(TOPDIR)/../config.sh
44 cd $(TOPDIR)/.. ; ./Configure -S ; make depend ; make ; make more
45 cd $(TOPDIR)/.. ; mkdir -p fake_config_library ; cp lib/Config.pm lib/Config_heavy.pl fake_config_library
46- cd $(TOPDIR)/.. ; $(MAKE) more2 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig"
47- cd $(TOPDIR)/.. ; $(MAKE) more3 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig"
48- cd $(TOPDIR)/.. ; $(MAKE) more4 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig"
49+ cd $(TOPDIR)/.. ; $(MAKE) more2 "PERLRUN=hostperl -I$(TOPDIR)/../fake_config_library -MConfig"
50+ cd $(TOPDIR)/.. ; $(MAKE) more3 "PERLRUN=hostperl -I$(TOPDIR)/../fake_config_library -MConfig"
51+ cd $(TOPDIR)/.. ; $(MAKE) more4 "PERLRUN=hostperl -I$(TOPDIR)/../fake_config_library -MConfig"
52 cd $(TOPDIR)/.. ; rm -rf install_me_here
53- cd $(TOPDIR)/.. ; make install-strip
54+# cd $(TOPDIR)/.. ; make install-strip
55 cd $(TOPDIR)/.. ; sh -x Cross/warp
56
57
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/asm-pageh-fix.patch b/meta/recipes-devtools/perl/perl-5.12.2/asm-pageh-fix.patch
new file mode 100644
index 0000000000..c972108244
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/asm-pageh-fix.patch
@@ -0,0 +1,19 @@
1Perl inclues asm/page.h in order to get the definition for getpagesize which
2has been definied in unistd.h since glibc 2.1. Some recent version of linux
3libc headers removed the asm/page.h resulting in failures here for some
4people.
5
6Index: perl-5.12.2/cpan/IPC-SysV/SysV.xs
7===================================================================
8--- perl-5.12.2.orig/cpan/IPC-SysV/SysV.xs 2001-07-01 04:46:07.000000000 +1000
9+++ perl-5.12.2/cpan/IPC-SysV/SysV.xs 2001-07-01 04:46:07.000000000 +1000
10@@ -3,9 +3,6 @@
11 #include "XSUB.h"
12
13 #include <sys/types.h>
14-#ifdef __linux__
15-# include <asm/page.h>
16-#endif
17 #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
18 #ifndef HAS_SEM
19 # include <sys/ipc.h>
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/config.sh b/meta/recipes-devtools/perl/perl-5.12.2/config.sh
new file mode 100644
index 0000000000..e33b4ba97e
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/config.sh
@@ -0,0 +1,1086 @@
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 Dec 23 03:57:51 UTC 2010
12# Configured by : Open Embedded
13# Target system : linux qemux86 2.6.37-rc5-yocto-standard+ #1 preempt mon dec 20 14:21:27 pst 2010 i686 gnulinux
14
15: Configure command line arguments.
16config_arg0='Configure'
17config_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.12.2 -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'
18config_argc=28
19config_arg1='-des'
20config_arg2='-Doptimize=-O2'
21config_arg3='-Dmyhostname=localhost'
22config_arg4='-Dperladmin=root@localhost'
23config_arg5='-Dcc=gcc'
24config_arg6='-Dcf_by=Open Embedded'
25config_arg7='-Dinstallprefix=@DESTDIR@'
26config_arg8='-Dprefix=/usr'
27config_arg9='-Dvendorprefix=/usr'
28config_arg10='-Dsiteprefix=/usr'
29config_arg11='-Dotherlibdirs=/usr/lib/perl5/5.12.2'
30config_arg12='-Duseshrplib'
31config_arg13='-Dusethreads'
32config_arg14='-Duseithreads'
33config_arg15='-Duselargefiles'
34config_arg16='-Ud_dosuid'
35config_arg17='-Dd_semctl_semun'
36config_arg18='-Ui_db'
37config_arg19='-Ui_ndbm'
38config_arg20='-Ui_gdbm'
39config_arg21='-Di_shadow'
40config_arg22='-Di_syslog'
41config_arg23='-Dman3ext=3pm'
42config_arg24='-Duseperlio'
43config_arg25='-Dinstallusrbinperl'
44config_arg26='-Ubincompat5005'
45config_arg27='-Uversiononly'
46config_arg28='-Dpager=/usr/bin/less -isr'
47
48Author=''
49Date='$Date'
50Header=''
51Id='$Id'
52Locker=''
53Log='$Log'
54RCSfile='$RCSfile'
55Revision='$Revision'
56Source=''
57State=''
58_a='.a'
59_exe=''
60_o='.o'
61afs='false'
62afsroot='/afs'
63ansi2knr=''
64aphostname=''
65api_revision='5'
66api_subversion='0'
67api_version='12'
68api_versionstring='5.12.0'
69ar='ar'
70archlib='/usr/lib/perl5/5.12.2/@ARCH@-thread-multi'
71archlibexp='/usr/lib/perl5/5.12.2/@ARCH@-thread-multi'
72archname64=''
73archname='@ARCH@-thread-multi'
74archobjs=''
75asctime_r_proto='REENTRANT_PROTO_B_SB'
76awk='awk'
77baserev='5.0'
78bash=''
79bin='/usr/bin'
80bin_ELF='define'
81binexp='/usr/bin'
82bison='bison'
83byacc='byacc'
84c=''
85castflags='0'
86cat='cat'
87cc='gcc'
88cccdlflags='-fPIC'
89ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.12.2/@ARCH@-thread-multi/CORE'
90ccflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
91ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
92ccname='gcc'
93ccsymbols=''
94ccversion=''
95cf_by='Open Embedded'
96cf_email='Open Embedded@localhost.localdomain'
97charbits='8'
98charsize='1'
99chgrp=''
100chmod='chmod'
101chown=''
102clocktype='clock_t'
103comm='comm'
104compress=''
105contains='grep'
106cp='cp'
107cpio=''
108cpp='cpp'
109cpp_stuff='42'
110cppccsymbols=''
111cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector'
112cpplast='-'
113cppminus='-'
114cpprun='gcc -E'
115cppstdin='gcc -E'
116crypt_r_proto='REENTRANT_PROTO_B_CCS'
117cryptlib=''
118csh='csh'
119ctermid_r_proto='0'
120ctime_r_proto='REENTRANT_PROTO_B_SB'
121d_Gconvert='gcvt((x),(n),(b))'
122d_PRIEUldbl='define'
123d_PRIFUldbl='define'
124d_PRIGUldbl='define'
125d_PRIXU64='define'
126d_PRId64='define'
127d_PRIeldbl='define'
128d_PRIfldbl='define'
129d_PRIgldbl='define'
130d_PRIi64='define'
131d_PRIo64='define'
132d_PRIu64='define'
133d_PRIx64='define'
134d_SCNfldbl='define'
135d__fwalk='undef'
136d_access='define'
137d_accessx='undef'
138d_aintl='undef'
139d_alarm='define'
140d_archlib='define'
141d_asctime64='undef'
142d_asctime_r='define'
143d_atolf='undef'
144d_atoll='define'
145d_attribute_deprecated='define'
146d_attribute_format='define'
147d_attribute_malloc='define'
148d_attribute_nonnull='define'
149d_attribute_noreturn='define'
150d_attribute_pure='define'
151d_attribute_unused='define'
152d_attribute_warn_unused_result='define'
153d_bcmp='define'
154d_bcopy='define'
155d_bsd='undef'
156d_bsdgetpgrp='undef'
157d_bsdsetpgrp='undef'
158d_builtin_choose_expr='define'
159d_builtin_expect='define'
160d_bzero='define'
161d_c99_variadic_macros='define'
162d_casti32='undef'
163d_castneg='define'
164d_charvspr='undef'
165d_chown='define'
166d_chroot='define'
167d_chsize='undef'
168d_class='undef'
169d_clearenv='define'
170d_closedir='define'
171d_cmsghdr_s='define'
172d_const='define'
173d_copysignl='define'
174d_cplusplus='undef'
175d_crypt='define'
176d_crypt_r='define'
177d_csh='undef'
178d_ctermid='define'
179d_ctermid_r='undef'
180d_ctime64='undef'
181d_ctime_r='define'
182d_cuserid='define'
183d_dbl_dig='define'
184d_dbminitproto='undef'
185d_difftime64='undef'
186d_difftime='define'
187d_dir_dd_fd='undef'
188d_dirfd='define'
189d_dirnamlen='undef'
190d_dlerror='define'
191d_dlopen='define'
192d_dlsymun='undef'
193d_dosuid='undef'
194d_drand48_r='define'
195d_drand48proto='define'
196d_dup2='define'
197d_eaccess='define'
198d_endgrent='define'
199d_endgrent_r='undef'
200d_endhent='define'
201d_endhostent_r='undef'
202d_endnent='define'
203d_endnetent_r='undef'
204d_endpent='define'
205d_endprotoent_r='undef'
206d_endpwent='define'
207d_endpwent_r='undef'
208d_endsent='define'
209d_endservent_r='undef'
210d_eofnblk='define'
211d_eunice='undef'
212d_faststdio='define'
213d_fchdir='define'
214d_fchmod='define'
215d_fchown='define'
216d_fcntl='define'
217d_fcntl_can_lock='define'
218d_fd_macros='define'
219d_fd_set='define'
220d_fds_bits='define'
221d_fgetpos='define'
222d_finite='define'
223d_finitel='define'
224d_flexfnam='define'
225d_flock='define'
226d_flockproto='define'
227d_fork='define'
228d_fp_class='undef'
229d_fpathconf='define'
230d_fpclass='undef'
231d_fpclassify='undef'
232d_fpclassl='undef'
233d_fpos64_t='undef'
234d_frexpl='define'
235d_fs_data_s='undef'
236d_fseeko='define'
237d_fsetpos='define'
238d_fstatfs='define'
239d_fstatvfs='define'
240d_fsync='define'
241d_ftello='define'
242d_ftime='undef'
243d_futimes='define'
244d_gdbm_ndbm_h_uses_prototypes='undef'
245d_gdbmndbm_h_uses_prototypes='undef'
246d_getaddrinfo='define'
247d_getcwd='define'
248d_getespwnam='undef'
249d_getfsstat='undef'
250d_getgrent='define'
251d_getgrent_r='define'
252d_getgrgid_r='define'
253d_getgrnam_r='define'
254d_getgrps='define'
255d_gethbyaddr='define'
256d_gethbyname='define'
257d_gethent='define'
258d_gethname='define'
259d_gethostbyaddr_r='define'
260d_gethostbyname_r='define'
261d_gethostent_r='define'
262d_gethostprotos='define'
263d_getitimer='define'
264d_getlogin='define'
265d_getlogin_r='define'
266d_getmnt='undef'
267d_getmntent='define'
268d_getnameinfo='define'
269d_getnbyaddr='define'
270d_getnbyname='define'
271d_getnent='define'
272d_getnetbyaddr_r='define'
273d_getnetbyname_r='define'
274d_getnetent_r='define'
275d_getnetprotos='define'
276d_getpagsz='define'
277d_getpbyname='define'
278d_getpbynumber='define'
279d_getpent='define'
280d_getpgid='define'
281d_getpgrp2='undef'
282d_getpgrp='define'
283d_getppid='define'
284d_getprior='define'
285d_getprotobyname_r='define'
286d_getprotobynumber_r='define'
287d_getprotoent_r='define'
288d_getprotoprotos='define'
289d_getprpwnam='undef'
290d_getpwent='define'
291d_getpwent_r='define'
292d_getpwnam_r='define'
293d_getpwuid_r='define'
294d_getsbyname='define'
295d_getsbyport='define'
296d_getsent='define'
297d_getservbyname_r='define'
298d_getservbyport_r='define'
299d_getservent_r='define'
300d_getservprotos='define'
301d_getspnam='define'
302d_getspnam_r='define'
303d_gettimeod='define'
304d_gmtime64='undef'
305d_gmtime_r='define'
306d_gnulibc='define'
307d_grpasswd='define'
308d_hasmntopt='define'
309d_htonl='define'
310d_ilogbl='define'
311d_inc_version_list='undef'
312d_index='undef'
313d_inetaton='define'
314d_inetntop='define'
315d_inetpton='define'
316d_int64_t='define'
317d_isascii='define'
318d_isfinite='undef'
319d_isinf='define'
320d_isnan='define'
321d_isnanl='define'
322d_killpg='define'
323d_lchown='define'
324d_ldbl_dig='define'
325d_libm_lib_version='define'
326d_link='define'
327d_localtime64='undef'
328d_localtime_r='define'
329d_localtime_r_needs_tzset='define'
330d_locconv='define'
331d_lockf='define'
332d_longdbl='define'
333d_longlong='define'
334d_lseekproto='define'
335d_lstat='define'
336d_madvise='define'
337d_malloc_good_size='undef'
338d_malloc_size='undef'
339d_mblen='define'
340d_mbstowcs='define'
341d_mbtowc='define'
342d_memchr='define'
343d_memcmp='define'
344d_memcpy='define'
345d_memmove='define'
346d_memset='define'
347d_mkdir='define'
348d_mkdtemp='define'
349d_mkfifo='define'
350d_mkstemp='define'
351d_mkstemps='define'
352d_mktime64='undef'
353d_mktime='define'
354d_mmap='define'
355d_modfl='define'
356d_modfl_pow32_bug='undef'
357d_modflproto='define'
358d_mprotect='define'
359d_msg='define'
360d_msg_ctrunc='define'
361d_msg_dontroute='define'
362d_msg_oob='define'
363d_msg_peek='define'
364d_msg_proxy='define'
365d_msgctl='define'
366d_msgget='define'
367d_msghdr_s='define'
368d_msgrcv='define'
369d_msgsnd='define'
370d_msync='define'
371d_munmap='define'
372d_mymalloc='undef'
373d_ndbm='undef'
374d_ndbm_h_uses_prototypes='undef'
375d_nice='define'
376d_nl_langinfo='define'
377d_nv_zero_is_allbits_zero='define'
378d_off64_t='define'
379d_old_pthread_create_joinable='undef'
380d_oldpthreads='undef'
381d_oldsock='undef'
382d_open3='define'
383d_pathconf='define'
384d_pause='define'
385d_perl_otherlibdirs='define'
386d_phostname='undef'
387d_pipe='define'
388d_poll='define'
389d_portable='define'
390d_procselfexe='define'
391d_pseudofork='undef'
392d_pthread_atfork='define'
393d_pthread_attr_setscope='define'
394d_pthread_yield='define'
395d_pwage='undef'
396d_pwchange='undef'
397d_pwclass='undef'
398d_pwcomment='undef'
399d_pwexpire='undef'
400d_pwgecos='define'
401d_pwpasswd='define'
402d_pwquota='undef'
403d_qgcvt='define'
404d_quad='define'
405d_random_r='define'
406d_readdir64_r='define'
407d_readdir='define'
408d_readdir_r='define'
409d_readlink='define'
410d_readv='define'
411d_recvmsg='define'
412d_rename='define'
413d_rewinddir='define'
414d_rmdir='define'
415d_safebcpy='undef'
416d_safemcpy='undef'
417d_sanemcmp='define'
418d_sbrkproto='define'
419d_scalbnl='define'
420d_sched_yield='define'
421d_scm_rights='define'
422d_seekdir='define'
423d_select='define'
424d_sem='define'
425d_semctl='define'
426d_semctl_semid_ds='define'
427d_semctl_semun='define'
428d_semget='define'
429d_semop='define'
430d_sendmsg='define'
431d_setegid='define'
432d_seteuid='define'
433d_setgrent='define'
434d_setgrent_r='undef'
435d_setgrps='define'
436d_sethent='define'
437d_sethostent_r='undef'
438d_setitimer='define'
439d_setlinebuf='define'
440d_setlocale='define'
441d_setlocale_r='undef'
442d_setnent='define'
443d_setnetent_r='undef'
444d_setpent='define'
445d_setpgid='define'
446d_setpgrp2='undef'
447d_setpgrp='define'
448d_setprior='define'
449d_setproctitle='undef'
450d_setprotoent_r='undef'
451d_setpwent='define'
452d_setpwent_r='undef'
453d_setregid='define'
454d_setresgid='define'
455d_setresuid='define'
456d_setreuid='define'
457d_setrgid='undef'
458d_setruid='undef'
459d_setsent='define'
460d_setservent_r='undef'
461d_setsid='define'
462d_setvbuf='define'
463d_sfio='undef'
464d_shm='define'
465d_shmat='define'
466d_shmatprototype='define'
467d_shmctl='define'
468d_shmdt='define'
469d_shmget='define'
470d_sigaction='define'
471d_signbit='define'
472d_sigprocmask='define'
473d_sigsetjmp='define'
474d_sitearch='define'
475d_snprintf='define'
476d_sockatmark='define'
477d_sockatmarkproto='define'
478d_socket='define'
479d_socklen_t='define'
480d_sockpair='define'
481d_socks5_init='undef'
482d_sprintf_returns_strlen='define'
483d_sqrtl='define'
484d_srand48_r='define'
485d_srandom_r='define'
486d_sresgproto='define'
487d_sresuproto='define'
488d_statblks='define'
489d_statfs_f_flags='undef'
490d_statfs_s='define'
491d_statvfs='define'
492d_stdio_cnt_lval='undef'
493d_stdio_ptr_lval='define'
494d_stdio_ptr_lval_nochange_cnt='undef'
495d_stdio_ptr_lval_sets_cnt='define'
496d_stdio_stream_array='undef'
497d_stdiobase='define'
498d_stdstdio='define'
499d_strchr='define'
500d_strcoll='define'
501d_strctcpy='define'
502d_strerrm='strerror(e)'
503d_strerror='define'
504d_strerror_r='define'
505d_strftime='define'
506d_strlcat='undef'
507d_strlcpy='undef'
508d_strtod='define'
509d_strtol='define'
510d_strtold='define'
511d_strtoll='define'
512d_strtoq='define'
513d_strtoul='define'
514d_strtoull='define'
515d_strtouq='define'
516d_strxfrm='define'
517d_suidsafe='undef'
518d_symlink='define'
519d_syscall='define'
520d_syscallproto='define'
521d_sysconf='define'
522d_sysernlst=''
523d_syserrlst='define'
524d_system='define'
525d_tcgetpgrp='define'
526d_tcsetpgrp='define'
527d_telldir='define'
528d_telldirproto='define'
529d_time='define'
530d_timegm='define'
531d_times='define'
532d_tm_tm_gmtoff='define'
533d_tm_tm_zone='define'
534d_tmpnam_r='define'
535d_truncate='define'
536d_ttyname_r='define'
537d_tzname='define'
538d_ualarm='define'
539d_umask='define'
540d_uname='define'
541d_union_semun='undef'
542d_unordered='undef'
543d_unsetenv='define'
544d_usleep='define'
545d_usleepproto='define'
546d_ustat='define'
547d_vendorarch='define'
548d_vendorbin='define'
549d_vendorlib='define'
550d_vendorscript='define'
551d_vfork='undef'
552d_void_closedir='undef'
553d_voidsig='define'
554d_voidtty=''
555d_volatile='define'
556d_vprintf='define'
557d_vsnprintf='define'
558d_wait4='define'
559d_waitpid='define'
560d_wcstombs='define'
561d_wctomb='define'
562d_writev='define'
563d_xenix='undef'
564date='date'
565db_hashtype='u_int32_t'
566db_prefixtype='size_t'
567db_version_major=''
568db_version_minor=''
569db_version_patch=''
570defvoidused='15'
571direntrytype='struct dirent'
572dlext='so'
573dlsrc='dl_dlopen.xs'
574doublesize='8'
575drand01='drand48()'
576drand48_r_proto='REENTRANT_PROTO_I_ST'
577dtrace=''
578dynamic_ext='B Compress/Raw/Bzip2 Compress/Raw/Zlib Cwd Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Digest/SHA Encode Fcntl File/Glob Filter/Util/Call Hash/Util Hash/Util/FieldHash I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 Math/BigInt/FastCalc Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Text/Soundex Time/HiRes Time/Piece Unicode/Normalize XS/APItest XS/APItest/KeywordRPN XS/Typemap attributes mro re threads threads/shared'
579eagain='EAGAIN'
580ebcdic='undef'
581echo='echo'
582egrep='egrep'
583emacs=''
584endgrent_r_proto='0'
585endhostent_r_proto='0'
586endnetent_r_proto='0'
587endprotoent_r_proto='0'
588endpwent_r_proto='0'
589endservent_r_proto='0'
590eunicefix=':'
591exe_ext=''
592expr='expr'
593extensions='B Compress/Raw/Bzip2 Compress/Raw/Zlib Cwd Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Digest/SHA Encode Fcntl File/Glob Filter/Util/Call Hash/Util Hash/Util/FieldHash I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 Math/BigInt/FastCalc Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Text/Soundex Time/HiRes Time/Piece Unicode/Normalize XS/APItest XS/APItest/KeywordRPN XS/Typemap attributes mro re threads threads/shared Archive/Extract Archive/Tar Attribute/Handlers AutoLoader B/Debug B/Deparse B/Lint CGI CPAN CPANPLUS CPANPLUS/Dist/Build Class/ISA Devel/SelfStubber Digest Errno ExtUtils/CBuilder ExtUtils/Command ExtUtils/Constant ExtUtils/Install ExtUtils/MakeMaker ExtUtils/Manifest ExtUtils/ParseXS File/Fetch File/Path File/Temp FileCache Filter/Simple Getopt/Long I18N/LangTags IO/Compress IO/Zlib IPC/Cmd IPC/Open2 IPC/Open3 Locale/Codes Locale/Maketext Locale/Maketext/Simple Log/Message Log/Message/Simple Math/BigInt Math/BigRat Math/Complex Memoize Module/Build Module/CoreList Module/Load Module/Load/Conditional Module/Loaded Module/Pluggable NEXT Net/Ping Object/Accessor Package/Constants Params/Check Parse/CPAN/Meta PerlIO/via/QuotedPrint Pod/Escapes Pod/LaTeX Pod/Parser Pod/Perldoc Pod/Plainer Pod/Simple Safe SelfLoader Shell Switch Term/ANSIColor Term/Cap Term/UI Test Test/Harness Test/Simple Text/Balanced Text/ParseWords Text/Tabs Thread/Queue Thread/Semaphore Tie/File Tie/Memoize Tie/RefHash Time/Local Unicode/Collate XSLoader autodie autouse base bignum constant encoding/warnings if lib libnet parent podlators'
594extern_C='extern'
595extras=''
596fflushNULL='define'
597fflushall='undef'
598find=''
599firstmakefile='makefile'
600flex=''
601fpossize='16'
602fpostype='fpos_t'
603freetype='void'
604from=':'
605full_ar='/usr/bin/ar'
606full_csh='csh'
607full_sed='/bin/sed'
608gccansipedantic=''
609gccosandvers=''
610gccversion='4.5.1'
611getgrent_r_proto='REENTRANT_PROTO_I_SBWR'
612getgrgid_r_proto='REENTRANT_PROTO_I_TSBWR'
613getgrnam_r_proto='REENTRANT_PROTO_I_CSBWR'
614gethostbyaddr_r_proto='REENTRANT_PROTO_I_TsISBWRE'
615gethostbyname_r_proto='REENTRANT_PROTO_I_CSBWRE'
616gethostent_r_proto='REENTRANT_PROTO_I_SBWRE'
617getlogin_r_proto='REENTRANT_PROTO_I_BW'
618getnetbyaddr_r_proto='REENTRANT_PROTO_I_uISBWRE'
619getnetbyname_r_proto='REENTRANT_PROTO_I_CSBWRE'
620getnetent_r_proto='REENTRANT_PROTO_I_SBWRE'
621getprotobyname_r_proto='REENTRANT_PROTO_I_CSBWR'
622getprotobynumber_r_proto='REENTRANT_PROTO_I_ISBWR'
623getprotoent_r_proto='REENTRANT_PROTO_I_SBWR'
624getpwent_r_proto='REENTRANT_PROTO_I_SBWR'
625getpwnam_r_proto='REENTRANT_PROTO_I_CSBWR'
626getpwuid_r_proto='REENTRANT_PROTO_I_TSBWR'
627getservbyname_r_proto='REENTRANT_PROTO_I_CCSBWR'
628getservbyport_r_proto='REENTRANT_PROTO_I_ICSBWR'
629getservent_r_proto='REENTRANT_PROTO_I_SBWR'
630getspnam_r_proto='REENTRANT_PROTO_I_CSBWR'
631gidsign='1'
632gidsize='4'
633gidtype='gid_t'
634glibpth='/usr/shlib /lib /usr/lib /usr/lib/386 /lib/386 /usr/ccs/lib /usr/ucblib /usr/local/lib '
635gmake='gmake'
636gmtime_r_proto='REENTRANT_PROTO_S_TS'
637gnulibc_version='2.12.1'
638grep='grep'
639groupcat='cat /etc/group'
640groupstype='gid_t'
641gzip='gzip'
642h_fcntl='false'
643h_sysfile='true'
644hint='recommended'
645hostcat='cat /etc/hosts'
646html1dir=' '
647html1direxp=''
648html3dir=' '
649html3direxp=''
650i16size='2'
651i16type='short'
652i32size='4'
653i64size='8'
654i8size='1'
655i8type='signed char'
656i_arpainet='define'
657i_assert='define'
658i_bsdioctl=''
659i_crypt='define'
660i_db='undef'
661i_dbm='undef'
662i_dirent='define'
663i_dld='undef'
664i_dlfcn='define'
665i_fcntl='undef'
666i_float='define'
667i_fp='undef'
668i_fp_class='undef'
669i_gdbm='undef'
670i_gdbm_ndbm='undef'
671i_gdbmndbm='undef'
672i_grp='define'
673i_ieeefp='undef'
674i_inttypes='define'
675i_langinfo='define'
676i_libutil='undef'
677i_limits='define'
678i_locale='define'
679i_machcthr='undef'
680i_malloc='define'
681i_mallocmalloc='undef'
682i_math='define'
683i_memory='undef'
684i_mntent='define'
685i_ndbm='undef'
686i_netdb='define'
687i_neterrno='undef'
688i_netinettcp='define'
689i_niin='define'
690i_poll='define'
691i_prot='undef'
692i_pthread='define'
693i_pwd='define'
694i_rpcsvcdbm='undef'
695i_sfio='undef'
696i_sgtty='undef'
697i_shadow='define'
698i_socks='undef'
699i_stdarg='define'
700i_stddef='define'
701i_stdlib='define'
702i_string='define'
703i_sunmath='undef'
704i_sysaccess='undef'
705i_sysdir='define'
706i_sysfile='define'
707i_sysfilio='undef'
708i_sysin='undef'
709i_sysioctl='define'
710i_syslog='define'
711i_sysmman='define'
712i_sysmode='undef'
713i_sysmount='define'
714i_sysndir='undef'
715i_sysparam='define'
716i_syspoll='define'
717i_sysresrc='define'
718i_syssecrt='undef'
719i_sysselct='define'
720i_syssockio='undef'
721i_sysstat='define'
722i_sysstatfs='define'
723i_sysstatvfs='define'
724i_systime='define'
725i_systimek='undef'
726i_systimes='define'
727i_systypes='define'
728i_sysuio='define'
729i_sysun='define'
730i_sysutsname='define'
731i_sysvfs='define'
732i_syswait='define'
733i_termio='undef'
734i_termios='define'
735i_time='define'
736i_unistd='define'
737i_ustat='define'
738i_utime='define'
739i_values='define'
740i_varargs='undef'
741i_varhdr='stdarg.h'
742i_vfork='undef'
743ignore_versioned_solibs='y'
744inc_version_list=' '
745inc_version_list_init='0'
746incpath=''
747inews=''
748initialinstalllocation='/usr/bin'
749installarchlib='@DESTDIR@/lib/perl5/5.12.2/@ARCH@-thread-multi'
750installbin='@DESTDIR@/bin'
751installhtml1dir=''
752installhtml3dir=''
753installman1dir=''
754installman3dir=''
755installprefix='@DESTDIR@'
756installprefixexp='@DESTDIR@'
757installprivlib='@DESTDIR@/lib/perl5/5.12.2'
758installscript='@DESTDIR@/bin'
759installsitearch='@DESTDIR@/lib/perl5/site_perl/5.12.2/@ARCH@-thread-multi'
760installsitebin='@DESTDIR@/bin'
761installsitehtml1dir=''
762installsitehtml3dir=''
763installsitelib='@DESTDIR@/lib/perl5/site_perl/5.12.2'
764installsiteman1dir=''
765installsiteman3dir=''
766installsitescript='@DESTDIR@/bin'
767installstyle='lib/perl5'
768installusrbinperl='define'
769installvendorarch='@DESTDIR@/lib/perl5/vendor_perl/5.12.2/@ARCH@-thread-multi'
770installvendorbin='@DESTDIR@/bin'
771installvendorhtml1dir=''
772installvendorhtml3dir=''
773installvendorlib='@DESTDIR@/lib/perl5/vendor_perl/5.12.2'
774installvendorman1dir=''
775installvendorman3dir=''
776installvendorscript='@DESTDIR@/bin'
777intsize='4'
778issymlink='test -h'
779ivdformat='"ld"'
780ivtype='long'
781known_extensions='B Compress/Raw/Bzip2 Compress/Raw/Zlib Cwd DB_File Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Digest/SHA Encode Fcntl File/Glob Filter/Util/Call GDBM_File Hash/Util Hash/Util/FieldHash I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 Math/BigInt/FastCalc NDBM_File ODBM_File Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Text/Soundex Time/HiRes Time/Piece Unicode/Normalize VMS/DCLsym VMS/Stdio Win32 Win32API/File Win32CORE XS/APItest XS/APItest/KeywordRPN XS/Typemap attributes mro re threads threads/shared '
782ksh=''
783ld='gcc'
784lddlflags='-shared -O2 -fstack-protector'
785ldflags=' -fstack-protector'
786ldflags_uselargefiles=''
787ldlibpthname='LD_LIBRARY_PATH'
788less='less'
789lib_ext='.a'
790libc='/lib/libc-2.12.1.so'
791libperl='libperl.so'
792libpth='/lib /usr/lib'
793libs='-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc'
794libsdirs=' /usr/lib'
795libsfiles=' libnsl.so libgdbm.so libdb.so libdl.so libm.so libcrypt.so libutil.so libpthread.so libc.so'
796libsfound=' /usr/lib/libnsl.so /usr/lib/libgdbm.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'
797libspath=' /lib /usr/lib'
798libswanted='sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util pthread c cposix posix ucb BSD gdbm_compat'
799libswanted_uselargefiles=''
800line=''
801lint=''
802lkflags=''
803ln='ln'
804lns='/bin/ln -s'
805localtime_r_proto='REENTRANT_PROTO_S_TS'
806locincpth='/usr/local/include /opt/local/include /usr/gnu/include /opt/gnu/include /usr/GNU/include /opt/GNU/include'
807loclibpth='/usr/local/lib /opt/local/lib /usr/gnu/lib /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib'
808longlongsize='8'
809lp=''
810lpr=''
811ls='ls'
812lseeksize='8'
813lseektype='off_t'
814mad='undef'
815madlyh=''
816madlyobj=''
817madlysrc=''
818mail=''
819mailx=''
820make='make'
821make_set_make='#'
822mallocobj=''
823mallocsrc=''
824malloctype='void *'
825man1dir=' '
826man1direxp=''
827man1ext='0'
828man3dir=' '
829man3direxp=''
830man3ext='0'
831mips_type=''
832mistrustnm=''
833mkdir='mkdir'
834mmaptype='void *'
835modetype='mode_t'
836more='more'
837multiarch='undef'
838mv=''
839myarchname='@ARCH@'
840mydomain='.localdomain'
841myhostname='localhost'
842n='-n'
843netdb_hlen_type='size_t'
844netdb_name_type='const char *'
845netdb_net_type='in_addr_t'
846nm='nm'
847nm_opt=''
848nm_so_opt='--dynamic'
849nonxs_ext='Archive/Extract Archive/Tar Attribute/Handlers AutoLoader B/Debug B/Deparse B/Lint CGI CPAN CPANPLUS CPANPLUS/Dist/Build Class/ISA Devel/SelfStubber Digest Errno ExtUtils/CBuilder ExtUtils/Command ExtUtils/Constant ExtUtils/Install ExtUtils/MakeMaker ExtUtils/Manifest ExtUtils/ParseXS File/Fetch File/Path File/Temp FileCache Filter/Simple Getopt/Long I18N/LangTags IO/Compress IO/Zlib IPC/Cmd IPC/Open2 IPC/Open3 Locale/Codes Locale/Maketext Locale/Maketext/Simple Log/Message Log/Message/Simple Math/BigInt Math/BigRat Math/Complex Memoize Module/Build Module/CoreList Module/Load Module/Load/Conditional Module/Loaded Module/Pluggable NEXT Net/Ping Object/Accessor Package/Constants Params/Check Parse/CPAN/Meta PerlIO/via/QuotedPrint Pod/Escapes Pod/LaTeX Pod/Parser Pod/Perldoc Pod/Plainer Pod/Simple Safe SelfLoader Shell Switch Term/ANSIColor Term/Cap Term/UI Test Test/Harness Test/Simple Text/Balanced Text/ParseWords Text/Tabs Thread/Queue Thread/Semaphore Tie/File Tie/Memoize Tie/RefHash Time/Local Unicode/Collate XSLoader autodie autouse base bignum constant encoding/warnings if lib libnet parent podlators'
850nroff='nroff'
851nvEUformat='"E"'
852nvFUformat='"F"'
853nvGUformat='"G"'
854nv_overflows_integers_at='256.0*256.0*256.0*256.0*256.0*256.0*2.0*2.0*2.0*2.0*2.0'
855nveformat='"e"'
856nvfformat='"f"'
857nvgformat='"g"'
858nvsize='8'
859nvtype='double'
860o_nonblock='O_NONBLOCK'
861obj_ext='.o'
862old_pthread_create_joinable=''
863optimize='-O2'
864orderlib='false'
865osname='linux'
866osvers='2.6.37-rc5-yocto-standard+'
867otherlibdirs='/usr/lib/perl5/5.12.2'
868package='perl5'
869pager='/usr/bin/less -isr'
870passcat='cat /etc/passwd'
871patchlevel='12'
872path_sep=':'
873perl5='/usr/bin/perl'
874perl=''
875perl_patchlevel=''
876perladmin='root@localhost'
877perllibs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc'
878perlpath='/usr/bin/perl'
879pg='pg'
880phostname=''
881pidtype='pid_t'
882plibpth=''
883pmake=''
884pr=''
885prefix='/usr'
886prefixexp='/usr'
887privlib='/usr/lib/perl5/5.12.2'
888privlibexp='/usr/lib/perl5/5.12.2'
889procselfexe='"/proc/self/exe"'
890prototype='define'
891randbits='48'
892randfunc='drand48'
893random_r_proto='REENTRANT_PROTO_I_St'
894randseedtype='long'
895ranlib=':'
896rd_nodata='-1'
897readdir64_r_proto='REENTRANT_PROTO_I_TSR'
898readdir_r_proto='REENTRANT_PROTO_I_TSR'
899revision='5'
900rm='rm'
901rm_try='/bin/rm -f try try a.out .out try.[cho] try..o core core.try* try.core*'
902rmail=''
903run=''
904runnm='false'
905sPRIEUldbl='"LE"'
906sPRIFUldbl='"LF"'
907sPRIGUldbl='"LG"'
908sPRIeldbl='"Le"'
909sPRIfldbl='"Lf"'
910sPRIgldbl='"Lg"'
911sSCNfldbl='"Lf"'
912sched_yield='sched_yield()'
913scriptdir='/usr/bin'
914scriptdirexp='/usr/bin'
915sed='sed'
916seedfunc='srand48'
917selecttype='fd_set *'
918sendmail=''
919setgrent_r_proto='0'
920sethostent_r_proto='0'
921setlocale_r_proto='0'
922setnetent_r_proto='0'
923setprotoent_r_proto='0'
924setpwent_r_proto='0'
925setservent_r_proto='0'
926sh='/bin/sh'
927shar=''
928sharpbang='#!'
929shmattype='void *'
930shortsize='2'
931shrpenv=''
932shsharp='true'
933sig_count='65'
934sig_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 '
935sig_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'
936sig_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 '
937sig_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'
938sig_size='69'
939signal_t='void'
940sitearch='/usr/lib/perl5/site_perl/5.12.2/@ARCH@-thread-multi'
941sitearchexp='/usr/lib/perl5/site_perl/5.12.2/@ARCH@-thread-multi'
942sitebin='/usr/bin'
943sitebinexp='/usr/bin'
944sitehtml1dir=''
945sitehtml1direxp=''
946sitehtml3dir=''
947sitehtml3direxp=''
948sitelib='/usr/lib/perl5/site_perl/5.12.2'
949sitelib_stem='/usr/lib/perl5/site_perl'
950sitelibexp='/usr/lib/perl5/site_perl/5.12.2'
951siteman1dir=''
952siteman1direxp=''
953siteman3dir=''
954siteman3direxp=''
955siteprefix='/usr'
956siteprefixexp='/usr'
957sitescript='/usr/bin'
958sitescriptexp='/usr/bin'
959sizetype='size_t'
960sleep=''
961smail=''
962so='so'
963sockethdr=''
964socketlib=''
965socksizetype='socklen_t'
966sort='sort'
967spackage='Perl5'
968spitshell='cat'
969srand48_r_proto='REENTRANT_PROTO_I_LS'
970srandom_r_proto='REENTRANT_PROTO_I_TS'
971src='.'
972ssizetype='ssize_t'
973startperl='#!/usr/bin/perl'
974startsh='#!/bin/sh'
975static_ext=' '
976stdchar='char'
977stdio_base='((fp)->_IO_read_base)'
978stdio_bufsiz='((fp)->_IO_read_end - (fp)->_IO_read_base)'
979stdio_cnt='((fp)->_IO_read_end - (fp)->_IO_read_ptr)'
980stdio_filbuf=''
981stdio_ptr='((fp)->_IO_read_ptr)'
982stdio_stream_array=''
983strerror_r_proto='REENTRANT_PROTO_B_IBW'
984strings='/usr/include/string.h'
985submit=''
986subversion='2'
987sysman='/usr/share/man/man1'
988tail=''
989tar=''
990targetarch=''
991tbl=''
992tee=''
993test='test'
994timeincl='/usr/include/sys/time.h /usr/include/time.h '
995timetype='time_t'
996tmpnam_r_proto='REENTRANT_PROTO_B_B'
997to=':'
998touch='touch'
999tr='tr'
1000trnl='\n'
1001troff=''
1002ttyname_r_proto='REENTRANT_PROTO_I_IBW'
1003u16size='2'
1004u16type='unsigned short'
1005u32size='4'
1006u64size='8'
1007u8size='1'
1008u8type='unsigned char'
1009uidsign='1'
1010uidsize='4'
1011uidtype='uid_t'
1012uname='uname'
1013uniq='uniq'
1014use5005threads='undef'
1015usecrosscompile='undef'
1016usedevel='undef'
1017usedl='define'
1018usedtrace='undef'
1019usefaststdio='undef'
1020useithreads='define'
1021uselargefiles='define'
1022uselongdouble='undef'
1023usemallocwrap='define'
1024usemorebits='undef'
1025usemultiplicity='define'
1026usemymalloc='n'
1027usenm='false'
1028useopcode='true'
1029useperlio='define'
1030useposix='true'
1031usereentrant='undef'
1032userelocatableinc='undef'
1033usesfio='false'
1034useshrplib='true'
1035usesitecustomize='undef'
1036usesocks='undef'
1037usethreads='define'
1038usevendorprefix='define'
1039usevfork='false'
1040usrinc='/usr/include'
1041uuname=''
1042uvXUformat='"lX"'
1043uvoformat='"lo"'
1044uvtype='unsigned long'
1045uvuformat='"lu"'
1046uvxformat='"lx"'
1047vaproto='define'
1048vendorarch='/usr/lib/perl5/vendor_perl/5.12.2/@ARCH@-thread-multi'
1049vendorarchexp='/usr/lib/perl5/vendor_perl/5.12.2/@ARCH@-thread-multi'
1050vendorbin='/usr/bin'
1051vendorbinexp='/usr/bin'
1052vendorhtml1dir=' '
1053vendorhtml1direxp=''
1054vendorhtml3dir=' '
1055vendorhtml3direxp=''
1056vendorlib='/usr/lib/perl5/vendor_perl/5.12.2'
1057vendorlib_stem='/usr/lib/perl5/vendor_perl'
1058vendorlibexp='/usr/lib/perl5/vendor_perl/5.12.2'
1059vendorman1dir=' '
1060vendorman1direxp=''
1061vendorman3dir=' '
1062vendorman3direxp=''
1063vendorprefix='/usr'
1064vendorprefixexp='/usr'
1065vendorscript='/usr/bin'
1066vendorscriptexp='/usr/bin'
1067version='5.12.2'
1068version_patchlevel_string='version 12 subversion 2'
1069versiononly='undef'
1070vi=''
1071voidflags='15'
1072xlibpth='/usr/lib/386 /lib/386'
1073yacc='yacc'
1074yaccflags=''
1075zcat=''
1076zip='zip'
1077PERL_REVISION=5
1078PERL_VERSION=12
1079PERL_SUBVERSION=2
1080PERL_API_REVISION=5
1081PERL_API_VERSION=12
1082PERL_API_SUBVERSION=0
1083PERL_PATCHLEVEL=''
1084PERL_CONFIG_SH=true
1085: Variables propagated from previous config.sh file.
1086libdb_needs_pthread='N'
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/config.sh-32 b/meta/recipes-devtools/perl/perl-5.12.2/config.sh-32
new file mode 100644
index 0000000000..7259a0c6ae
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/config.sh-32
@@ -0,0 +1,38 @@
1alignbytes='4'
2cf_time='Thu Dec 23 03:57:51 UTC 2010'
3cppsymbols='_FILE_OFFSET_BITS=64 _GNU_SOURCE=1 _LARGEFILE64_SOURCE=1 _LARGEFILE_SOURCE=1 _POSIX_C_SOURCE=200809L _POSIX_SOURCE=1 _REENTRANT=1 _XOPEN_SOURCE=700 _XOPEN_SOURCE_EXTENDED=1 __BIGGEST_ALIGNMENT__=16 __CHAR16_TYPE__=short\ unsigned\ int __CHAR32_TYPE__=unsigned\ int __CHAR_BIT__=8 __DBL_DENORM_MIN__=((double)4.94065645841246544177e-324L) __DBL_DIG__=15 __DBL_EPSILON__=((double)2.22044604925031308085e-16L) __DBL_HAS_DENORM__=1 __DBL_HAS_INFINITY__=1 __DBL_HAS_QUIET_NAN__=1 __DBL_MANT_DIG__=53 __DBL_MAX_10_EXP__=308 __DBL_MAX_EXP__=1024 __DBL_MAX__=((double)1.79769313486231570815e+308L) __DBL_MIN_10_EXP__=(-307) __DBL_MIN_EXP__=(-1021) __DBL_MIN__=((double)2.22507385850720138309e-308L) __DEC128_EPSILON__=1E-33DL __DEC128_MANT_DIG__=34 __DEC128_MAX_EXP__=6145 __DEC128_MAX__=9.999999999999999999999999999999999E6144DL __DEC128_MIN_EXP__=(-6142) __DEC128_MIN__=1E-6143DL __DEC128_SUBNORMAL_MIN__=0.000000000000000000000000000000001E-6143DL __DEC32_EPSILON__=1E-6DF __DEC32_MANT_DIG__=7 __DEC32_MAX_EXP__=97 __DEC32_MAX__=9.999999E96DF __DEC32_MIN_EXP__=(-94) __DEC32_MIN__=1E-95DF __DEC32_SUBNORMAL_MIN__=0.000001E-95DF __DEC64_EPSILON__=1E-15DD __DEC64_MANT_DIG__=16 __DEC64_MAX_EXP__=385 __DEC64_MAX__=9.999999999999999E384DD __DEC64_MIN_EXP__=(-382) __DEC64_MIN__=1E-383DD __DEC64_SUBNORMAL_MIN__=0.000000000000001E-383DD __DECIMAL_BID_FORMAT__=1 __DECIMAL_DIG__=21 __DEC_EVAL_METHOD__=2 __ELF__=1 __FINITE_MATH_ONLY__=0 __FLT_DENORM_MIN__=1.40129846432481707092e-45F __FLT_DIG__=6 __FLT_EPSILON__=1.19209289550781250000e-7F __FLT_EVAL_METHOD__=2 __FLT_HAS_DENORM__=1 __FLT_HAS_INFINITY__=1 __FLT_HAS_QUIET_NAN__=1 __FLT_MANT_DIG__=24 __FLT_MAX_10_EXP__=38 __FLT_MAX_EXP__=128 __FLT_MAX__=3.40282346638528859812e+38F __FLT_MIN_10_EXP__=(-37) __FLT_MIN_EXP__=(-125) __FLT_MIN__=1.17549435082228750797e-38F __FLT_RADIX__=2 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1=1 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2=1 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4=1 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8=1 __GLIBC_MINOR__=12 __GLIBC__=2 __GNUC_GNU_INLINE__=1 __GNUC_MINOR__=5 __GNUC_PATCHLEVEL__=1 __GNUC__=4 __GNU_LIBRARY__=6 __GXX_ABI_VERSION=1002 __INT16_C(c)=c __INT16_MAX__=32767 __INT16_TYPE__=short\ int __INT32_C(c)=c __INT32_MAX__=2147483647 __INT32_TYPE__=int __INT64_C(c)=cLL __INT64_MAX__=9223372036854775807LL __INT64_TYPE__=long\ long\ int __INT8_C(c)=c __INT8_MAX__=127 __INT8_TYPE__=signed\ char __INTMAX_C(c)=cLL __INTMAX_MAX__=9223372036854775807LL __INTMAX_TYPE__=long\ long\ int __INTPTR_MAX__=2147483647 __INTPTR_TYPE__=int __INT_FAST16_MAX__=2147483647 __INT_FAST16_TYPE__=int __INT_FAST32_MAX__=2147483647 __INT_FAST32_TYPE__=int __INT_FAST64_MAX__=9223372036854775807LL __INT_FAST64_TYPE__=long\ long\ int __INT_FAST8_MAX__=127 __INT_FAST8_TYPE__=signed\ char __INT_LEAST16_MAX__=32767 __INT_LEAST16_TYPE__=short\ int __INT_LEAST32_MAX__=2147483647 __INT_LEAST32_TYPE__=int __INT_LEAST64_MAX__=9223372036854775807LL __INT_LEAST64_TYPE__=long\ long\ int __INT_LEAST8_MAX__=127 __INT_LEAST8_TYPE__=signed\ char __INT_MAX__=2147483647 __LDBL_DENORM_MIN__=3.64519953188247460253e-4951L __LDBL_DIG__=18 __LDBL_EPSILON__=1.08420217248550443401e-19L __LDBL_HAS_DENORM__=1 __LDBL_HAS_INFINITY__=1 __LDBL_HAS_QUIET_NAN__=1 __LDBL_MANT_DIG__=64 __LDBL_MAX_10_EXP__=4932 __LDBL_MAX_EXP__=16384 __LDBL_MAX__=1.18973149535723176502e+4932L __LDBL_MIN_10_EXP__=(-4931) __LDBL_MIN_EXP__=(-16381) __LDBL_MIN__=3.36210314311209350626e-4932L __LONG_LONG_MAX__=9223372036854775807LL __LONG_MAX__=2147483647L __PRAGMA_REDEFINE_EXTNAME=1 __PTRDIFF_MAX__=2147483647 __PTRDIFF_TYPE__=int __REGISTER_PREFIX__= __SCHAR_MAX__=127 __SHRT_MAX__=32767 __SIG_ATOMIC_MAX__=2147483647 __SIG_ATOMIC_MIN__=(-2147483647\ -\ 1) __SIG_ATOMIC_TYPE__=int __SIZEOF_DOUBLE__=8 __SIZEOF_FLOAT__=4 __SIZEOF_INT__=4 __SIZEOF_LONG_DOUBLE__=12 __SIZEOF_LONG_LONG__=8 __SIZEOF_LONG__=4 __SIZEOF_POINTER__=4 __SIZEOF_PTRDIFF_T__=4 __SIZEOF_SHORT__=2 __SIZEOF_SIZE_T__=4 __SIZEOF_WCHAR_T__=4 __SIZEOF_WINT_T__=4 __SIZE_MAX__=4294967295U __SIZE_TYPE__=unsigned\ int __STDC_HOSTED__=1 __STDC__=1 __UINT16_C(c)=c __UINT16_MAX__=65535 __UINT16_TYPE__=short\ unsigned\ int __UINT32_C(c)=cU __UINT32_MAX__=4294967295U __UINT32_TYPE__=unsigned\ int __UINT64_C(c)=cULL __UINT64_MAX__=18446744073709551615ULL __UINT64_TYPE__=long\ long\ unsigned\ int __UINT8_C(c)=c __UINT8_MAX__=255 __UINT8_TYPE__=unsigned\ char __UINTMAX_C(c)=cULL __UINTMAX_MAX__=18446744073709551615ULL __UINTMAX_TYPE__=long\ long\ unsigned\ int __UINTPTR_MAX__=4294967295U __UINTPTR_TYPE__=unsigned\ int __UINT_FAST16_MAX__=4294967295U __UINT_FAST16_TYPE__=unsigned\ int __UINT_FAST32_MAX__=4294967295U __UINT_FAST32_TYPE__=unsigned\ int __UINT_FAST64_MAX__=18446744073709551615ULL __UINT_FAST64_TYPE__=long\ long\ unsigned\ int __UINT_FAST8_MAX__=255 __UINT_FAST8_TYPE__=unsigned\ char __UINT_LEAST16_MAX__=65535 __UINT_LEAST16_TYPE__=short\ unsigned\ int __UINT_LEAST32_MAX__=4294967295U __UINT_LEAST32_TYPE__=unsigned\ int __UINT_LEAST64_MAX__=18446744073709551615ULL __UINT_LEAST64_TYPE__=long\ long\ unsigned\ int __UINT_LEAST8_MAX__=255 __UINT_LEAST8_TYPE__=unsigned\ char __USER_LABEL_PREFIX__= __USE_BSD=1 __USE_FILE_OFFSET64=1 __USE_GNU=1 __USE_LARGEFILE64=1 __USE_LARGEFILE=1 __USE_MISC=1 __USE_POSIX199309=1 __USE_POSIX199506=1 __USE_POSIX2=1 __USE_POSIX=1 __USE_REENTRANT=1 __USE_SVID=1 __USE_UNIX98=1 __USE_XOPEN=1 __USE_XOPEN_EXTENDED=1 __VERSION__="4.5.1" __WCHAR_MAX__=2147483647L __WCHAR_MIN__=(-2147483647L\ -\ 1) __WCHAR_TYPE__=long\ int __WINT_MAX__=4294967295U __WINT_MIN__=0U __WINT_TYPE__=unsigned\ int __gnu_linux__=1 __i386=1 __i386__=1 __i586=1 __i586__=1 __linux=1 __linux__=1 __pentium=1 __pentium__=1 __tune_i586__=1 __tune_pentium__=1 __unix=1 __unix__=1 i386=1 linux=1 unix=1'
4d_nv_preserves_uv='define'
5d_printf_format_null='define'
6d_u32align='undef'
7gidformat='"lu"'
8i32type='long'
9i64type='long long'
10ivsize='4'
11longdblsize='12'
12longsize='4'
13myuname='linux qemux86 2.6.37-rc5-yocto-standard+ #1 preempt mon dec 20 14:21:27 pst 2010 i686 gnulinux '
14need_va_copy='undef'
15netdb_host_type='const void *'
16nv_preserves_uv_bits='32'
17ptrsize='4'
18quadkind='3'
19quadtype='long long'
20sGMTIME_max='2147483647'
21sGMTIME_min='-2147483648'
22sLOCALTIME_max='2147483647'
23sLOCALTIME_min='-2147483648'
24sPRIXU64='"LX"'
25sPRId64='"Ld"'
26sPRIi64='"Li"'
27sPRIo64='"Lo"'
28sPRIu64='"Lu"'
29sPRIx64='"Lx"'
30selectminbits='32'
31sizesize='4'
32u32type='unsigned long'
33u64type='unsigned long long'
34uidformat='"lu"'
35uquadtype='unsigned long long'
36use64bitall='undef'
37use64bitint='undef'
38uvsize='4'
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/config.sh-32-be b/meta/recipes-devtools/perl/perl-5.12.2/config.sh-32-be
new file mode 100644
index 0000000000..a59a9abb5e
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/config.sh-32-be
@@ -0,0 +1 @@
byteorder='4321'
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/config.sh-32-le b/meta/recipes-devtools/perl/perl-5.12.2/config.sh-32-le
new file mode 100644
index 0000000000..10e4226567
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/config.sh-32-le
@@ -0,0 +1 @@
byteorder='1234'
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/config.sh-64 b/meta/recipes-devtools/perl/perl-5.12.2/config.sh-64
new file mode 100644
index 0000000000..6929d3a09d
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/config.sh-64
@@ -0,0 +1,38 @@
1alignbytes='8'
2cf_time='Thu Dec 23 02:06:42 UTC 2010'
3cppsymbols='_FILE_OFFSET_BITS=64 _GNU_SOURCE=1 _LARGEFILE64_SOURCE=1 _LARGEFILE_SOURCE=1 _LP64=1 _POSIX_C_SOURCE=200809L _POSIX_SOURCE=1 _REENTRANT=1 _XOPEN_SOURCE=700 _XOPEN_SOURCE_EXTENDED=1 __BIGGEST_ALIGNMENT__=16 __CHAR16_TYPE__=short\ unsigned\ int __CHAR32_TYPE__=unsigned\ int __CHAR_BIT__=8 __DBL_DENORM_MIN__=((double)4.94065645841246544177e-324L) __DBL_DIG__=15 __DBL_EPSILON__=((double)2.22044604925031308085e-16L) __DBL_HAS_DENORM__=1 __DBL_HAS_INFINITY__=1 __DBL_HAS_QUIET_NAN__=1 __DBL_MANT_DIG__=53 __DBL_MAX_10_EXP__=308 __DBL_MAX_EXP__=1024 __DBL_MAX__=((double)1.79769313486231570815e+308L) __DBL_MIN_10_EXP__=(-307) __DBL_MIN_EXP__=(-1021) __DBL_MIN__=((double)2.22507385850720138309e-308L) __DEC128_EPSILON__=1E-33DL __DEC128_MANT_DIG__=34 __DEC128_MAX_EXP__=6145 __DEC128_MAX__=9.999999999999999999999999999999999E6144DL __DEC128_MIN_EXP__=(-6142) __DEC128_MIN__=1E-6143DL __DEC128_SUBNORMAL_MIN__=0.000000000000000000000000000000001E-6143DL __DEC32_EPSILON__=1E-6DF __DEC32_MANT_DIG__=7 __DEC32_MAX_EXP__=97 __DEC32_MAX__=9.999999E96DF __DEC32_MIN_EXP__=(-94) __DEC32_MIN__=1E-95DF __DEC32_SUBNORMAL_MIN__=0.000001E-95DF __DEC64_EPSILON__=1E-15DD __DEC64_MANT_DIG__=16 __DEC64_MAX_EXP__=385 __DEC64_MAX__=9.999999999999999E384DD __DEC64_MIN_EXP__=(-382) __DEC64_MIN__=1E-383DD __DEC64_SUBNORMAL_MIN__=0.000000000000001E-383DD __DECIMAL_BID_FORMAT__=1 __DECIMAL_DIG__=21 __DEC_EVAL_METHOD__=2 __ELF__=1 __FINITE_MATH_ONLY__=0 __FLT_DENORM_MIN__=1.40129846432481707092e-45F __FLT_DIG__=6 __FLT_EPSILON__=1.19209289550781250000e-7F __FLT_EVAL_METHOD__=0 __FLT_HAS_DENORM__=1 __FLT_HAS_INFINITY__=1 __FLT_HAS_QUIET_NAN__=1 __FLT_MANT_DIG__=24 __FLT_MAX_10_EXP__=38 __FLT_MAX_EXP__=128 __FLT_MAX__=3.40282346638528859812e+38F __FLT_MIN_10_EXP__=(-37) __FLT_MIN_EXP__=(-125) __FLT_MIN__=1.17549435082228750797e-38F __FLT_RADIX__=2 __GCC_HAVE_DWARF2_CFI_ASM=1 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1=1 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2=1 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4=1 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8=1 __GLIBC_MINOR__=12 __GLIBC__=2 __GNUC_GNU_INLINE__=1 __GNUC_MINOR__=5 __GNUC_PATCHLEVEL__=1 __GNUC__=4 __GNU_LIBRARY__=6 __GXX_ABI_VERSION=1002 __INT16_C(c)=c __INT16_MAX__=32767 __INT16_TYPE__=short\ int __INT32_C(c)=c __INT32_MAX__=2147483647 __INT32_TYPE__=int __INT64_C(c)=cL __INT64_MAX__=9223372036854775807L __INT64_TYPE__=long\ int __INT8_C(c)=c __INT8_MAX__=127 __INT8_TYPE__=signed\ char __INTMAX_C(c)=cL __INTMAX_MAX__=9223372036854775807L __INTMAX_TYPE__=long\ int __INTPTR_MAX__=9223372036854775807L __INTPTR_TYPE__=long\ int __INT_FAST16_MAX__=9223372036854775807L __INT_FAST16_TYPE__=long\ int __INT_FAST32_MAX__=9223372036854775807L __INT_FAST32_TYPE__=long\ int __INT_FAST64_MAX__=9223372036854775807L __INT_FAST64_TYPE__=long\ int __INT_FAST8_MAX__=127 __INT_FAST8_TYPE__=signed\ char __INT_LEAST16_MAX__=32767 __INT_LEAST16_TYPE__=short\ int __INT_LEAST32_MAX__=2147483647 __INT_LEAST32_TYPE__=int __INT_LEAST64_MAX__=9223372036854775807L __INT_LEAST64_TYPE__=long\ int __INT_LEAST8_MAX__=127 __INT_LEAST8_TYPE__=signed\ char __INT_MAX__=2147483647 __LDBL_DENORM_MIN__=3.64519953188247460253e-4951L __LDBL_DIG__=18 __LDBL_EPSILON__=1.08420217248550443401e-19L __LDBL_HAS_DENORM__=1 __LDBL_HAS_INFINITY__=1 __LDBL_HAS_QUIET_NAN__=1 __LDBL_MANT_DIG__=64 __LDBL_MAX_10_EXP__=4932 __LDBL_MAX_EXP__=16384 __LDBL_MAX__=1.18973149535723176502e+4932L __LDBL_MIN_10_EXP__=(-4931) __LDBL_MIN_EXP__=(-16381) __LDBL_MIN__=3.36210314311209350626e-4932L __LONG_LONG_MAX__=9223372036854775807LL __LONG_MAX__=9223372036854775807L __LP64__=1 __MMX__=1 __PRAGMA_REDEFINE_EXTNAME=1 __PTRDIFF_MAX__=9223372036854775807L __PTRDIFF_TYPE__=long\ int __REGISTER_PREFIX__= __SCHAR_MAX__=127 __SHRT_MAX__=32767 __SIG_ATOMIC_MAX__=2147483647 __SIG_ATOMIC_MIN__=(-2147483647\ -\ 1) __SIG_ATOMIC_TYPE__=int __SIZEOF_DOUBLE__=8 __SIZEOF_FLOAT__=4 __SIZEOF_INT__=4 __SIZEOF_LONG_DOUBLE__=16 __SIZEOF_LONG_LONG__=8 __SIZEOF_LONG__=8 __SIZEOF_POINTER__=8 __SIZEOF_PTRDIFF_T__=8 __SIZEOF_SHORT__=2 __SIZEOF_SIZE_T__=8 __SIZEOF_WCHAR_T__=4 __SIZEOF_WINT_T__=4 __SIZE_MAX__=18446744073709551615UL __SIZE_TYPE__=long\ unsigned\ int __SSE2_MATH__=1 __SSE2__=1 __SSE_MATH__=1 __SSE__=1 __STDC_HOSTED__=1 __STDC__=1 __UINT16_C(c)=c __UINT16_MAX__=65535 __UINT16_TYPE__=short\ unsigned\ int __UINT32_C(c)=cU __UINT32_MAX__=4294967295U __UINT32_TYPE__=unsigned\ int __UINT64_C(c)=cUL __UINT64_MAX__=18446744073709551615UL __UINT64_TYPE__=long\ unsigned\ int __UINT8_C(c)=c __UINT8_MAX__=255 __UINT8_TYPE__=unsigned\ char __UINTMAX_C(c)=cUL __UINTMAX_MAX__=18446744073709551615UL __UINTMAX_TYPE__=long\ unsigned\ int __UINTPTR_MAX__=18446744073709551615UL __UINTPTR_TYPE__=long\ unsigned\ int __UINT_FAST16_MAX__=18446744073709551615UL __UINT_FAST16_TYPE__=long\ unsigned\ int __UINT_FAST32_MAX__=18446744073709551615UL __UINT_FAST32_TYPE__=long\ unsigned\ int __UINT_FAST64_MAX__=18446744073709551615UL __UINT_FAST64_TYPE__=long\ unsigned\ int __UINT_FAST8_MAX__=255 __UINT_FAST8_TYPE__=unsigned\ char __UINT_LEAST16_MAX__=65535 __UINT_LEAST16_TYPE__=short\ unsigned\ int __UINT_LEAST32_MAX__=4294967295U __UINT_LEAST32_TYPE__=unsigned\ int __UINT_LEAST64_MAX__=18446744073709551615UL __UINT_LEAST64_TYPE__=long\ unsigned\ int __UINT_LEAST8_MAX__=255 __UINT_LEAST8_TYPE__=unsigned\ char __USER_LABEL_PREFIX__= __USE_BSD=1 __USE_FILE_OFFSET64=1 __USE_GNU=1 __USE_LARGEFILE64=1 __USE_LARGEFILE=1 __USE_MISC=1 __USE_POSIX199309=1 __USE_POSIX199506=1 __USE_POSIX2=1 __USE_POSIX=1 __USE_REENTRANT=1 __USE_SVID=1 __USE_UNIX98=1 __USE_XOPEN=1 __USE_XOPEN_EXTENDED=1 __VERSION__="4.5.1" __WCHAR_MAX__=2147483647 __WCHAR_MIN__=(-2147483647\ -\ 1) __WCHAR_TYPE__=int __WINT_MAX__=4294967295U __WINT_MIN__=0U __WINT_TYPE__=unsigned\ int __amd64=1 __amd64__=1 __gnu_linux__=1 __k8=1 __k8__=1 __linux=1 __linux__=1 __unix=1 __unix__=1 __x86_64=1 __x86_64__=1 linux=1 unix=1'
4d_nv_preserves_uv='undef'
5d_printf_format_null='undef'
6d_u32align='define'
7gidformat='"u"'
8i32type='int'
9i64type='long'
10ivsize='8'
11longdblsize='16'
12longsize='8'
13myuname='linux qemux86-64 2.6.37-rc5-yocto-standard+ #1 smp preempt mon dec 20 17:19:50 pst 2010 x86_64 gnulinux '
14need_va_copy='define'
15netdb_host_type='char *'
16nv_preserves_uv_bits='53'
17ptrsize='8'
18quadkind='2'
19quadtype='long'
20sGMTIME_max='67768036191676799'
21sGMTIME_min='-62167219200'
22sLOCALTIME_max='67768036191676799'
23sLOCALTIME_min='-62167219200'
24sPRIXU64='"lX"'
25sPRId64='"ld"'
26sPRIi64='"li"'
27sPRIo64='"lo"'
28sPRIu64='"lu"'
29sPRIx64='"lx"'
30selectminbits='64'
31sizesize='8'
32u32type='unsigned int'
33u64type='unsigned long'
34uidformat='"u"'
35uquadtype='unsigned long'
36use64bitall='define'
37use64bitint='define'
38uvsize='8'
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/config.sh-64-be b/meta/recipes-devtools/perl/perl-5.12.2/config.sh-64-be
new file mode 100644
index 0000000000..c08ce3c431
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/config.sh-64-be
@@ -0,0 +1 @@
byteorder='87654321'
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/config.sh-64-le b/meta/recipes-devtools/perl/perl-5.12.2/config.sh-64-le
new file mode 100644
index 0000000000..277d2a9bee
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/config.sh-64-le
@@ -0,0 +1 @@
byteorder='12345678'
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/cross-generate_uudmap.patch b/meta/recipes-devtools/perl/perl-5.12.2/cross-generate_uudmap.patch
new file mode 100644
index 0000000000..f6218c1bbb
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/cross-generate_uudmap.patch
@@ -0,0 +1,13 @@
1Index: perl-5.10.1/Makefile.SH
2===================================================================
3--- perl-5.10.1.orig/Makefile.SH 2010-02-12 19:06:17.000000000 +0300
4+++ perl-5.10.1/Makefile.SH 2010-02-12 19:10:13.000000000 +0300
5@@ -596,7 +596,7 @@
6 \$(RUN) ./generate_uudmap\$(HOST_EXE_EXT) >uudmap.h
7
8 generate_uudmap\$(HOST_EXE_EXT): generate_uudmap\$(OBJ_EXT)
9- \$(CC) -o generate_uudmap\$(EXE_EXT) \$(LDFLAGS) generate_uudmap\$(OBJ_EXT) \$(libs)
10+ \$(BUILD_CC) -o generate_uudmap\$(EXE_EXT) generate_uudmap.c
11
12 !GROK!THIS!
13 $spitshell >>$Makefile <<'!NO!SUBS!'
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/arm_optim.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/arm_optim.diff
new file mode 100644
index 0000000000..383df6b358
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/arm_optim.diff
@@ -0,0 +1,32 @@
1From: Niko Tyni <ntyni@debian.org>
2Description: Downgrade the optimization of sv.c on arm due to a gcc-4.4 bug
3Bug-Debian: http://bugs.debian.org/580334
4
5Regression from gcc-4.3, not reported yet.
6
7 perl -e '"-2" =~ /(.+)/; @foo=(); push @foo, $_ for $1..undef; print @foo ? "ok\n" : "not ok\n"'
8
9
10---
11 cflags.SH | 6 +++++-
12 1 files changed, 5 insertions(+), 1 deletions(-)
13
14diff --git a/cflags.SH b/cflags.SH
15index a5d71b9..6914ba6 100755
16--- a/cflags.SH
17+++ b/cflags.SH
18@@ -312,7 +312,11 @@ for file do
19 regexec) ;;
20 run) ;;
21 scope) ;;
22- sv) ;;
23+ sv)
24+ case $archname in
25+ arm-*|armeb-*)
26+ optimize=-O0;;
27+ esac;;
28 taint) ;;
29 toke) ;;
30 universal) ;;
31--
32tg: (c823880..) debian/arm_optim (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/arm_thread_stress_timeout.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/arm_thread_stress_timeout.diff
new file mode 100644
index 0000000000..34b8a2c1a1
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/arm_thread_stress_timeout.diff
@@ -0,0 +1,23 @@
1Subject: Raise the timeout of ext/threads/shared/t/stress.t to accommodate slower build hosts
2Bug-Debian: http://bugs.debian.org/501970
3
4
5---
6 dist/threads-shared/t/stress.t | 2 +-
7 1 files changed, 1 insertions(+), 1 deletions(-)
8
9diff --git a/dist/threads-shared/t/stress.t b/dist/threads-shared/t/stress.t
10index adfd1ed..652a3e6 100755
11--- a/dist/threads-shared/t/stress.t
12+++ b/dist/threads-shared/t/stress.t
13@@ -34,7 +34,7 @@ use threads::shared;
14 {
15 my $cnt = 50;
16
17- my $TIMEOUT = 60;
18+ my $TIMEOUT = 150;
19
20 my $mutex = 1;
21 share($mutex);
22--
23tg: (c823880..) debian/arm_thread_stress_timeout (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/cpan_config_path.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/cpan_config_path.diff
new file mode 100644
index 0000000000..799d15e5d1
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/cpan_config_path.diff
@@ -0,0 +1,22 @@
1Subject: Set location of CPAN::Config to /etc/perl as /usr may not be writable.
2
3
4---
5 cpan/CPAN/lib/CPAN/HandleConfig.pm | 2 +-
6 1 files changed, 1 insertions(+), 1 deletions(-)
7
8diff --git a/cpan/CPAN/lib/CPAN/HandleConfig.pm b/cpan/CPAN/lib/CPAN/HandleConfig.pm
9index 76cd81e..65a3b27 100644
10--- a/cpan/CPAN/lib/CPAN/HandleConfig.pm
11+++ b/cpan/CPAN/lib/CPAN/HandleConfig.pm
12@@ -543,7 +543,7 @@ sub load {
13 $configpm = $INC{"CPAN/MyConfig.pm"};
14 $redo++;
15 } else {
16- my($path_to_cpan) = File::Basename::dirname($INC{"CPAN.pm"});
17+ my($path_to_cpan) = '/etc/perl';
18 my($configpmdir) = File::Spec->catdir($path_to_cpan,"CPAN");
19 my($configpmtest) = File::Spec->catfile($configpmdir,"Config.pm");
20 my $inc_key;
21--
22tg: (c823880..) debian/cpan_config_path (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/cpan_definstalldirs.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/cpan_definstalldirs.diff
new file mode 100644
index 0000000000..f64af15eea
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/cpan_definstalldirs.diff
@@ -0,0 +1,35 @@
1Subject: Provide a sensible INSTALLDIRS default for modules installed from CPAN.
2
3Some modules which are included in core set INSTALLDIRS => 'perl'
4explicitly in Makefile.PL or Build.PL. This makes sense for the normal @INC
5ordering, but not ours.
6
7
8---
9 cpan/CPAN/lib/CPAN/FirstTime.pm | 4 ++--
10 1 files changed, 2 insertions(+), 2 deletions(-)
11
12diff --git a/cpan/CPAN/lib/CPAN/FirstTime.pm b/cpan/CPAN/lib/CPAN/FirstTime.pm
13index 53ffbf1..53976ff 100644
14--- a/cpan/CPAN/lib/CPAN/FirstTime.pm
15+++ b/cpan/CPAN/lib/CPAN/FirstTime.pm
16@@ -947,7 +947,7 @@ sub init {
17 my_prompt_loop(prefer_installer => 'MB', $matcher, 'MB|EUMM|RAND');
18
19 if (!$matcher or 'makepl_arg make_arg' =~ /$matcher/) {
20- my_dflt_prompt(makepl_arg => "", $matcher);
21+ my_dflt_prompt(makepl_arg => "INSTALLDIRS=site", $matcher);
22 my_dflt_prompt(make_arg => "", $matcher);
23 if ( $CPAN::Config->{makepl_arg} =~ /LIBS=|INC=/ ) {
24 $CPAN::Frontend->mywarn(
25@@ -969,7 +969,7 @@ sub init {
26 my_dflt_prompt(make_install_arg => $CPAN::Config->{make_arg} || "",
27 $matcher);
28
29- my_dflt_prompt(mbuildpl_arg => "", $matcher);
30+ my_dflt_prompt(mbuildpl_arg => "--installdirs site", $matcher);
31 my_dflt_prompt(mbuild_arg => "", $matcher);
32
33 if (exists $CPAN::HandleConfig::keys{mbuild_install_build_command}
34--
35tg: (c823880..) debian/cpan_definstalldirs (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/cpanplus_config_path.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/cpanplus_config_path.diff
new file mode 100644
index 0000000000..6956218f8a
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/cpanplus_config_path.diff
@@ -0,0 +1,43 @@
1From: Niko Tyni <ntyni@debian.org>
2Subject: Save local versions of CPANPLUS::Config::System into /etc/perl.
3
4This is a configuration file and needs to go in /etc by policy.
5Besides, /usr may not even be writable.
6
7This mirrors the Debian setup of CPAN.pm in debian/cpan_config_path.
8
9See #533707.
10
11---
12 cpan/CPANPLUS/lib/CPANPLUS/Configure.pm | 1 +
13 cpan/CPANPLUS/lib/CPANPLUS/Internals/Constants.pm | 3 +++
14 2 files changed, 4 insertions(+), 0 deletions(-)
15
16diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Configure.pm b/cpan/CPANPLUS/lib/CPANPLUS/Configure.pm
17index baac91d..a3794de 100644
18--- a/cpan/CPANPLUS/lib/CPANPLUS/Configure.pm
19+++ b/cpan/CPANPLUS/lib/CPANPLUS/Configure.pm
20@@ -276,6 +276,7 @@ Saves the configuration to the package name you provided.
21 If this package is not C<CPANPLUS::Config::System>, it will
22 be saved in your C<.cpanplus> directory, otherwise it will
23 be attempted to be saved in the system wide directory.
24+(On Debian systems, this system wide directory is /etc/perl.)
25
26 If no argument is provided, it will default to your personal
27 config.
28diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Internals/Constants.pm b/cpan/CPANPLUS/lib/CPANPLUS/Internals/Constants.pm
29index 1a38200..6ee0d82 100644
30--- a/cpan/CPANPLUS/lib/CPANPLUS/Internals/Constants.pm
31+++ b/cpan/CPANPLUS/lib/CPANPLUS/Internals/Constants.pm
32@@ -199,6 +199,9 @@ use constant CONFIG_USER_FILE => sub {
33 ) . '.pm';
34 };
35 use constant CONFIG_SYSTEM_FILE => sub {
36+ # Debian-specific shortcut
37+ return '/etc/perl/CPANPLUS/Config/System.pm';
38+
39 require CPANPLUS::Internals;
40 require File::Basename;
41 my $dir = File::Basename::dirname(
42--
43tg: (c823880..) debian/cpanplus_config_path (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/cpanplus_definstalldirs.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/cpanplus_definstalldirs.diff
new file mode 100644
index 0000000000..3a1e209943
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/cpanplus_definstalldirs.diff
@@ -0,0 +1,52 @@
1From: Niko Tyni <ntyni@debian.org>
2Subject: Configure CPANPLUS to use the site directories by default.
3Closes: 533707
4
5The core modules usually default to INSTALLDIRS=perl (ExtUtils::MakeMaker)
6or installdirs=core (Module::Build), so we need to explicitly ask for
7the site destination to get upgraded versions into /usr/local.
8
9See also the sister patch, debian/cpan_definstalldirs .
10
11---
12 cpan/CPANPLUS/lib/CPANPLUS/Config/System.pm | 30 +++++++++++++++++++++++++++
13 1 files changed, 30 insertions(+), 0 deletions(-)
14
15diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Config/System.pm b/cpan/CPANPLUS/lib/CPANPLUS/Config/System.pm
16new file mode 100644
17index 0000000..5e6e11e
18--- /dev/null
19+++ b/cpan/CPANPLUS/lib/CPANPLUS/Config/System.pm
20@@ -0,0 +1,30 @@
21+### minimal pod, so you can find it with perldoc -l, etc
22+=pod
23+
24+=head1 NAME
25+
26+CPANPLUS::Config::System
27+
28+=head1 DESCRIPTION
29+
30+This is a CPANPLUS configuration file that sets appropriate default
31+settings on Debian systems.
32+
33+The only preconfigured settings are C<makemakerflags> (set to
34+C<INSTALLDIRS=site>) and C<buildflags> (set to C<--installdirs site>).
35+
36+These settings will not have any effect if
37+C</etc/perl/CPANPLUS/Config/System.pm> is present.
38+
39+=cut
40+
41+
42+package CPANPLUS::Config::System;
43+
44+sub setup {
45+ my $conf = shift;
46+ $conf->set_conf( makemakerflags => 'INSTALLDIRS=site' );
47+ $conf->set_conf( buildflags => '--installdirs site' );
48+}
49+
50+1;
51--
52tg: (c823880..) debian/cpanplus_definstalldirs (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/db_file_ver.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/db_file_ver.diff
new file mode 100644
index 0000000000..8d0e61b1d1
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/db_file_ver.diff
@@ -0,0 +1,32 @@
1Subject: Remove overly restrictive DB_File version check.
2Bug-Debian: http://bugs.debian.org/340047
3
4Package dependencies ensure the correct library is linked at run-time.
5
6
7---
8 cpan/DB_File/version.c | 2 ++
9 1 files changed, 2 insertions(+), 0 deletions(-)
10
11diff --git a/cpan/DB_File/version.c b/cpan/DB_File/version.c
12index 47158d3..67ccdff 100644
13--- a/cpan/DB_File/version.c
14+++ b/cpan/DB_File/version.c
15@@ -48,6 +48,7 @@ __getBerkeleyDBInfo()
16
17 (void)db_version(&Major, &Minor, &Patch) ;
18
19+#ifndef DEBIAN
20 /* Check that the versions of db.h and libdb.a are the same */
21 if (Major != DB_VERSION_MAJOR || Minor != DB_VERSION_MINOR )
22 /* || Patch != DB_VERSION_PATCH) */
23@@ -55,6 +56,7 @@ __getBerkeleyDBInfo()
24 croak("\nDB_File was build with libdb version %d.%d.%d,\nbut you are attempting to run it with libdb version %d.%d.%d\n",
25 DB_VERSION_MAJOR, DB_VERSION_MINOR, DB_VERSION_PATCH,
26 Major, Minor, Patch) ;
27+#endif /* DEBIAN */
28
29 /* check that libdb is recent enough -- we need 2.3.4 or greater */
30 if (Major == 2 && (Minor < 3 || (Minor == 3 && Patch < 4)))
31--
32tg: (c823880..) debian/db_file_ver (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/deprecate-with-apt.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/deprecate-with-apt.diff
new file mode 100644
index 0000000000..a515035d9b
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/deprecate-with-apt.diff
@@ -0,0 +1,59 @@
1From: Niko Tyni <ntyni@debian.org>
2Subject: Point users to Debian packages of deprecated core modules
3Bug-Debian: http://bugs.debian.org/580034
4
5Class::ISA, Switch, Pod::Plainer, and (partially) Shell were
6deprecated from the Perl core in 5.12.0.
7
8To get a clean transition, perl-modules is going to recommend the separate
9Debian packages of these for one release cycle so that they will be
10pulled in by default on upgrades.
11
12However, on systems configured to ignore recommendations the deprecation
13warnings will still be useful, so modify them slightly to point to the
14separate packages instead.
15
16---
17 lib/deprecate.pm | 18 +++++++++++++++++-
18 1 files changed, 17 insertions(+), 1 deletions(-)
19
20diff --git a/lib/deprecate.pm b/lib/deprecate.pm
21index 7b92e0b..9db7330 100644
22--- a/lib/deprecate.pm
23+++ b/lib/deprecate.pm
24@@ -7,6 +7,16 @@ our $VERSION = 0.01;
25 our %Config;
26 unless (%Config) { require Config; *Config = \%Config::Config; }
27
28+# Debian-specific change: recommend the separate Debian packages of
29+# deprecated modules where available
30+
31+my %DEBIAN_PACKAGES = (
32+ "Class::ISA" => "libclass-isa-perl",
33+ "Pod::Plainer" => "libpod-plainer-perl",
34+ "Switch" => "libswitch-perl",
35+ "Shell" => "libshell-perl",
36+);
37+
38 sub import {
39 my ($package, $file, $line) = caller;
40 my $expect_leaf = "$package.pm";
41@@ -44,9 +54,15 @@ EOM
42 if (defined $callers_bitmask
43 && (vec($callers_bitmask, $warnings::Offsets{deprecated}, 1)
44 || vec($callers_bitmask, $warnings::Offsets{all}, 1))) {
45- warn <<"EOM";
46+ if (my $deb = $DEBIAN_PACKAGES{$package}) {
47+ warn <<"EOM";
48+$package will be removed from the Perl core distribution in the next major release. Please install the separate $deb package. It is being used at $call_file, line $call_line.
49+EOM
50+ } else {
51+ warn <<"EOM";
52 $package will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at $call_file, line $call_line.
53 EOM
54+ }
55 }
56 return;
57 }
58--
59tg: (c823880..) debian/deprecate-with-apt (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/devel-ppport-ia64-optim.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/devel-ppport-ia64-optim.diff
new file mode 100644
index 0000000000..9e4d9cfdf9
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/devel-ppport-ia64-optim.diff
@@ -0,0 +1,32 @@
1From: Niko Tyni <ntyni@debian.org>
2Subject: Work around an ICE on ia64
3Closes: 548943
4
5Temporarily work around an internal compiler error in Devel::PPPort
6on ia64+gcc-4.3.
7
8
9---
10 cpan/Devel-PPPort/Makefile.PL | 7 +++++++
11 1 files changed, 7 insertions(+), 0 deletions(-)
12
13diff --git a/cpan/Devel-PPPort/Makefile.PL b/cpan/Devel-PPPort/Makefile.PL
14index 67eebc1..f1ef7a2 100644
15--- a/cpan/Devel-PPPort/Makefile.PL
16+++ b/cpan/Devel-PPPort/Makefile.PL
17@@ -75,6 +75,13 @@ sub configure
18 push @moreopts, INSTALLDIRS => ($] >= 5.007003 ? 'perl' : 'site');
19 }
20
21+
22+ # temporary Debian hack, see http://bugs.debian.org/548943
23+ require Config;
24+ if ($Config::Config{archname} =~ /^ia64/) {
25+ push @moreopts, OPTIMIZE => '-g -O0';
26+ }
27+
28 if ($opt{'apicheck'}) {
29 $PL_FILES{'apicheck_c.PL'} = 'apicheck.c';
30 push @C_FILES, qw{ apicheck.c };
31--
32tg: (c823880..) debian/devel-ppport-ia64-optim (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/disable-zlib-bundling.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/disable-zlib-bundling.diff
new file mode 100644
index 0000000000..f540067214
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/disable-zlib-bundling.diff
@@ -0,0 +1,29 @@
1From: Niko Tyni <ntyni@debian.org>
2Subject: Disable zlib bundling in Compress::Raw::Zlib
3
4Compress::Raw::Zlib statically links its bundled version of zlib
5by default, but we use the system library instead.
6
7---
8 cpan/Compress-Raw-Zlib/config.in | 6 +++---
9 1 files changed, 3 insertions(+), 3 deletions(-)
10
11diff --git a/cpan/Compress-Raw-Zlib/config.in b/cpan/Compress-Raw-Zlib/config.in
12index c56cc03..2c6659b 100644
13--- a/cpan/Compress-Raw-Zlib/config.in
14+++ b/cpan/Compress-Raw-Zlib/config.in
15@@ -16,9 +16,9 @@
16 # Setting the Gzip OS Code
17 #
18
19-BUILD_ZLIB = True
20-INCLUDE = ./zlib-src
21-LIB = ./zlib-src
22+BUILD_ZLIB = False
23+INCLUDE = /usr/include
24+LIB = /usr/lib
25
26 OLD_ZLIB = False
27 GZIP_OS_CODE = AUTO_DETECT
28--
29tg: (c823880..) debian/disable-zlib-bundling (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/doc_info.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/doc_info.diff
new file mode 100644
index 0000000000..ec7eba98f9
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/doc_info.diff
@@ -0,0 +1,34 @@
1Subject: Replace generic man(1) instructions with Debian-specific information.
2
3Indicate that the user needs to install the perl-doc package.
4
5
6---
7 pod/perl.pod | 12 ++++++++++--
8 1 files changed, 10 insertions(+), 2 deletions(-)
9
10diff --git a/pod/perl.pod b/pod/perl.pod
11index e48e526..3b0bbf6 100644
12--- a/pod/perl.pod
13+++ b/pod/perl.pod
14@@ -241,8 +241,16 @@ For ease of access, the Perl manual has been split up into several sections.
15 perlwin32 Perl notes for Windows
16
17
18-On a Unix-like system, these documentation files will usually also be
19-available as manpages for use with the F<man> program.
20+On Debian systems, you need to install the B<perl-doc> package which
21+contains the majority of the standard Perl documentation and the
22+F<perldoc> program.
23+
24+Extensive additional documentation for Perl modules is available, both
25+those distributed with Perl and third-party modules which are packaged
26+or locally installed.
27+
28+You should be able to view Perl's documentation with your man(1)
29+program or perldoc(1).
30
31 In general, if something strange has gone wrong with your program and you're
32 not sure where you should look for help, try the B<-w> switch first. It will
33--
34tg: (c823880..) debian/doc_info (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/enc2xs_inc.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/enc2xs_inc.diff
new file mode 100644
index 0000000000..227dc10581
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/enc2xs_inc.diff
@@ -0,0 +1,49 @@
1Subject: Tweak enc2xs to follow symlinks and ignore missing @INC directories.
2Bug-Debian: http://bugs.debian.org/290336
3
4- ignore missing directories,
5- follow symlinks (/usr/share/perl/5.8 -> 5.8.4).
6
7
8---
9 cpan/Encode/bin/enc2xs | 8 ++++----
10 1 files changed, 4 insertions(+), 4 deletions(-)
11
12diff --git a/cpan/Encode/bin/enc2xs b/cpan/Encode/bin/enc2xs
13index 773c0a0..049ecf9 100644
14--- a/cpan/Encode/bin/enc2xs
15+++ b/cpan/Encode/bin/enc2xs
16@@ -924,11 +924,11 @@ use vars qw(
17 sub find_e2x{
18 eval { require File::Find; };
19 my (@inc, %e2x_dir);
20- for my $inc (@INC){
21+ for my $inc (grep -d, @INC){
22 push @inc, $inc unless $inc eq '.'; #skip current dir
23 }
24 File::Find::find(
25- sub {
26+ { wanted => sub {
27 my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
28 $atime,$mtime,$ctime,$blksize,$blocks)
29 = lstat($_) or return;
30@@ -938,7 +938,7 @@ sub find_e2x{
31 $e2x_dir{$File::Find::dir} ||= $mtime;
32 }
33 return;
34- }, @inc);
35+ }, follow => 1}, @inc);
36 warn join("\n", keys %e2x_dir), "\n";
37 for my $d (sort {$e2x_dir{$a} <=> $e2x_dir{$b}} keys %e2x_dir){
38 $_E2X = $d;
39@@ -1005,7 +1005,7 @@ sub make_configlocal_pm {
40 $LocalMod{$enc} ||= $mod;
41 }
42 };
43- File::Find::find({wanted => $wanted}, @INC);
44+ File::Find::find({wanted => $wanted, follow => 1}, grep -d, @INC);
45 $_ModLines = "";
46 for my $enc ( sort keys %LocalMod ) {
47 $_ModLines .=
48--
49tg: (c823880..) debian/enc2xs_inc (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/errno_ver.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/errno_ver.diff
new file mode 100644
index 0000000000..f4370086ba
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/errno_ver.diff
@@ -0,0 +1,32 @@
1Subject: Remove Errno version check due to upgrade problems with long-running processes.
2Bug-Debian: http://bugs.debian.org/343351
3
4Remove version check which can cause problems for long running
5processes embedding perl when upgrading to a newer version,
6compatible, but built on a different machine.
7
8
9---
10 ext/Errno/Errno_pm.PL | 5 -----
11 1 files changed, 0 insertions(+), 5 deletions(-)
12
13diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL
14index 124b8fc..b554cd4 100644
15--- a/ext/Errno/Errno_pm.PL
16+++ b/ext/Errno/Errno_pm.PL
17@@ -341,13 +341,8 @@ EOF
18 package Errno;
19 our (\@EXPORT_OK,\%EXPORT_TAGS,\@ISA,\$VERSION,\%errno,\$AUTOLOAD);
20 use Exporter ();
21-use Config;
22 use strict;
23
24-"\$Config{'archname'}-\$Config{'osvers'}" eq
25-"$Config{'archname'}-$Config{'osvers'}" or
26- die "Errno architecture ($Config{'archname'}-$Config{'osvers'}) does not match executable architecture (\$Config{'archname'}-\$Config{'osvers'})";
27-
28 \$VERSION = "$VERSION";
29 \$VERSION = eval \$VERSION;
30 \@ISA = qw(Exporter);
31--
32tg: (c823880..) debian/errno_ver (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/extutils_hacks.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/extutils_hacks.diff
new file mode 100644
index 0000000000..9134cac9f2
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/extutils_hacks.diff
@@ -0,0 +1,313 @@
1Subject: 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 * Change install target dependencies to facilitate parallel makes.
15
16
17---
18 cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm | 12 +++---
19 cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 44 +++++-----------------
20 cpan/ExtUtils-MakeMaker/t/INST.t | 4 +--
21 cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t | 10 +++---
22 dist/ExtUtils-Install/lib/ExtUtils/Install.pm | 18 +++++-----
23 lib/ExtUtils/Embed.pm | 3 ++
24 6 files changed, 34 insertions(+), 57 deletions(-)
25
26diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm
27index 4905aeb..a80ac20 100644
28--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm
29+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm
30@@ -701,8 +701,6 @@ all POD files in MAN1PODS and MAN3PODS.
31 sub manifypods_target {
32 my($self) = shift;
33
34- my $man1pods = '';
35- my $man3pods = '';
36 my $dependencies = '';
37
38 # populate manXpods & dependencies:
39@@ -718,7 +716,7 @@ END
40 foreach my $section (qw(1 3)) {
41 my $pods = $self->{"MAN${section}PODS"};
42 push @man_cmds, $self->split_command(<<CMD, %$pods);
43- \$(NOECHO) \$(POD2MAN) --section=$section --perm_rw=\$(PERM_RW)
44+ \$(NOECHO) \$(POD2MAN) --section=\$(MAN${section}EXT) --perm_rw=\$(PERM_RW)
45 CMD
46 }
47
48@@ -1428,9 +1426,11 @@ sub init_INSTALL_from_PREFIX {
49 $self->{SITEPREFIX} ||= $sprefix;
50 $self->{VENDORPREFIX} ||= $vprefix;
51
52- # Lots of MM extension authors like to use $(PREFIX) so we
53- # put something sensible in there no matter what.
54- $self->{PREFIX} = '$('.uc $self->{INSTALLDIRS}.'PREFIX)';
55+ my $p = $self->{PREFIX} = $self->{PERLPREFIX};
56+ for my $t (qw/PERL SITE VENDOR/)
57+ {
58+ $self->{"${t}PREFIX"} =~ s!^\Q$p\E(?=/|$)!\$(PREFIX)!;
59+ }
60 }
61
62 my $arch = $Config{archname};
63diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
64index 239d6df..940de38 100644
65--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
66+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
67@@ -2046,9 +2046,7 @@ doc__install : doc_site_install
68 $(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site
69
70 pure_perl_install :: all
71- $(NOECHO) $(MOD_INSTALL) \
72- read }.$self->catfile('$(PERL_ARCHLIB)','auto','$(FULLEXT)','.packlist').q{ \
73- write }.$self->catfile('$(DESTINSTALLARCHLIB)','auto','$(FULLEXT)','.packlist').q{ \
74+ $(NOECHO) umask 022; $(MOD_INSTALL) \
75 $(INST_LIB) $(DESTINSTALLPRIVLIB) \
76 $(INST_ARCHLIB) $(DESTINSTALLARCHLIB) \
77 $(INST_BIN) $(DESTINSTALLBIN) \
78@@ -2060,7 +2058,7 @@ pure_perl_install :: all
79
80
81 pure_site_install :: all
82- $(NOECHO) $(MOD_INSTALL) \
83+ $(NOECHO) umask 02; $(MOD_INSTALL) \
84 read }.$self->catfile('$(SITEARCHEXP)','auto','$(FULLEXT)','.packlist').q{ \
85 write }.$self->catfile('$(DESTINSTALLSITEARCH)','auto','$(FULLEXT)','.packlist').q{ \
86 $(INST_LIB) $(DESTINSTALLSITELIB) \
87@@ -2073,9 +2071,7 @@ pure_site_install :: all
88 }.$self->catdir('$(PERL_ARCHLIB)','auto','$(FULLEXT)').q{
89
90 pure_vendor_install :: all
91- $(NOECHO) $(MOD_INSTALL) \
92- read }.$self->catfile('$(VENDORARCHEXP)','auto','$(FULLEXT)','.packlist').q{ \
93- write }.$self->catfile('$(DESTINSTALLVENDORARCH)','auto','$(FULLEXT)','.packlist').q{ \
94+ $(NOECHO) umask 022; $(MOD_INSTALL) \
95 $(INST_LIB) $(DESTINSTALLVENDORLIB) \
96 $(INST_ARCHLIB) $(DESTINSTALLVENDORARCH) \
97 $(INST_BIN) $(DESTINSTALLVENDORBIN) \
98@@ -2084,37 +2080,19 @@ pure_vendor_install :: all
99 $(INST_MAN3DIR) $(DESTINSTALLVENDORMAN3DIR)
100
101 doc_perl_install :: all
102- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
103- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
104- -$(NOECHO) $(DOC_INSTALL) \
105- "Module" "$(NAME)" \
106- "installed into" "$(INSTALLPRIVLIB)" \
107- LINKTYPE "$(LINKTYPE)" \
108- VERSION "$(VERSION)" \
109- EXE_FILES "$(EXE_FILES)" \
110- >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{
111
112 doc_site_install :: all
113- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
114- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
115- -$(NOECHO) $(DOC_INSTALL) \
116+ $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLSITEARCH)/perllocal.pod
117+ -$(NOECHO) umask 02; $(MKPATH) $(DESTINSTALLSITEARCH)
118+ -$(NOECHO) umask 02; $(DOC_INSTALL) \
119 "Module" "$(NAME)" \
120 "installed into" "$(INSTALLSITELIB)" \
121 LINKTYPE "$(LINKTYPE)" \
122 VERSION "$(VERSION)" \
123 EXE_FILES "$(EXE_FILES)" \
124- >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{
125+ >> }.$self->catfile('$(DESTINSTALLSITEARCH)','perllocal.pod').q{
126
127 doc_vendor_install :: all
128- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
129- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
130- -$(NOECHO) $(DOC_INSTALL) \
131- "Module" "$(NAME)" \
132- "installed into" "$(INSTALLVENDORLIB)" \
133- LINKTYPE "$(LINKTYPE)" \
134- VERSION "$(VERSION)" \
135- EXE_FILES "$(EXE_FILES)" \
136- >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{
137
138 };
139
140@@ -2123,13 +2101,12 @@ uninstall :: uninstall_from_$(INSTALLDIRS)dirs
141 $(NOECHO) $(NOOP)
142
143 uninstall_from_perldirs ::
144- $(NOECHO) $(UNINSTALL) }.$self->catfile('$(PERL_ARCHLIB)','auto','$(FULLEXT)','.packlist').q{
145
146 uninstall_from_sitedirs ::
147 $(NOECHO) $(UNINSTALL) }.$self->catfile('$(SITEARCHEXP)','auto','$(FULLEXT)','.packlist').q{
148
149 uninstall_from_vendordirs ::
150- $(NOECHO) $(UNINSTALL) }.$self->catfile('$(VENDORARCHEXP)','auto','$(FULLEXT)','.packlist').q{
151+
152 };
153
154 join("",@m);
155@@ -2402,7 +2379,7 @@ MAP_PRELIBS = $Config{perllibs} $Config{cryptlib}
156 ($lperl = $libperl) =~ s/\$\(A\)/$self->{LIB_EXT}/;
157 }
158 unless ($libperl && -f $lperl) { # Ilya's code...
159- my $dir = $self->{PERL_SRC} || "$self->{PERL_ARCHLIB}/CORE";
160+ my $dir = $self->{PERL_SRC} || "/usr/lib";
161 $dir = "$self->{PERL_ARCHLIB}/.." if $self->{UNINSTALLED_PERL};
162 $libperl ||= "libperl$self->{LIB_EXT}";
163 $libperl = "$dir/$libperl";
164@@ -2998,8 +2975,7 @@ sub prefixify {
165 print STDERR " prefixify $var => $path\n" if $Verbose >= 2;
166 print STDERR " from $sprefix to $rprefix\n" if $Verbose >= 2;
167
168- if( $self->{ARGS}{PREFIX} &&
169- $path !~ s{^\Q$sprefix\E\b}{$rprefix}s )
170+ if( $path !~ s{^\Q$sprefix\E\b}{$rprefix}s && $self->{ARGS}{PREFIX} )
171 {
172
173 print STDERR " cannot prefix, using default.\n" if $Verbose >= 2;
174diff --git a/cpan/ExtUtils-MakeMaker/t/INST.t b/cpan/ExtUtils-MakeMaker/t/INST.t
175index 8a140eb..cf1410e 100755
176--- a/cpan/ExtUtils-MakeMaker/t/INST.t
177+++ b/cpan/ExtUtils-MakeMaker/t/INST.t
178@@ -59,9 +59,7 @@ isa_ok( $mm, 'ExtUtils::MakeMaker' );
179 is( $mm->{NAME}, 'Big::Dummy', 'NAME' );
180 is( $mm->{VERSION}, 0.01, 'VERSION' );
181
182-my $config_prefix = $Config{installprefixexp} || $Config{installprefix} ||
183- $Config{prefixexp} || $Config{prefix};
184-is( $mm->{PERLPREFIX}, $config_prefix, 'PERLPREFIX' );
185+is( $mm->{PERLPREFIX}, '$(PREFIX)', 'PERLPREFIX' );
186
187 is( !!$mm->{PERL_CORE}, !!$ENV{PERL_CORE}, 'PERL_CORE' );
188
189diff --git a/cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t b/cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t
190index 8bb9db8..316546d 100755
191--- a/cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t
192+++ b/cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t
193@@ -10,7 +10,7 @@ BEGIN {
194 }
195
196 use strict;
197-use Test::More tests => 52;
198+use Test::More tests => 47;
199 use MakeMaker::Test::Utils;
200 use MakeMaker::Test::Setup::BFD;
201 use ExtUtils::MakeMaker;
202@@ -56,16 +56,16 @@ like( $stdout->read, qr{
203 Writing\ $Makefile\ for\ Big::Dummy\n
204 }x );
205
206-is( $mm->{PREFIX}, '$(SITEPREFIX)', 'PREFIX set based on INSTALLDIRS' );
207+#is( $mm->{PREFIX}, '$(SITEPREFIX)', 'PREFIX set based on INSTALLDIRS' );
208
209 isa_ok( $mm, 'ExtUtils::MakeMaker' );
210
211 is( $mm->{NAME}, 'Big::Dummy', 'NAME' );
212 is( $mm->{VERSION}, 0.01, 'VERSION' );
213
214-foreach my $prefix (qw(PREFIX PERLPREFIX SITEPREFIX VENDORPREFIX)) {
215- unlike( $mm->{$prefix}, qr/\$\(PREFIX\)/ );
216-}
217+#foreach my $prefix (qw(PREFIX PERLPREFIX SITEPREFIX VENDORPREFIX)) {
218+# unlike( $mm->{$prefix}, qr/\$\(PREFIX\)/ );
219+#}
220
221
222 my $PREFIX = File::Spec->catdir('foo', 'bar');
223diff --git a/dist/ExtUtils-Install/lib/ExtUtils/Install.pm b/dist/ExtUtils-Install/lib/ExtUtils/Install.pm
224index da58365..d6d5c11 100644
225--- a/dist/ExtUtils-Install/lib/ExtUtils/Install.pm
226+++ b/dist/ExtUtils-Install/lib/ExtUtils/Install.pm
227@@ -468,7 +468,7 @@ sub _can_write_dir {
228
229 =pod
230
231-=item _mkpath($dir,$show,$mode,$verbose,$dry_run)
232+=item _mkpath($dir,$show,$verbose,$dry_run)
233
234 Wrapper around File::Path::mkpath() to handle errors.
235
236@@ -485,13 +485,13 @@ writable.
237 =cut
238
239 sub _mkpath {
240- my ($dir,$show,$mode,$verbose,$dry_run)=@_;
241+ my ($dir,$show,$verbose,$dry_run)=@_;
242 if ( $verbose && $verbose > 1 && ! -d $dir) {
243 $show= 1;
244- printf "mkpath(%s,%d,%#o)\n", $dir, $show, $mode;
245+ printf "mkpath(%s,%d)\n", $dir, $show;
246 }
247 if (!$dry_run) {
248- if ( ! eval { File::Path::mkpath($dir,$show,$mode); 1 } ) {
249+ if ( ! eval { File::Path::mkpath($dir,$show); 1 } ) {
250 _choke("Can't create '$dir'","$@");
251 }
252
253@@ -796,7 +796,7 @@ sub install { #XXX OS-SPECIFIC
254 _chdir($cwd);
255 }
256 foreach my $targetdir (sort keys %check_dirs) {
257- _mkpath( $targetdir, 0, 0755, $verbose, $dry_run );
258+ _mkpath( $targetdir, 0, $verbose, $dry_run );
259 }
260 foreach my $found (@found_files) {
261 my ($diff, $ffd, $origfile, $mode, $size, $atime, $mtime,
262@@ -810,7 +810,7 @@ sub install { #XXX OS-SPECIFIC
263 $targetfile= _unlink_or_rename( $targetfile, 'tryhard', 'install' )
264 unless $dry_run;
265 } elsif ( ! -d $targetdir ) {
266- _mkpath( $targetdir, 0, 0755, $verbose, $dry_run );
267+ _mkpath( $targetdir, 0, $verbose, $dry_run );
268 }
269 print "Installing $targetfile\n";
270
271@@ -850,7 +850,7 @@ sub install { #XXX OS-SPECIFIC
272
273 if ($pack{'write'}) {
274 $dir = install_rooted_dir(dirname($pack{'write'}));
275- _mkpath( $dir, 0, 0755, $verbose, $dry_run );
276+ _mkpath( $dir, 0, $verbose, $dry_run );
277 print "Writing $pack{'write'}\n" if $verbose;
278 $packlist->write(install_rooted_file($pack{'write'})) unless $dry_run;
279 }
280@@ -1190,7 +1190,7 @@ be prepended as a directory to each installed file (and directory).
281 sub pm_to_blib {
282 my($fromto,$autodir,$pm_filter) = @_;
283
284- _mkpath($autodir,0,0755);
285+ _mkpath($autodir,0);
286 while(my($from, $to) = each %$fromto) {
287 if( -f $to && -s $from == -s $to && -M $to < -M $from ) {
288 print "Skip $to (unchanged)\n";
289@@ -1213,7 +1213,7 @@ sub pm_to_blib {
290 # we wont try hard here. its too likely to mess things up.
291 forceunlink($to);
292 } else {
293- _mkpath(dirname($to),0,0755);
294+ _mkpath(dirname($to),0);
295 }
296 if ($need_filtering) {
297 run_filter($pm_filter, $from, $to);
298diff --git a/lib/ExtUtils/Embed.pm b/lib/ExtUtils/Embed.pm
299index 24ae909..12d421d 100644
300--- a/lib/ExtUtils/Embed.pm
301+++ b/lib/ExtUtils/Embed.pm
302@@ -305,6 +305,9 @@ and extensions in your C/C++ applications.
303 Typically, an application B<Makefile> will invoke ExtUtils::Embed
304 functions while building your application.
305
306+Note that on Debian systems the B<libperl-dev> package is required for
307+compiling applications which embed an interpreter.
308+
309 =head1 @EXPORT
310
311 ExtUtils::Embed exports the following functions:
312--
313tg: (c823880..) debian/extutils_hacks (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/fakeroot.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/fakeroot.diff
new file mode 100644
index 0000000000..e3430ce2b6
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/fakeroot.diff
@@ -0,0 +1,43 @@
1Subject: Postpone LD_LIBRARY_PATH evaluation to the binary targets.
2
3Modify the setting of LD_LIBRARY_PATH to append pre-existing values at the
4time the rule is evaluated rather than when the Makefile is created.
5
6This is required when building packages with dpkg-buildpackage and fakeroot,
7since fakeroot (which now sets LD_LIBRARY_PATH) is not used for the "build"
8rule where the Makefile is created, but is for the clean/binary* targets.
9
10
11---
12 Makefile.SH | 9 ++-------
13 1 files changed, 2 insertions(+), 7 deletions(-)
14
15diff --git a/Makefile.SH b/Makefile.SH
16index c039938..15184d8 100755
17--- a/Makefile.SH
18+++ b/Makefile.SH
19@@ -50,12 +50,7 @@ case "$useshrplib" in
20 true)
21 # Prefix all runs of 'miniperl' and 'perl' with
22 # $ldlibpth so that ./perl finds *this* shared libperl.
23- case "$LD_LIBRARY_PATH" in
24- '')
25- ldlibpth="LD_LIBRARY_PATH=`pwd`";;
26- *)
27- ldlibpth="LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}";;
28- esac
29+ ldlibpth=LD_LIBRARY_PATH=`pwd`'$${LD_LIBRARY_PATH:+:}$$LD_LIBRARY_PATH'
30
31 pldlflags="$cccdlflags"
32 static_ldflags=''
33@@ -126,7 +121,7 @@ true)
34 ;;
35 esac
36 case "$ldlibpthname" in
37- '') ;;
38+ ''|LD_LIBRARY_PATH) ;;
39 *)
40 case "$osname" in
41 os2)
42--
43tg: (c823880..) debian/fakeroot (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/autodie-flock.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/autodie-flock.diff
new file mode 100644
index 0000000000..f8908ac872
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/autodie-flock.diff
@@ -0,0 +1,98 @@
1From: Niko Tyni <ntyni@debian.org>
2Subject: Allow for flock returning EAGAIN instead of EWOULDBLOCK on linux/parisc
3Bug-Debian: http://bugs.debian.org/543731
4Origin: upstream, http://github.com/pfenwick/autodie/commit/037738e11a6097734b0e1dabdd77b92e5fe35219
5
6
7---
8 cpan/autodie/lib/Fatal.pm | 14 +++++++++++++-
9 cpan/autodie/t/flock.t | 12 ++++++++++--
10 2 files changed, 23 insertions(+), 3 deletions(-)
11
12diff --git a/cpan/autodie/lib/Fatal.pm b/cpan/autodie/lib/Fatal.pm
13old mode 100644
14new mode 100755
15index 18e71ed..c17a257
16--- a/cpan/autodie/lib/Fatal.pm
17+++ b/cpan/autodie/lib/Fatal.pm
18@@ -5,6 +5,7 @@ use Carp;
19 use strict;
20 use warnings;
21 use Tie::RefHash; # To cache subroutine refs
22+use Config;
23
24 use constant PERL510 => ( $] >= 5.010 );
25
26@@ -52,6 +53,10 @@ our %_EWOULDBLOCK = (
27 MSWin32 => 33,
28 );
29
30+# the linux parisc port has separate EAGAIN and EWOULDBLOCK,
31+# and the kernel returns EAGAIN
32+my $try_EAGAIN = ($^O eq 'linux' and $Config{archname} =~ /hppa|parisc/) ? 1 : 0;
33+
34 # We have some tags that can be passed in for use with import.
35 # These are all assumed to be CORE::
36
37@@ -720,6 +725,11 @@ sub _one_invocation {
38 my $EWOULDBLOCK = eval { POSIX::EWOULDBLOCK(); }
39 || $_EWOULDBLOCK{$^O}
40 || _autocroak("Internal error - can't overload flock - EWOULDBLOCK not defined on this system.");
41+ my $EAGAIN = $EWOULDBLOCK;
42+ if ($try_EAGAIN) {
43+ $EAGAIN = eval { POSIX::EAGAIN(); }
44+ || _autocroak("Internal error - can't overload flock - EAGAIN not defined on this system.");
45+ }
46
47 require Fcntl; # For Fcntl::LOCK_NB
48
49@@ -735,7 +745,9 @@ sub _one_invocation {
50 # If we failed, but we're using LOCK_NB and
51 # returned EWOULDBLOCK, it's not a real error.
52
53- if (\$_[1] & Fcntl::LOCK_NB() and \$! == $EWOULDBLOCK ) {
54+ if (\$_[1] & Fcntl::LOCK_NB() and
55+ (\$! == $EWOULDBLOCK or
56+ ($try_EAGAIN and \$! == $EAGAIN ))) {
57 return \$retval;
58 }
59
60diff --git a/cpan/autodie/t/flock.t b/cpan/autodie/t/flock.t
61index a7550ba..6421a56 100755
62--- a/cpan/autodie/t/flock.t
63+++ b/cpan/autodie/t/flock.t
64@@ -2,7 +2,8 @@
65 use strict;
66 use Test::More;
67 use Fcntl qw(:flock);
68-use POSIX qw(EWOULDBLOCK);
69+use POSIX qw(EWOULDBLOCK EAGAIN);
70+use Config;
71
72 require Fatal;
73
74@@ -10,6 +11,9 @@ my $EWOULDBLOCK = eval { EWOULDBLOCK() }
75 || $Fatal::_EWOULDBLOCK{$^O}
76 || plan skip_all => "EWOULDBLOCK not defined on this system";
77
78+my $try_EAGAIN = ($^O eq 'linux' and $Config{archname} =~ /hppa|parisc/) ? 1 : 0;
79+my $EAGAIN = eval { EAGAIN() };
80+
81 my ($self_fh, $self_fh2);
82
83 eval {
84@@ -55,7 +59,11 @@ eval {
85 $return = flock($self_fh2, LOCK_EX | LOCK_NB);
86 };
87
88-is($!+0, $EWOULDBLOCK, "Double-flocking should be EWOULDBLOCK");
89+if (!$try_EAGAIN) {
90+ is($!+0, $EWOULDBLOCK, "Double-flocking should be EWOULDBLOCK");
91+} else {
92+ ok($!+0 == $EWOULDBLOCK || $!+0 == $EAGAIN, "Double-flocking should be EWOULDBLOCK or EAGAIN");
93+}
94 ok(!$return, "flocking a file twice should fail");
95 is($@, "", "Non-blocking flock should not fail on EWOULDBLOCK");
96
97--
98tg: (c823880..) fixes/autodie-flock (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/concat-stack-corruption.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/concat-stack-corruption.diff
new file mode 100644
index 0000000000..6feb8401fe
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/concat-stack-corruption.diff
@@ -0,0 +1,37 @@
1From: Niko Tyni <ntyni@debian.org>
2Subject: Fix stack pointer corruption in pp_concat() with 'use encoding'
3Bug-Debian: http://bugs.debian.org/596105
4Bug: http://rt.perl.org/rt3/Ticket/Display.html?id=78674
5Origin: upstream, http://perl5.git.perl.org/perl.git/commit/e3393f51d48d8b790e26324eb0336fac9689fa46
6
7If the stack is reallocated during pp_concat() and 'use encoding' in
8effect, the stack pointer gets corrupted, causing memory allocation bugs
9and the like.
10
11---
12 pp_hot.c | 3 +++
13 1 files changed, 3 insertions(+), 0 deletions(-)
14
15diff --git a/pp_hot.c b/pp_hot.c
16index 3371e88..e9cccf3 100644
17--- a/pp_hot.c
18+++ b/pp_hot.c
19@@ -271,6 +271,8 @@ PP(pp_concat)
20 rbyte = !DO_UTF8(right);
21 }
22 if (lbyte != rbyte) {
23+ /* sv_utf8_upgrade_nomg() may reallocate the stack */
24+ PUTBACK;
25 if (lbyte)
26 sv_utf8_upgrade_nomg(TARG);
27 else {
28@@ -279,6 +281,7 @@ PP(pp_concat)
29 sv_utf8_upgrade_nomg(right);
30 rpv = SvPV_const(right, rlen);
31 }
32+ SPAGAIN;
33 }
34 sv_catpvn_nomg(TARG, rpv, rlen);
35
36--
37tg: (c823880..) fixes/concat-stack-corruption (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/cpanplus-without-home.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/cpanplus-without-home.diff
new file mode 100644
index 0000000000..5f85894a97
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/cpanplus-without-home.diff
@@ -0,0 +1,30 @@
1From: Niko Tyni <ntyni@debian.org>
2Subject: Fix CPANPLUS test failures when HOME doesn't exist
3Bug: http://rt.cpan.org/Public/Bug/Display.html?id=52988
4Bug-Debian: http://bugs.debian.org/577011
5Origin: upstream
6
7The Debian autobuilders are configured with a non-existing $ENV{HOME},
8triggering a bug in CPANPLUS that causes test failures.
9
10Fix from CPANPLUS-0.9001.
11
12---
13 cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm | 2 +-
14 1 files changed, 1 insertions(+), 1 deletions(-)
15
16diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm b/cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm
17index 27d2abc..8475c36 100644
18--- a/cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm
19+++ b/cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm
20@@ -5,7 +5,7 @@ use strict;
21 use CPANPLUS::Error;
22 use CPANPLUS::Internals::Constants;
23
24-use Cwd qw[chdir];
25+use Cwd qw[chdir cwd];
26 use File::Copy;
27 use Params::Check qw[check];
28 use Module::Load::Conditional qw[can_load];
29--
30tg: (c823880..) fixes/cpanplus-without-home (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/h2ph-gcc-4.5.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/h2ph-gcc-4.5.diff
new file mode 100644
index 0000000000..c2baf2fa76
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/h2ph-gcc-4.5.diff
@@ -0,0 +1,106 @@
1Author: Robin Barker <rmbarker@cpan.org>
2Subject: h2ph fix for gcc 4.5
3Bug-Debian: http://bugs.debian.org/599933
4Origin: upstream, http://perl5.git.perl.org/perl.git/commit/8d66b3f930dc6d88b524d103e304308ae73a46e7
5
6Fix h2ph and test. Needed to build with GCC 4.5.
7
8
9---
10 lib/h2ph.t | 12 ++++++++++--
11 utils/h2ph.PL | 28 +++++++++++++++++++++++-----
12 2 files changed, 33 insertions(+), 7 deletions(-)
13
14diff --git a/lib/h2ph.t b/lib/h2ph.t
15index 27dd7b9..8d62d46 100755
16--- a/lib/h2ph.t
17+++ b/lib/h2ph.t
18@@ -18,7 +18,7 @@ if (!(-e $extracted_program)) {
19 exit 0;
20 }
21
22-plan(4);
23+plan(5);
24
25 # quickly compare two text files
26 sub txt_compare {
27@@ -41,8 +41,16 @@ $result = runperl( progfile => 'lib/h2ph.pht',
28 stderr => 1 );
29 like( $result, qr/syntax OK$/, "output compiles");
30
31+$result = runperl( progfile => '_h2ph_pre.ph',
32+ switches => ['-c'],
33+ stderr => 1 );
34+like( $result, qr/syntax OK$/, "preamble compiles");
35+
36 $result = runperl( switches => ["-w"],
37- prog => '$SIG{__WARN__} = sub { die $_[0] }; require q(lib/h2ph.pht);');
38+ stderr => 1,
39+ prog => <<'PROG' );
40+$SIG{__WARN__} = sub { die $_[0] }; require q(lib/h2ph.pht);
41+PROG
42 is( $result, '', "output free of warnings" );
43
44 # cleanup
45diff --git a/utils/h2ph.PL b/utils/h2ph.PL
46index 8f56db4..1255807 100644
47--- a/utils/h2ph.PL
48+++ b/utils/h2ph.PL
49@@ -401,7 +401,10 @@ if ($opt_e && (scalar(keys %bad_file) > 0)) {
50 exit $Exit;
51
52 sub expr {
53- $new = '"(assembly code)"' and return if /\b__asm__\b/; # freak out.
54+ if (/\b__asm__\b/) { # freak out
55+ $new = '"(assembly code)"';
56+ return
57+ }
58 my $joined_args;
59 if(keys(%curargs)) {
60 $joined_args = join('|', keys(%curargs));
61@@ -770,7 +773,7 @@ sub inc_dirs
62 sub build_preamble_if_necessary
63 {
64 # Increment $VERSION every time this function is modified:
65- my $VERSION = 2;
66+ my $VERSION = 3;
67 my $preamble = "$Dest_dir/_h2ph_pre.ph";
68
69 # Can we skip building the preamble file?
70@@ -798,7 +801,16 @@ sub build_preamble_if_necessary
71 # parenthesized value: d=(v)
72 $define{$_} = $1;
73 }
74- if ($define{$_} =~ /^([+-]?(\d+)?\.\d+([eE][+-]?\d+)?)[FL]?$/) {
75+ if (/^(\w+)\((\w)\)$/) {
76+ my($macro, $arg) = ($1, $2);
77+ my $def = $define{$_};
78+ $def =~ s/$arg/\$\{$arg\}/g;
79+ print PREAMBLE <<DEFINE;
80+unless (defined &$macro) { sub $macro(\$) { my (\$$arg) = \@_; \"$def\" } }
81+
82+DEFINE
83+ } elsif
84+ ($define{$_} =~ /^([+-]?(\d+)?\.\d+([eE][+-]?\d+)?)[FL]?$/) {
85 # float:
86 print PREAMBLE
87 "unless (defined &$_) { sub $_() { $1 } }\n\n";
88@@ -807,8 +819,14 @@ sub build_preamble_if_necessary
89 print PREAMBLE
90 "unless (defined &$_) { sub $_() { $1 } }\n\n";
91 } elsif ($define{$_} =~ /^\w+$/) {
92- print PREAMBLE
93- "unless (defined &$_) { sub $_() { &$define{$_} } }\n\n";
94+ my $def = $define{$_};
95+ if ($isatype{$def}) {
96+ print PREAMBLE
97+ "unless (defined &$_) { sub $_() { \"$def\" } }\n\n";
98+ } else {
99+ print PREAMBLE
100+ "unless (defined &$_) { sub $_() { &$def } }\n\n";
101+ }
102 } else {
103 print PREAMBLE
104 "unless (defined &$_) { sub $_() { \"",
105--
106tg: (c823880..) fixes/h2ph-gcc-4.5 (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/hurd-ccflags.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/hurd-ccflags.diff
new file mode 100644
index 0000000000..b9ea6770f2
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/hurd-ccflags.diff
@@ -0,0 +1,26 @@
1Author: Samuel Thibault <sthibault@debian.org>
2Subject: Make hints/gnu.sh append to $ccflags rather than overriding them
3Bug-Debian: http://bugs.debian.org/587901
4
5Don't override possible extra $ccflags values given to Configure
6on GNU/Hurd.
7
8---
9 hints/gnu.sh | 2 +-
10 1 files changed, 1 insertions(+), 1 deletions(-)
11
12diff --git a/hints/gnu.sh b/hints/gnu.sh
13index 2cfce54..c1ba2db 100644
14--- a/hints/gnu.sh
15+++ b/hints/gnu.sh
16@@ -19,7 +19,7 @@ lddlflags='-shared'
17 ccdlflags='-Wl,-E'
18
19 # Debian bug #258618
20-ccflags='-D_GNU_SOURCE'
21+ccflags="-D_GNU_SOURCE $ccflags"
22
23 # The following routines are only available as stubs in GNU libc.
24 # XXX remove this once metaconf detects the GNU libc stubs.
25--
26tg: (c823880..) fixes/hurd-ccflags (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/lc-numeric-docs.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/lc-numeric-docs.diff
new file mode 100644
index 0000000000..bb5c0e8c10
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/lc-numeric-docs.diff
@@ -0,0 +1,95 @@
1From: Niko Tyni <ntyni@debian.org>
2Subject: LC_NUMERIC documentation fixes
3Bug-Debian: http://bugs.debian.org/379329
4Bug: http://rt.perl.org/rt3/Ticket/Display.html?id=78452
5Origin: upstream, http://perl5.git.perl.org/perl.git/commit/903eb63f7d8d47a38971a8e9af7201b9927882cf
6
7LC_NUMERIC documentation updates fixing two errors:
8
9 - the early parts of perllocale.pod still say printf() uses LC_NUMERIC
10 with just 'use locale' when actually a POSIX::setlocale() call is
11 also needed
12
13 - format() hasn't used LC_NUMERIC unconditionally since 5.005_03
14 (commit 097ee67dff1c60f201bc09435bc6eaeeafcd8123).
15
16Test cases from the upstream commit dropped for the sake of simplicity.
17
18---
19 pod/perlform.pod | 20 ++++++++------------
20 pod/perllocale.pod | 15 ++++++---------
21 2 files changed, 14 insertions(+), 21 deletions(-)
22
23diff --git a/pod/perlform.pod b/pod/perlform.pod
24index 3cfa1b7..df0f0a1 100644
25--- a/pod/perlform.pod
26+++ b/pod/perlform.pod
27@@ -166,9 +166,9 @@ token on the first line. If an expression evaluates to a number with a
28 decimal part, and if the corresponding picture specifies that the decimal
29 part should appear in the output (that is, any picture except multiple "#"
30 characters B<without> an embedded "."), the character used for the decimal
31-point is B<always> determined by the current LC_NUMERIC locale. This
32-means that, if, for example, the run-time environment happens to specify a
33-German locale, "," will be used instead of the default ".". See
34+point is determined by the current LC_NUMERIC locale if C<use locale> is in
35+effect. This means that, if, for example, the run-time environment happens
36+to specify a German locale, "," will be used instead of the default ".". See
37 L<perllocale> and L<"WARNINGS"> for more information.
38
39
40@@ -442,15 +442,11 @@ Lexical variables (declared with "my") are not visible within a
41 format unless the format is declared within the scope of the lexical
42 variable. (They weren't visible at all before version 5.001.)
43
44-Formats are the only part of Perl that unconditionally use information
45-from a program's locale; if a program's environment specifies an
46-LC_NUMERIC locale, it is always used to specify the decimal point
47-character in formatted output. Perl ignores all other aspects of locale
48-handling unless the C<use locale> pragma is in effect. Formatted output
49-cannot be controlled by C<use locale> because the pragma is tied to the
50-block structure of the program, and, for historical reasons, formats
51-exist outside that block structure. See L<perllocale> for further
52-discussion of locale handling.
53+If a program's environment specifies an LC_NUMERIC locale and C<use
54+locale> is in effect when the format is declared, the locale is used
55+to specify the decimal point character in formatted output. Formatted
56+output cannot be controlled by C<use locale> at the time when write()
57+is called. See L<perllocale> for further discussion of locale handling.
58
59 Within strings that are to be displayed in a fixed length text field,
60 each control character is substituted by a space. (But remember the
61diff --git a/pod/perllocale.pod b/pod/perllocale.pod
62index 0dbabe7..0bec423 100644
63--- a/pod/perllocale.pod
64+++ b/pod/perllocale.pod
65@@ -115,8 +115,7 @@ ucfirst(), and lcfirst()) use C<LC_CTYPE>
66
67 =item *
68
69-B<The formatting functions> (printf(), sprintf() and write()) use
70-C<LC_NUMERIC>
71+B<Format declarations> (format()) use C<LC_NUMERIC>
72
73 =item *
74
75@@ -967,13 +966,11 @@ system's implementation of the locale system than by Perl.
76
77 =head2 write() and LC_NUMERIC
78
79-Formats are the only part of Perl that unconditionally use information
80-from a program's locale; if a program's environment specifies an
81-LC_NUMERIC locale, it is always used to specify the decimal point
82-character in formatted output. Formatted output cannot be controlled by
83-C<use locale> because the pragma is tied to the block structure of the
84-program, and, for historical reasons, formats exist outside that block
85-structure.
86+If a program's environment specifies an LC_NUMERIC locale and C<use
87+locale> is in effect when the format is declared, the locale is used
88+to specify the decimal point character in formatted output. Formatted
89+output cannot be controlled by C<use locale> at the time when write()
90+is called.
91
92 =head2 Freely available locale definitions
93
94--
95tg: (c823880..) fixes/lc-numeric-docs (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/lc-numeric-sprintf.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/lc-numeric-sprintf.diff
new file mode 100644
index 0000000000..6a39820012
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/lc-numeric-sprintf.diff
@@ -0,0 +1,29 @@
1From: Niko Tyni <ntyni@debian.org>
2Subject: Fix sprintf not to ignore LC_NUMERIC with constants
3Bug-Debian: http://bugs.debian.org/601549
4Bug: http://rt.perl.org/rt3/Ticket/Display.html?id=78632
5Origin: upstream, http://perl5.git.perl.org/perl.git/commit/b3fd61496ebc585b1115807e3195f17714662a09
6
7Don't fold constants in sprintf() if locales are used
8
9An upstream regression in 5.10.1 made sprintf() ignore LC_NUMERIC for
10numeric constants.
11
12---
13 op.c | 1 +
14 1 files changed, 1 insertions(+), 0 deletions(-)
15
16diff --git a/op.c b/op.c
17index e94f158..3c6badb 100644
18--- a/op.c
19+++ b/op.c
20@@ -2503,6 +2503,7 @@ S_fold_constants(pTHX_ register OP *o)
21 case OP_SLE:
22 case OP_SGE:
23 case OP_SCMP:
24+ case OP_SPRINTF:
25 /* XXX what about the numeric ops? */
26 if (PL_hints & HINT_LOCALE)
27 goto nope;
28--
29tg: (c823880..) fixes/lc-numeric-sprintf (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/net_smtp_docs.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/net_smtp_docs.diff
new file mode 100644
index 0000000000..6dc97129bb
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/net_smtp_docs.diff
@@ -0,0 +1,23 @@
1Subject: Document the Net::SMTP 'Port' option
2Bug-Debian: http://bugs.debian.org/100195
3Bug: http://rt.cpan.org/Public/Bug/Display.html?id=36038
4
5
6---
7 cpan/libnet/Net/SMTP.pm | 1 +
8 1 files changed, 1 insertions(+), 0 deletions(-)
9
10diff --git a/cpan/libnet/Net/SMTP.pm b/cpan/libnet/Net/SMTP.pm
11index a28496d..07b2498 100644
12--- a/cpan/libnet/Net/SMTP.pm
13+++ b/cpan/libnet/Net/SMTP.pm
14@@ -625,6 +625,7 @@ Net::SMTP will attempt to extract the address from the value passed.
15
16 B<Debug> - Enable debugging information
17
18+B<Port> - Select a port on the remote host to connect to (default is 25)
19
20 Example:
21
22--
23tg: (c823880..) fixes/net_smtp_docs (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/processPL.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/processPL.diff
new file mode 100644
index 0000000000..5a444e3f69
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/processPL.diff
@@ -0,0 +1,43 @@
1Subject: Always use PERLRUNINST when building perl modules.
2Bug-Debian: http://bugs.debian.org/357264
3Bug: http://rt.cpan.org/Public/Bug/Display.html?id=17224
4
5Revert part of upstream change 24524 to always use PERLRUNINST when
6building perl modules: Some PDL demos expect blib to be implicitly
7searched.
8
9
10---
11 cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 5 +----
12 1 files changed, 1 insertions(+), 4 deletions(-)
13
14diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
15index 239d6df..294d266 100644
16--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
17+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
18@@ -3043,14 +3043,11 @@ sub processPL {
19 # pm_to_blib depends on then it can't depend on pm_to_blib
20 # else we have a dependency loop.
21 my $pm_dep;
22- my $perlrun;
23 if( defined $self->{PM}{$target} ) {
24 $pm_dep = '';
25- $perlrun = 'PERLRUN';
26 }
27 else {
28 $pm_dep = 'pm_to_blib';
29- $perlrun = 'PERLRUNINST';
30 }
31
32 $m .= <<MAKE_FRAG;
33@@ -3059,7 +3056,7 @@ all :: $target
34 \$(NOECHO) \$(NOOP)
35
36 $target :: $plfile $pm_dep
37- \$($perlrun) $plfile $target
38+ \$(PERLRUNINST) $plfile $target
39 MAKE_FRAG
40
41 }
42--
43tg: (c823880..) fixes/processPL (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/instmodsh_doc.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/instmodsh_doc.diff
new file mode 100644
index 0000000000..5670863ac5
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/instmodsh_doc.diff
@@ -0,0 +1,26 @@
1Subject: Debian policy doesn't install .packlist files for core or vendor.
2
3
4---
5 cpan/ExtUtils-MakeMaker/bin/instmodsh | 4 +++-
6 1 files changed, 3 insertions(+), 1 deletions(-)
7
8diff --git a/cpan/ExtUtils-MakeMaker/bin/instmodsh b/cpan/ExtUtils-MakeMaker/bin/instmodsh
9index 5874aa6..6a2f03e 100644
10--- a/cpan/ExtUtils-MakeMaker/bin/instmodsh
11+++ b/cpan/ExtUtils-MakeMaker/bin/instmodsh
12@@ -18,9 +18,11 @@ instmodsh - A shell to examine installed modules
13
14 =head1 DESCRIPTION
15
16-A little interface to ExtUtils::Installed to examine installed modules,
17+A little interface to ExtUtils::Installed to examine locally* installed modules,
18 validate your packlists and even create a tarball from an installed module.
19
20+*On Debian system, B<core> and B<vendor> modules are managed by C<dpkg>.
21+
22 =head1 SEE ALSO
23
24 ExtUtils::Installed
25--
26tg: (c823880..) debian/instmodsh_doc (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/ld_run_path.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/ld_run_path.diff
new file mode 100644
index 0000000000..ffcfab9d5d
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/ld_run_path.diff
@@ -0,0 +1,23 @@
1Subject: Remove standard libs from LD_RUN_PATH as per Debian policy.
2
3
4---
5 .../ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm | 3 +++
6 1 files changed, 3 insertions(+), 0 deletions(-)
7
8diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm
9index b807e97..6c955d7 100644
10--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm
11+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm
12@@ -53,6 +53,9 @@ sub _unix_os2_ext {
13 my($pwd) = cwd(); # from Cwd.pm
14 my($found) = 0;
15
16+ # Debian-specific: don't use LD_RUN_PATH for standard dirs
17+ $ld_run_path_seen{$_}++ for qw(/lib /usr/lib /usr/X11R6/lib);
18+
19 foreach my $thislib (split ' ', $potential_libs) {
20
21 # Handle possible linker path arguments.
22--
23tg: (c823880..) debian/ld_run_path (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/libnet_config_path.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/libnet_config_path.diff
new file mode 100644
index 0000000000..41bca9702b
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/libnet_config_path.diff
@@ -0,0 +1,35 @@
1Subject: Set location of libnet.cfg to /etc/perl/Net as /usr may not be writable.
2
3
4---
5 cpan/libnet/Net/Config.pm | 7 +++----
6 1 files changed, 3 insertions(+), 4 deletions(-)
7
8diff --git a/cpan/libnet/Net/Config.pm b/cpan/libnet/Net/Config.pm
9index db51c1f..8404593 100644
10--- a/cpan/libnet/Net/Config.pm
11+++ b/cpan/libnet/Net/Config.pm
12@@ -57,9 +57,8 @@ my %nc = (
13 }
14 TRY_INTERNET_CONFIG
15
16-my $file = __FILE__;
17+my $file = '/etc/perl/Net/libnet.cfg';
18 my $ref;
19-$file =~ s/Config.pm/libnet.cfg/;
20 if (-f $file) {
21 $ref = eval { local $SIG{__DIE__}; do $file };
22 if (ref($ref) eq 'HASH') {
23@@ -132,8 +131,8 @@ Net::Config - Local configuration data for libnet
24 C<Net::Config> holds configuration data for the modules in the libnet
25 distribution. During installation you will be asked for these values.
26
27-The configuration data is held globally in a file in the perl installation
28-tree, but a user may override any of these values by providing their own. This
29+The configuration data is held globally in C</etc/perl/Net/libnet.cfg>,
30+but a user may override any of these values by providing their own. This
31 can be done by having a C<.libnetrc> file in their home directory. This file
32 should return a reference to a HASH containing the keys described below.
33 For example
34--
35tg: (c823880..) debian/libnet_config_path (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/m68k_thread_stress.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/m68k_thread_stress.diff
new file mode 100644
index 0000000000..cda6089a01
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/m68k_thread_stress.diff
@@ -0,0 +1,43 @@
1Subject: Disable some threads tests on m68k for now due to missing TLS.
2Closes: #495826, #517938
3
4
5---
6 dist/threads-shared/t/stress.t | 4 ++++
7 dist/threads-shared/t/waithires.t | 6 ++++++
8 2 files changed, 10 insertions(+), 0 deletions(-)
9
10diff --git a/dist/threads-shared/t/stress.t b/dist/threads-shared/t/stress.t
11index adfd1ed..8573f1a 100755
12--- a/dist/threads-shared/t/stress.t
13+++ b/dist/threads-shared/t/stress.t
14@@ -11,6 +11,10 @@ BEGIN {
15 print("1..0 # SKIP Broken under HP-UX 10.20\n");
16 exit(0);
17 }
18+ if ($^O eq 'linux' && $Config{archname} =~ /^m68k/) {
19+ print("1..0 # Skip: no TLS on m68k yet <http://bugs.debian.org/495826>\n");
20+ exit(0);
21+ }
22 }
23
24 use ExtUtils::testlib;
25diff --git a/dist/threads-shared/t/waithires.t b/dist/threads-shared/t/waithires.t
26index e3a1086..633374e 100755
27--- a/dist/threads-shared/t/waithires.t
28+++ b/dist/threads-shared/t/waithires.t
29@@ -16,6 +16,12 @@ BEGIN {
30 if (! eval 'use Time::HiRes "time"; 1') {
31 Test::skip_all('Time::HiRes not available');
32 }
33+
34+ if ($^O eq 'linux' && $Config{archname} =~ /^m68k/) {
35+ print("1..0 # Skip: no TLS on m68k yet <http://bugs.debian.org/495826>\n");
36+ exit(0);
37+ }
38+
39 }
40
41 use ExtUtils::testlib;
42--
43tg: (c823880..) debian/m68k_thread_stress (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/mod_paths.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/mod_paths.diff
new file mode 100644
index 0000000000..bfa4721c43
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/mod_paths.diff
@@ -0,0 +1,98 @@
1Subject: Tweak @INC ordering for Debian
2
3Our order is:
4
5 etc (for config files)
6 site (5.8.1)
7 vendor (all)
8 core (5.8.1)
9 site (version-indep)
10 site (pre-5.8.1)
11
12The rationale being that an admin (via site), or module packager
13(vendor) can chose to shadow core modules when there is a newer
14version than is included in core.
15
16
17---
18 perl.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
19 1 files changed, 58 insertions(+), 0 deletions(-)
20
21diff --git a/perl.c b/perl.c
22index 05cea40..023d6a0 100644
23--- a/perl.c
24+++ b/perl.c
25@@ -4125,6 +4125,11 @@ S_init_perllib(pTHX)
26 INCPUSH_ADD_SUB_DIRS|INCPUSH_CAN_RELOCATE);
27 #endif
28
29+#ifdef DEBIAN
30+ /* for configuration where /usr is mounted ro (CPAN::Config, Net::Config) */
31+ S_incpush_use_sep(aTHX_ STR_WITH_LEN("/etc/perl"), 0x0);
32+#endif
33+
34 #ifdef SITEARCH_EXP
35 /* sitearch is always relative to sitelib on Windows for
36 * DLL-based path intuition to work correctly */
37@@ -4242,6 +4247,59 @@ S_init_perllib(pTHX)
38 INCPUSH_ADD_OLD_VERS|INCPUSH_CAN_RELOCATE);
39 #endif
40
41+#ifdef DEBIAN
42+ /* Non-versioned site directory for local modules and for
43+ compatability with the previous packages' site dirs */
44+ S_incpush_use_sep(aTHX_ STR_WITH_LEN("/usr/local/lib/site_perl"),
45+ INCPUSH_ADD_SUB_DIRS);
46+
47+#ifdef PERL_INC_VERSION_LIST
48+ {
49+ struct stat s;
50+
51+ /* add small buffer in case old versions are longer than the
52+ current version */
53+ char sitearch[sizeof(SITEARCH_EXP)+16] = SITEARCH_EXP;
54+ char sitelib[sizeof(SITELIB_EXP)+16] = SITELIB_EXP;
55+ char const *vers[] = { PERL_INC_VERSION_LIST };
56+ char const **p;
57+
58+ char *arch_vers = strrchr(sitearch, '/');
59+ char *lib_vers = strrchr(sitelib, '/');
60+
61+ if (arch_vers && isdigit(*++arch_vers))
62+ *arch_vers = 0;
63+ else
64+ arch_vers = 0;
65+
66+ if (lib_vers && isdigit(*++lib_vers))
67+ *lib_vers = 0;
68+ else
69+ lib_vers = 0;
70+
71+ /* there is some duplication here as incpush does something
72+ similar internally, but required as sitearch is not a
73+ subdirectory of sitelib */
74+ for (p = vers; *p; p++)
75+ {
76+ if (arch_vers)
77+ {
78+ strcpy(arch_vers, *p);
79+ if (PerlLIO_stat(sitearch, &s) >= 0 && S_ISDIR(s.st_mode))
80+ S_incpush_use_sep(aTHX_ sitearch, strlen(sitearch), 0x0);
81+ }
82+
83+ if (lib_vers)
84+ {
85+ strcpy(lib_vers, *p);
86+ if (PerlLIO_stat(sitelib, &s) >= 0 && S_ISDIR(s.st_mode))
87+ S_incpush_use_sep(aTHX_ sitelib, strlen(sitelib), 0x0);
88+ }
89+ }
90+ }
91+#endif
92+#endif
93+
94 #ifdef PERL_OTHERLIBDIRS
95 S_incpush_use_sep(aTHX_ STR_WITH_LEN(PERL_OTHERLIBDIRS),
96 INCPUSH_ADD_OLD_VERS|INCPUSH_ADD_ARCHONLY_SUB_DIRS
97--
98tg: (c823880..) debian/mod_paths (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/module_build_man_extensions.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/module_build_man_extensions.diff
new file mode 100644
index 0000000000..320a90d84a
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/module_build_man_extensions.diff
@@ -0,0 +1,31 @@
1Subject: Adjust Module::Build manual page extensions for the Debian Perl policy
2Bug-Debian: http://bugs.debian.org/479460
3
4---
5 cpan/Module-Build/lib/Module/Build/Base.pm | 4 ++--
6 1 files changed, 2 insertions(+), 2 deletions(-)
7
8diff --git a/cpan/Module-Build/lib/Module/Build/Base.pm b/cpan/Module-Build/lib/Module/Build/Base.pm
9index 5bd8ec7..b4e606a 100644
10--- a/cpan/Module-Build/lib/Module/Build/Base.pm
11+++ b/cpan/Module-Build/lib/Module/Build/Base.pm
12@@ -3071,7 +3071,7 @@ sub manify_bin_pods {
13 foreach my $file (keys %$files) {
14 # Pod::Simple based parsers only support one document per instance.
15 # This is expected to change in a future version (Pod::Simple > 3.03).
16- my $parser = Pod::Man->new( section => 1 ); # binaries go in section 1
17+ my $parser = Pod::Man->new( section => '1p' ); # binaries go in section 1p
18 my $manpage = $self->man1page_name( $file ) . '.' .
19 $self->config( 'man1ext' );
20 my $outfile = File::Spec->catfile($mandir, $manpage);
21@@ -3096,7 +3096,7 @@ sub manify_lib_pods {
22 while (my ($file, $relfile) = each %$files) {
23 # Pod::Simple based parsers only support one document per instance.
24 # This is expected to change in a future version (Pod::Simple > 3.03).
25- my $parser = Pod::Man->new( section => 3 ); # libraries go in section 3
26+ my $parser = Pod::Man->new( section => '3pm' ); # libraries go in section 3pm
27 my $manpage = $self->man3page_name( $relfile ) . '.' .
28 $self->config( 'man3ext' );
29 my $outfile = File::Spec->catfile( $mandir, $manpage);
30--
31tg: (c823880..) debian/module_build_man_extensions (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/perlivp.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/perlivp.diff
new file mode 100644
index 0000000000..c63c1e81b8
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/perlivp.diff
@@ -0,0 +1,38 @@
1From: Niko Tyni <ntyni@debian.org>
2Subject: Make perlivp skip include directories in /usr/local
3Closes: 510895
4
5On Sat, Jan 10, 2009 at 12:37:18AM +1100, Brendan O'Dea wrote:
6> On Wed, Jan 7, 2009 at 12:21 AM, Niko Tyni <ntyni@debian.org> wrote:
7
8> > We could create the directories in a postinst script, but I'm not sure
9> > I see the point. They will be created automatically when installing
10> > CPAN modules.
11>
12> The directories are intentionally not created, as this way they are
13> excluded from the search path at start-up, saving a bunch of wasted
14> stats at use/require time in the common case that the user has not
15> installed any local packages. As Niko points out, they will be
16> created as required.
17
18
19Signed-off-by: Niko Tyni <ntyni@debian.org>
20
21---
22 utils/perlivp.PL | 1 +
23 1 files changed, 1 insertions(+), 0 deletions(-)
24
25diff --git a/utils/perlivp.PL b/utils/perlivp.PL
26index 9783261..156146f 100644
27--- a/utils/perlivp.PL
28+++ b/utils/perlivp.PL
29@@ -142,6 +142,7 @@ my $INC_total = 0;
30 my $INC_there = 0;
31 foreach (@INC) {
32 next if $_ eq '.'; # skip -d test here
33+ next if m|/usr/local|; # not shipped on Debian
34 if ($^O eq 'MacOS') {
35 next if $_ eq ':'; # skip -d test here
36 next if $_ eq 'Dev:Pseudo:'; # why is this in @INC?
37--
38tg: (c823880..) debian/perlivp (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/prune_libs.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/prune_libs.diff
new file mode 100644
index 0000000000..4d73717db4
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/prune_libs.diff
@@ -0,0 +1,36 @@
1Subject: Prune the list of libraries wanted to what we actually need.
2Bug-Debian: http://bugs.debian.org/128355
3
4We want to keep the dependencies on perl-base as small as possible,
5and some of the original list may be present on buildds (see Bug#128355).
6
7
8---
9 Configure | 5 ++---
10 1 files changed, 2 insertions(+), 3 deletions(-)
11
12diff --git a/Configure b/Configure
13index 3a8732b..6013c86 100755
14--- a/Configure
15+++ b/Configure
16@@ -1363,8 +1363,7 @@ libswanted_uselargefiles=''
17 : set usesocks on the Configure command line to enable socks.
18 : List of libraries we want.
19 : If anyone needs extra -lxxx, put those in a hint file.
20-libswanted="sfio socket bind inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun"
21-libswanted="$libswanted m crypt sec util c cposix posix ucb bsd BSD"
22+libswanted='gdbm gdbm_compat db dl m c crypt'
23 : We probably want to search /usr/shlib before most other libraries.
24 : This is only used by the lib/ExtUtils/MakeMaker.pm routine extliblist.
25 glibpth=`echo " $glibpth " | sed -e 's! /usr/shlib ! !'`
26@@ -22179,7 +22178,7 @@ sunos*X4*)
27 ;;
28 *) case "$usedl" in
29 $define|true|[yY]*)
30- set X `echo " $libs " | sed -e 's@ -lndbm @ @' -e 's@ -lgdbm @ @' -e 's@ -lgdbm_compat @ @' -e 's@ -ldbm @ @' -e 's@ -ldb @ @'`
31+ set X `echo " $libs " | sed -e 's@ -lgdbm @ @' -e 's@ -lgdbm_compat @ @' -e 's@ -ldb @ @'`
32 shift
33 perllibs="$*"
34 ;;
35--
36tg: (c823880..) debian/prune_libs (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/squelch-locale-warnings.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/squelch-locale-warnings.diff
new file mode 100644
index 0000000000..091dec45cb
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/squelch-locale-warnings.diff
@@ -0,0 +1,53 @@
1From: Niko Tyni <ntyni@debian.org>
2Subject: Squelch locale warnings in Debian package maintainer scripts
3Bug-Debian: http://bugs.debian.org/508764
4
5The system locales are rather frequently out of sync with the C library
6during package upgrades, causing a huge amount of useless Perl locale
7warnings. Squelch them when running package maintainer scripts, detected
8by the DPKG_RUNNING_VERSION environment variable.
9
10Any real locale problem will show up after the system upgrade too, and
11the warning will be triggered normally again at that point.
12
13---
14 locale.c | 4 ++++
15 pod/perllocale.pod | 8 ++++++++
16 2 files changed, 12 insertions(+), 0 deletions(-)
17
18diff --git a/locale.c b/locale.c
19index 16ccce8..2592b3c 100644
20--- a/locale.c
21+++ b/locale.c
22@@ -359,6 +359,10 @@ Perl_init_i18nl10n(pTHX_ int printwarn)
23 char *p;
24 const bool locwarn = (printwarn > 1 ||
25 (printwarn &&
26+
27+ /* Debian specific change - see http://bugs.debian.org/508764 */
28+ (!PerlEnv_getenv("DPKG_RUNNING_VERSION")) &&
29+
30 (!(p = PerlEnv_getenv("PERL_BADLANG")) || atoi(p))));
31
32 if (locwarn) {
33diff --git a/pod/perllocale.pod b/pod/perllocale.pod
34index 0dbabe7..60b7bab 100644
35--- a/pod/perllocale.pod
36+++ b/pod/perllocale.pod
37@@ -844,6 +844,14 @@ B<NOTE>: PERL_BADLANG only gives you a way to hide the warning message.
38 The message tells about some problem in your system's locale support,
39 and you should investigate what the problem is.
40
41+=item DPKG_RUNNING_VERSION
42+
43+On Debian systems, if the DPKG_RUNNING_VERSION environment variable is
44+set (to any value), the locale failure warnings will be suppressed just
45+like with a zero PERL_BADLANG setting. This is done to avoid floods
46+of spurious warnings during system upgrades.
47+See L<http://bugs.debian.org/508764>.
48+
49 =back
50
51 The following environment variables are not specific to Perl: They are
52--
53tg: (c823880..) debian/squelch-locale-warnings (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/generate-sh.patch b/meta/recipes-devtools/perl/perl-5.12.2/generate-sh.patch
new file mode 100644
index 0000000000..ceb74196d6
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/generate-sh.patch
@@ -0,0 +1,46 @@
1Use the ld flags from the supplied configuration file. For sh we need the
2flags that specify to build PIC code so that the shared libraries work.
3
4Index: perl-5.8.8/Cross/generate_config_sh
5===================================================================
6--- perl-5.8.8.orig/Cross/generate_config_sh 2003-09-05 18:31:08.000000000 +1000
7+++ perl-5.8.8/Cross/generate_config_sh 2007-05-30 09:12:50.000000000 +1000
8@@ -19,10 +19,10 @@
9 $callbacks->{'ar'} = [\&simple_process, ["AR", "arm-linux-ar"]];
10 $callbacks->{'archname'} = [\&simple_process, ["SYS", "armv4l-linux"]];
11 $callbacks->{'cc'} = [\&simple_process, ["CC", "arm-linux-gcc"]];
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->{'cccdlflags'} = [\&simple_process, ["CFLAGS", ""]];
17+#$callbacks->{'ccdlflags'} = [\&simple_process, ["CFLAGS", ""]];
18+$callbacks->{'ccflags'} = [\&simple_process_insert, ["CFLAGS", "-fno-strict-aliasing -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"]];
19+$callbacks->{'ccflags_uselargefiles'} = [\&simple_process_insert, ["CFLAGS", "-D_GNU_SOURCE -DTHREADS_HAVE_PIDS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"]];
20 $callbacks->{'ccname'} = [\&simple_process, ["CC", "arm-linux-gcc"]];
21 $callbacks->{'cpp'} = [\&simple_process, ["CCP", "arm-linux-cpp"]];
22 $callbacks->{'cppflags'} = [\&simple_process, ["CCPFLAGS", "-fno-strict-aliasing"]];
23@@ -105,6 +105,23 @@
24
25 }
26
27+# Insert env var into the variables value
28+sub simple_process_insert {
29+ my $key = shift;
30+ my $value = shift;
31+ my $envvar = $callbacks->{$key}->[1][0];
32+
33+ if ($ENV{$envvar}) {
34+ # Strip quotes from value
35+ $value =~ s/^\'//;
36+ $value =~ s/\'$//;
37+ # Remove -I/usr/local/... from the value
38+ $value =~ s#\W-I/usr/local/\w+\W# #g;
39+ # Prepend env var (OE setting) to value
40+ print("$key=\'$ENV{$envvar} $value\'\n");
41+ }
42+}
43+
44 sub library_munge {
45 my $key = shift;
46 my $value = shift;
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/installperl.patch b/meta/recipes-devtools/perl/perl-5.12.2/installperl.patch
new file mode 100644
index 0000000000..d20961c4f8
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/installperl.patch
@@ -0,0 +1,15 @@
1Index: perl-5.12.2/installperl
2===================================================================
3--- perl-5.12.2.orig/installperl
4+++ perl-5.12.2/installperl
5@@ -3,8 +3,8 @@
6 BEGIN {
7 require 5.004;
8 chdir '..' if !-d 'lib' and -d '../lib';
9- @INC = 'lib';
10- $ENV{PERL5LIB} = 'lib';
11+# @INC = 'lib';
12+# $ENV{PERL5LIB} = 'lib';
13
14 # This needs to be at BEGIN time, before any use of Config
15 require './install_lib.pl';
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/native-nopacklist.patch b/meta/recipes-devtools/perl/perl-5.12.2/native-nopacklist.patch
new file mode 100644
index 0000000000..92b02d4af0
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/native-nopacklist.patch
@@ -0,0 +1,80 @@
1Part of 52_debian_extutils_hacks.patch just to exclude the installation of .packlist files
2
3Index: perl-5.12.2/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
4===================================================================
5--- perl-5.12.2.orig/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
6+++ perl-5.12.2/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
7@@ -2047,8 +2047,6 @@ doc__install : doc_site_install
8
9 pure_perl_install :: all
10 $(NOECHO) $(MOD_INSTALL) \
11- read }.$self->catfile('$(PERL_ARCHLIB)','auto','$(FULLEXT)','.packlist').q{ \
12- write }.$self->catfile('$(DESTINSTALLARCHLIB)','auto','$(FULLEXT)','.packlist').q{ \
13 $(INST_LIB) $(DESTINSTALLPRIVLIB) \
14 $(INST_ARCHLIB) $(DESTINSTALLARCHLIB) \
15 $(INST_BIN) $(DESTINSTALLBIN) \
16@@ -2074,8 +2072,6 @@ pure_site_install :: all
17
18 pure_vendor_install :: all
19 $(NOECHO) $(MOD_INSTALL) \
20- read }.$self->catfile('$(VENDORARCHEXP)','auto','$(FULLEXT)','.packlist').q{ \
21- write }.$self->catfile('$(DESTINSTALLVENDORARCH)','auto','$(FULLEXT)','.packlist').q{ \
22 $(INST_LIB) $(DESTINSTALLVENDORLIB) \
23 $(INST_ARCHLIB) $(DESTINSTALLVENDORARCH) \
24 $(INST_BIN) $(DESTINSTALLVENDORBIN) \
25@@ -2084,37 +2080,19 @@ pure_vendor_install :: all
26 $(INST_MAN3DIR) $(DESTINSTALLVENDORMAN3DIR)
27
28 doc_perl_install :: all
29- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
30- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
31- -$(NOECHO) $(DOC_INSTALL) \
32- "Module" "$(NAME)" \
33- "installed into" "$(INSTALLPRIVLIB)" \
34- LINKTYPE "$(LINKTYPE)" \
35- VERSION "$(VERSION)" \
36- EXE_FILES "$(EXE_FILES)" \
37- >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{
38
39 doc_site_install :: all
40- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
41- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
42+ $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLSITEARCH)/perllocal.pod
43+ -$(NOECHO) $(MKPATH) $(DESTINSTALLSITEARCH)
44 -$(NOECHO) $(DOC_INSTALL) \
45 "Module" "$(NAME)" \
46 "installed into" "$(INSTALLSITELIB)" \
47 LINKTYPE "$(LINKTYPE)" \
48 VERSION "$(VERSION)" \
49 EXE_FILES "$(EXE_FILES)" \
50- >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{
51+ >> }.$self->catfile('$(DESTINSTALLSITEARCH)','perllocal.pod').q{
52
53 doc_vendor_install :: all
54- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
55- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
56- -$(NOECHO) $(DOC_INSTALL) \
57- "Module" "$(NAME)" \
58- "installed into" "$(INSTALLVENDORLIB)" \
59- LINKTYPE "$(LINKTYPE)" \
60- VERSION "$(VERSION)" \
61- EXE_FILES "$(EXE_FILES)" \
62- >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{
63
64 };
65
66@@ -2123,13 +2101,12 @@ uninstall :: uninstall_from_$(INSTALLDIR
67 $(NOECHO) $(NOOP)
68
69 uninstall_from_perldirs ::
70- $(NOECHO) $(UNINSTALL) }.$self->catfile('$(PERL_ARCHLIB)','auto','$(FULLEXT)','.packlist').q{
71
72 uninstall_from_sitedirs ::
73 $(NOECHO) $(UNINSTALL) }.$self->catfile('$(SITEARCHEXP)','auto','$(FULLEXT)','.packlist').q{
74
75 uninstall_from_vendordirs ::
76- $(NOECHO) $(UNINSTALL) }.$self->catfile('$(VENDORARCHEXP)','auto','$(FULLEXT)','.packlist').q{
77+
78 };
79
80 join("",@m);
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/native-perlinc.patch b/meta/recipes-devtools/perl/perl-5.12.2/native-perlinc.patch
new file mode 100644
index 0000000000..bf145ba6b2
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/native-perlinc.patch
@@ -0,0 +1,24 @@
1Index: perl-5.8.8/lib/ExtUtils/MM_Unix.pm
2===================================================================
3--- perl-5.12.2.orig/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 2008-10-31 22:01:35.000000000 +0000
4+++ perl-5.12.2/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 2008-10-31 22:01:35.000000000 +0000
5@@ -1597,6 +1597,19 @@
6 $self->{PERL_LIB} ||= $Config{privlibexp};
7 $self->{PERL_ARCHLIB} ||= $Config{archlibexp};
8 $self->{PERL_INC} = $self->catdir("$self->{PERL_ARCHLIB}","CORE"); # wild guess for now
9+ # Check for environment override so we'll find the headers in the correct place
10+ if (defined $ENV{PERL_LIB})
11+ {
12+ $self->{PERL_LIB} = $ENV{PERL_LIB};
13+ }
14+ if (defined $ENV{PERL_ARCHLIB})
15+ {
16+ $self->{PERL_ARCHLIB} = $ENV{PERL_ARCHLIB};
17+ }
18+ if (defined $ENV{PERL_INC})
19+ {
20+ $self->{PERL_INC} = $ENV{PERL_INC};
21+ }
22 my $perl_h;
23
24 if (not -f ($perl_h = $self->catfile($self->{PERL_INC},"perl.h"))
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/native-ssp.patch b/meta/recipes-devtools/perl/perl-5.12.2/native-ssp.patch
new file mode 100644
index 0000000000..1c825f50d0
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/native-ssp.patch
@@ -0,0 +1,14 @@
1Fix for compiling with ssp enabled gcc:
2See http://bugs.openembedded.net/show_bug.cgi?id=1980
3
4diff -Naur perl-5.8.7.orig/cflags.SH perl-5.8.7/cflags.SH
5--- perl-5.8.7.orig/cflags.SH 2002-09-30 10:59:07.000000000 +0000
6+++ perl-5.8.7/cflags.SH 2005-10-02 04:08:39.000000000 +0000
7@@ -165,6 +165,8 @@
8 esac
9
10 : Can we perhaps use $ansi2knr here
11+ [[ $file == regcomp ]] && export ccflags="${ccflags} -fno-stack-protector"
12+ [[ $file == regexec ]] && export ccflags="${ccflags} -fno-stack-protector"
13 echo "$cc -c -DPERL_CORE $ccflags $optimize $warn"
14 eval "$also "'"$cc -DPERL_CORE -c $ccflags $optimize $warn"'
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/perl-configpm-switch.patch b/meta/recipes-devtools/perl/perl-5.12.2/perl-configpm-switch.patch
new file mode 100644
index 0000000000..ac519a0271
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/perl-configpm-switch.patch
@@ -0,0 +1,43 @@
1This patch is used for perl-native only. It enables the switching of
2configuration files between Config_heavy.pl and
3Config_heavy-target.pl by setting the environment variables
4PERLCONFIGTARGET - the later containing settings for the target while
5the former contains those for the host. This will allow cpan.bbclass
6to use the settings appropriate for the native and/or target builds
7as required. This also disables the use of the cache since the cached
8values would be valid for the host only.
9
10--- perl-5.8.8/configpm 2007/04/30 03:10:43 1.1
11+++ perl-5.8.8/configpm 2007/04/30 03:11:56
12@@ -374,7 +374,7 @@
13 my($self, $key) = @_;
14
15 # check for cached value (which may be undef so we use exists not defined)
16- return $self->{$key} if exists $self->{$key};
17+ #return $self->{$key} if exists $self->{$key};
18
19 return $self->fetch_string($key);
20 }
21@@ -530,7 +530,21 @@
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+ if (defined $ENV{PERL_ARCHLIB})
32+ {
33+ push @INC, $ENV{PERL_ARCHLIB};
34+ require $cfgfile;
35+ pop @INC;
36+ }
37+ else
38+ {
39+ require $cfgfile;
40+ }
41 goto \&launcher unless $Config::AUTOLOAD =~ /launcher$/;
42 die "&Config::AUTOLOAD failed on $Config::AUTOLOAD";
43 }
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/perl-configure.sh b/meta/recipes-devtools/perl/perl-5.12.2/perl-configure.sh
new file mode 100755
index 0000000000..c29e966c05
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/perl-configure.sh
@@ -0,0 +1,43 @@
1#! /bin/sh
2
3#
4# Generate the common perl configuration
5# Needs to be run on a host that matches the bitsize of the target platform
6#
7
8echo sh Configure -des \
9 -Doptimize=-O2 \
10 -Dmyhostname=localhost \
11 -Dperladmin=root@localhost \
12 -Dcc=gcc \
13 -Dcf_by='Open Embedded' \
14 -Dinstallprefix=@DESTDIR@ \
15 -Dprefix=/usr \
16 -Dvendorprefix=/usr \
17 -Dsiteprefix=/usr \
18 -Dotherlibdirs=/usr/lib/perl5/5.12.2 \
19 -Duseshrplib \
20 -Dusethreads \
21 -Duseithreads \
22 -Duselargefiles \
23 -Ud_dosuid \
24 -Dd_semctl_semun \
25 -Ui_db \
26 -Ui_ndbm \
27 -Ui_gdbm \
28 -Di_shadow \
29 -Di_syslog \
30 -Dman3ext=3pm \
31 -Duseperlio \
32 -Dinstallusrbinperl \
33 -Ubincompat5005 \
34 -Uversiononly \
35 -Dpager='/usr/bin/less -isr'
36
37cp -f config.sh config.sh.COMMON
38
39TARGETOS=$(grep myarchname config.sh.COMMON | sed "s#.*'\(.*\)'.*#\1#")
40
41sed -r -i config.sh.COMMON \
42 -e "s#(install.*=')(/usr)/local(.*')#\1@DESTDIR@\2\3#g" \
43 -e 's#'$TARGETOS'#@ARCH@#g'
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/perl-dynloader.patch b/meta/recipes-devtools/perl/perl-5.12.2/perl-dynloader.patch
new file mode 100644
index 0000000000..061a8236fd
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/perl-dynloader.patch
@@ -0,0 +1,23 @@
1Allow the location that .so files are searched for for dynamic
2loading to be changed via an environment variable. This is to allow
3us to load .so's from the host system while building for the target
4system.
5
6--- perl-5.12.2/dist/XSLoader/XSLoader_pm.PL 2007/04/20 09:03:08 1.1
7+++ perl-5.12.2/dist/XSLoader/XSLoader_pm.PL 2007/04/20 09:03:08
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/recipes-devtools/perl/perl-5.12.2/perl-enable-gdbm.patch b/meta/recipes-devtools/perl/perl-5.12.2/perl-enable-gdbm.patch
new file mode 100644
index 0000000000..c0874c372d
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/perl-enable-gdbm.patch
@@ -0,0 +1,17 @@
1Index: perl-5.8.8/config_h.SH
2===================================================================
3--- perl-5.8.8.orig/config_h.SH 2005-11-01 02:13:05.000000000 +0800
4+++ perl-5.8.8/config_h.SH 2010-11-01 17:06:07.215219738 +0800
5@@ -709,6 +709,12 @@
6 */
7 #$i_float I_FLOAT /**/
8
9+/* I_GDBM:
10+ * This symbol, if defined, indicates that <gdbm.h> exists and should
11+ * be included.
12+ */
13+#$i_gdbm I_GDBM /**/
14+
15 /* I_LIMITS:
16 * This symbol, if defined, indicates to the C program that it should
17 * include <limits.h> to get definition of symbols like WORD_BIT or
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/perl-moreconfig.patch b/meta/recipes-devtools/perl/perl-5.12.2/perl-moreconfig.patch
new file mode 100644
index 0000000000..590c72536b
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/perl-moreconfig.patch
@@ -0,0 +1,16 @@
1We need ld in the fake config library, but it's not included by default. So
2expand the number of items included. While this works it indicates that the
3rest of the config items are not being picked up and/or are being picked up
4from the host. More investigation needed.
5
6--- perl-5.8.8/configpm 2007/04/20 09:48:05 1.1
7+++ perl-5.8.8/configpm 2007/04/20 09:57:12
8@@ -2,7 +2,7 @@
9 use strict;
10 use vars qw(%Config $Config_SH_expanded);
11
12-my $how_many_common = 22;
13+my $how_many_common = 50;
14
15 # commonly used names to precache (and hence lookup fastest)
16 my %Common;