diff options
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.12.2')
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 @@ | |||
1 | Correctly identify arch-specific modules in ext/ where the .pm files | ||
2 | are under lib. | ||
3 | |||
4 | Ensure that POSIX/SigAction is kept with the rest of the POSIX module | ||
5 | under archlib. | ||
6 | |||
7 | Index: 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 @@ | |||
1 | Index: 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 @@ | |||
1 | Index: 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 @@ | |||
1 | Perl inclues asm/page.h in order to get the definition for getpagesize which | ||
2 | has been definied in unistd.h since glibc 2.1. Some recent version of linux | ||
3 | libc headers removed the asm/page.h resulting in failures here for some | ||
4 | people. | ||
5 | |||
6 | Index: 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. | ||
16 | config_arg0='Configure' | ||
17 | config_args='-des -Doptimize=-O2 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Open Embedded -Dinstallprefix=@DESTDIR@ -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr -Dotherlibdirs=/usr/lib/perl5/5.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' | ||
18 | config_argc=28 | ||
19 | config_arg1='-des' | ||
20 | config_arg2='-Doptimize=-O2' | ||
21 | config_arg3='-Dmyhostname=localhost' | ||
22 | config_arg4='-Dperladmin=root@localhost' | ||
23 | config_arg5='-Dcc=gcc' | ||
24 | config_arg6='-Dcf_by=Open Embedded' | ||
25 | config_arg7='-Dinstallprefix=@DESTDIR@' | ||
26 | config_arg8='-Dprefix=/usr' | ||
27 | config_arg9='-Dvendorprefix=/usr' | ||
28 | config_arg10='-Dsiteprefix=/usr' | ||
29 | config_arg11='-Dotherlibdirs=/usr/lib/perl5/5.12.2' | ||
30 | config_arg12='-Duseshrplib' | ||
31 | config_arg13='-Dusethreads' | ||
32 | config_arg14='-Duseithreads' | ||
33 | config_arg15='-Duselargefiles' | ||
34 | config_arg16='-Ud_dosuid' | ||
35 | config_arg17='-Dd_semctl_semun' | ||
36 | config_arg18='-Ui_db' | ||
37 | config_arg19='-Ui_ndbm' | ||
38 | config_arg20='-Ui_gdbm' | ||
39 | config_arg21='-Di_shadow' | ||
40 | config_arg22='-Di_syslog' | ||
41 | config_arg23='-Dman3ext=3pm' | ||
42 | config_arg24='-Duseperlio' | ||
43 | config_arg25='-Dinstallusrbinperl' | ||
44 | config_arg26='-Ubincompat5005' | ||
45 | config_arg27='-Uversiononly' | ||
46 | config_arg28='-Dpager=/usr/bin/less -isr' | ||
47 | |||
48 | Author='' | ||
49 | Date='$Date' | ||
50 | Header='' | ||
51 | Id='$Id' | ||
52 | Locker='' | ||
53 | Log='$Log' | ||
54 | RCSfile='$RCSfile' | ||
55 | Revision='$Revision' | ||
56 | Source='' | ||
57 | State='' | ||
58 | _a='.a' | ||
59 | _exe='' | ||
60 | _o='.o' | ||
61 | afs='false' | ||
62 | afsroot='/afs' | ||
63 | ansi2knr='' | ||
64 | aphostname='' | ||
65 | api_revision='5' | ||
66 | api_subversion='0' | ||
67 | api_version='12' | ||
68 | api_versionstring='5.12.0' | ||
69 | ar='ar' | ||
70 | archlib='/usr/lib/perl5/5.12.2/@ARCH@-thread-multi' | ||
71 | archlibexp='/usr/lib/perl5/5.12.2/@ARCH@-thread-multi' | ||
72 | archname64='' | ||
73 | archname='@ARCH@-thread-multi' | ||
74 | archobjs='' | ||
75 | asctime_r_proto='REENTRANT_PROTO_B_SB' | ||
76 | awk='awk' | ||
77 | baserev='5.0' | ||
78 | bash='' | ||
79 | bin='/usr/bin' | ||
80 | bin_ELF='define' | ||
81 | binexp='/usr/bin' | ||
82 | bison='bison' | ||
83 | byacc='byacc' | ||
84 | c='' | ||
85 | castflags='0' | ||
86 | cat='cat' | ||
87 | cc='gcc' | ||
88 | cccdlflags='-fPIC' | ||
89 | ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.12.2/@ARCH@-thread-multi/CORE' | ||
90 | ccflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' | ||
91 | ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' | ||
92 | ccname='gcc' | ||
93 | ccsymbols='' | ||
94 | ccversion='' | ||
95 | cf_by='Open Embedded' | ||
96 | cf_email='Open Embedded@localhost.localdomain' | ||
97 | charbits='8' | ||
98 | charsize='1' | ||
99 | chgrp='' | ||
100 | chmod='chmod' | ||
101 | chown='' | ||
102 | clocktype='clock_t' | ||
103 | comm='comm' | ||
104 | compress='' | ||
105 | contains='grep' | ||
106 | cp='cp' | ||
107 | cpio='' | ||
108 | cpp='cpp' | ||
109 | cpp_stuff='42' | ||
110 | cppccsymbols='' | ||
111 | cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector' | ||
112 | cpplast='-' | ||
113 | cppminus='-' | ||
114 | cpprun='gcc -E' | ||
115 | cppstdin='gcc -E' | ||
116 | crypt_r_proto='REENTRANT_PROTO_B_CCS' | ||
117 | cryptlib='' | ||
118 | csh='csh' | ||
119 | ctermid_r_proto='0' | ||
120 | ctime_r_proto='REENTRANT_PROTO_B_SB' | ||
121 | d_Gconvert='gcvt((x),(n),(b))' | ||
122 | d_PRIEUldbl='define' | ||
123 | d_PRIFUldbl='define' | ||
124 | d_PRIGUldbl='define' | ||
125 | d_PRIXU64='define' | ||
126 | d_PRId64='define' | ||
127 | d_PRIeldbl='define' | ||
128 | d_PRIfldbl='define' | ||
129 | d_PRIgldbl='define' | ||
130 | d_PRIi64='define' | ||
131 | d_PRIo64='define' | ||
132 | d_PRIu64='define' | ||
133 | d_PRIx64='define' | ||
134 | d_SCNfldbl='define' | ||
135 | d__fwalk='undef' | ||
136 | d_access='define' | ||
137 | d_accessx='undef' | ||
138 | d_aintl='undef' | ||
139 | d_alarm='define' | ||
140 | d_archlib='define' | ||
141 | d_asctime64='undef' | ||
142 | d_asctime_r='define' | ||
143 | d_atolf='undef' | ||
144 | d_atoll='define' | ||
145 | d_attribute_deprecated='define' | ||
146 | d_attribute_format='define' | ||
147 | d_attribute_malloc='define' | ||
148 | d_attribute_nonnull='define' | ||
149 | d_attribute_noreturn='define' | ||
150 | d_attribute_pure='define' | ||
151 | d_attribute_unused='define' | ||
152 | d_attribute_warn_unused_result='define' | ||
153 | d_bcmp='define' | ||
154 | d_bcopy='define' | ||
155 | d_bsd='undef' | ||
156 | d_bsdgetpgrp='undef' | ||
157 | d_bsdsetpgrp='undef' | ||
158 | d_builtin_choose_expr='define' | ||
159 | d_builtin_expect='define' | ||
160 | d_bzero='define' | ||
161 | d_c99_variadic_macros='define' | ||
162 | d_casti32='undef' | ||
163 | d_castneg='define' | ||
164 | d_charvspr='undef' | ||
165 | d_chown='define' | ||
166 | d_chroot='define' | ||
167 | d_chsize='undef' | ||
168 | d_class='undef' | ||
169 | d_clearenv='define' | ||
170 | d_closedir='define' | ||
171 | d_cmsghdr_s='define' | ||
172 | d_const='define' | ||
173 | d_copysignl='define' | ||
174 | d_cplusplus='undef' | ||
175 | d_crypt='define' | ||
176 | d_crypt_r='define' | ||
177 | d_csh='undef' | ||
178 | d_ctermid='define' | ||
179 | d_ctermid_r='undef' | ||
180 | d_ctime64='undef' | ||
181 | d_ctime_r='define' | ||
182 | d_cuserid='define' | ||
183 | d_dbl_dig='define' | ||
184 | d_dbminitproto='undef' | ||
185 | d_difftime64='undef' | ||
186 | d_difftime='define' | ||
187 | d_dir_dd_fd='undef' | ||
188 | d_dirfd='define' | ||
189 | d_dirnamlen='undef' | ||
190 | d_dlerror='define' | ||
191 | d_dlopen='define' | ||
192 | d_dlsymun='undef' | ||
193 | d_dosuid='undef' | ||
194 | d_drand48_r='define' | ||
195 | d_drand48proto='define' | ||
196 | d_dup2='define' | ||
197 | d_eaccess='define' | ||
198 | d_endgrent='define' | ||
199 | d_endgrent_r='undef' | ||
200 | d_endhent='define' | ||
201 | d_endhostent_r='undef' | ||
202 | d_endnent='define' | ||
203 | d_endnetent_r='undef' | ||
204 | d_endpent='define' | ||
205 | d_endprotoent_r='undef' | ||
206 | d_endpwent='define' | ||
207 | d_endpwent_r='undef' | ||
208 | d_endsent='define' | ||
209 | d_endservent_r='undef' | ||
210 | d_eofnblk='define' | ||
211 | d_eunice='undef' | ||
212 | d_faststdio='define' | ||
213 | d_fchdir='define' | ||
214 | d_fchmod='define' | ||
215 | d_fchown='define' | ||
216 | d_fcntl='define' | ||
217 | d_fcntl_can_lock='define' | ||
218 | d_fd_macros='define' | ||
219 | d_fd_set='define' | ||
220 | d_fds_bits='define' | ||
221 | d_fgetpos='define' | ||
222 | d_finite='define' | ||
223 | d_finitel='define' | ||
224 | d_flexfnam='define' | ||
225 | d_flock='define' | ||
226 | d_flockproto='define' | ||
227 | d_fork='define' | ||
228 | d_fp_class='undef' | ||
229 | d_fpathconf='define' | ||
230 | d_fpclass='undef' | ||
231 | d_fpclassify='undef' | ||
232 | d_fpclassl='undef' | ||
233 | d_fpos64_t='undef' | ||
234 | d_frexpl='define' | ||
235 | d_fs_data_s='undef' | ||
236 | d_fseeko='define' | ||
237 | d_fsetpos='define' | ||
238 | d_fstatfs='define' | ||
239 | d_fstatvfs='define' | ||
240 | d_fsync='define' | ||
241 | d_ftello='define' | ||
242 | d_ftime='undef' | ||
243 | d_futimes='define' | ||
244 | d_gdbm_ndbm_h_uses_prototypes='undef' | ||
245 | d_gdbmndbm_h_uses_prototypes='undef' | ||
246 | d_getaddrinfo='define' | ||
247 | d_getcwd='define' | ||
248 | d_getespwnam='undef' | ||
249 | d_getfsstat='undef' | ||
250 | d_getgrent='define' | ||
251 | d_getgrent_r='define' | ||
252 | d_getgrgid_r='define' | ||
253 | d_getgrnam_r='define' | ||
254 | d_getgrps='define' | ||
255 | d_gethbyaddr='define' | ||
256 | d_gethbyname='define' | ||
257 | d_gethent='define' | ||
258 | d_gethname='define' | ||
259 | d_gethostbyaddr_r='define' | ||
260 | d_gethostbyname_r='define' | ||
261 | d_gethostent_r='define' | ||
262 | d_gethostprotos='define' | ||
263 | d_getitimer='define' | ||
264 | d_getlogin='define' | ||
265 | d_getlogin_r='define' | ||
266 | d_getmnt='undef' | ||
267 | d_getmntent='define' | ||
268 | d_getnameinfo='define' | ||
269 | d_getnbyaddr='define' | ||
270 | d_getnbyname='define' | ||
271 | d_getnent='define' | ||
272 | d_getnetbyaddr_r='define' | ||
273 | d_getnetbyname_r='define' | ||
274 | d_getnetent_r='define' | ||
275 | d_getnetprotos='define' | ||
276 | d_getpagsz='define' | ||
277 | d_getpbyname='define' | ||
278 | d_getpbynumber='define' | ||
279 | d_getpent='define' | ||
280 | d_getpgid='define' | ||
281 | d_getpgrp2='undef' | ||
282 | d_getpgrp='define' | ||
283 | d_getppid='define' | ||
284 | d_getprior='define' | ||
285 | d_getprotobyname_r='define' | ||
286 | d_getprotobynumber_r='define' | ||
287 | d_getprotoent_r='define' | ||
288 | d_getprotoprotos='define' | ||
289 | d_getprpwnam='undef' | ||
290 | d_getpwent='define' | ||
291 | d_getpwent_r='define' | ||
292 | d_getpwnam_r='define' | ||
293 | d_getpwuid_r='define' | ||
294 | d_getsbyname='define' | ||
295 | d_getsbyport='define' | ||
296 | d_getsent='define' | ||
297 | d_getservbyname_r='define' | ||
298 | d_getservbyport_r='define' | ||
299 | d_getservent_r='define' | ||
300 | d_getservprotos='define' | ||
301 | d_getspnam='define' | ||
302 | d_getspnam_r='define' | ||
303 | d_gettimeod='define' | ||
304 | d_gmtime64='undef' | ||
305 | d_gmtime_r='define' | ||
306 | d_gnulibc='define' | ||
307 | d_grpasswd='define' | ||
308 | d_hasmntopt='define' | ||
309 | d_htonl='define' | ||
310 | d_ilogbl='define' | ||
311 | d_inc_version_list='undef' | ||
312 | d_index='undef' | ||
313 | d_inetaton='define' | ||
314 | d_inetntop='define' | ||
315 | d_inetpton='define' | ||
316 | d_int64_t='define' | ||
317 | d_isascii='define' | ||
318 | d_isfinite='undef' | ||
319 | d_isinf='define' | ||
320 | d_isnan='define' | ||
321 | d_isnanl='define' | ||
322 | d_killpg='define' | ||
323 | d_lchown='define' | ||
324 | d_ldbl_dig='define' | ||
325 | d_libm_lib_version='define' | ||
326 | d_link='define' | ||
327 | d_localtime64='undef' | ||
328 | d_localtime_r='define' | ||
329 | d_localtime_r_needs_tzset='define' | ||
330 | d_locconv='define' | ||
331 | d_lockf='define' | ||
332 | d_longdbl='define' | ||
333 | d_longlong='define' | ||
334 | d_lseekproto='define' | ||
335 | d_lstat='define' | ||
336 | d_madvise='define' | ||
337 | d_malloc_good_size='undef' | ||
338 | d_malloc_size='undef' | ||
339 | d_mblen='define' | ||
340 | d_mbstowcs='define' | ||
341 | d_mbtowc='define' | ||
342 | d_memchr='define' | ||
343 | d_memcmp='define' | ||
344 | d_memcpy='define' | ||
345 | d_memmove='define' | ||
346 | d_memset='define' | ||
347 | d_mkdir='define' | ||
348 | d_mkdtemp='define' | ||
349 | d_mkfifo='define' | ||
350 | d_mkstemp='define' | ||
351 | d_mkstemps='define' | ||
352 | d_mktime64='undef' | ||
353 | d_mktime='define' | ||
354 | d_mmap='define' | ||
355 | d_modfl='define' | ||
356 | d_modfl_pow32_bug='undef' | ||
357 | d_modflproto='define' | ||
358 | d_mprotect='define' | ||
359 | d_msg='define' | ||
360 | d_msg_ctrunc='define' | ||
361 | d_msg_dontroute='define' | ||
362 | d_msg_oob='define' | ||
363 | d_msg_peek='define' | ||
364 | d_msg_proxy='define' | ||
365 | d_msgctl='define' | ||
366 | d_msgget='define' | ||
367 | d_msghdr_s='define' | ||
368 | d_msgrcv='define' | ||
369 | d_msgsnd='define' | ||
370 | d_msync='define' | ||
371 | d_munmap='define' | ||
372 | d_mymalloc='undef' | ||
373 | d_ndbm='undef' | ||
374 | d_ndbm_h_uses_prototypes='undef' | ||
375 | d_nice='define' | ||
376 | d_nl_langinfo='define' | ||
377 | d_nv_zero_is_allbits_zero='define' | ||
378 | d_off64_t='define' | ||
379 | d_old_pthread_create_joinable='undef' | ||
380 | d_oldpthreads='undef' | ||
381 | d_oldsock='undef' | ||
382 | d_open3='define' | ||
383 | d_pathconf='define' | ||
384 | d_pause='define' | ||
385 | d_perl_otherlibdirs='define' | ||
386 | d_phostname='undef' | ||
387 | d_pipe='define' | ||
388 | d_poll='define' | ||
389 | d_portable='define' | ||
390 | d_procselfexe='define' | ||
391 | d_pseudofork='undef' | ||
392 | d_pthread_atfork='define' | ||
393 | d_pthread_attr_setscope='define' | ||
394 | d_pthread_yield='define' | ||
395 | d_pwage='undef' | ||
396 | d_pwchange='undef' | ||
397 | d_pwclass='undef' | ||
398 | d_pwcomment='undef' | ||
399 | d_pwexpire='undef' | ||
400 | d_pwgecos='define' | ||
401 | d_pwpasswd='define' | ||
402 | d_pwquota='undef' | ||
403 | d_qgcvt='define' | ||
404 | d_quad='define' | ||
405 | d_random_r='define' | ||
406 | d_readdir64_r='define' | ||
407 | d_readdir='define' | ||
408 | d_readdir_r='define' | ||
409 | d_readlink='define' | ||
410 | d_readv='define' | ||
411 | d_recvmsg='define' | ||
412 | d_rename='define' | ||
413 | d_rewinddir='define' | ||
414 | d_rmdir='define' | ||
415 | d_safebcpy='undef' | ||
416 | d_safemcpy='undef' | ||
417 | d_sanemcmp='define' | ||
418 | d_sbrkproto='define' | ||
419 | d_scalbnl='define' | ||
420 | d_sched_yield='define' | ||
421 | d_scm_rights='define' | ||
422 | d_seekdir='define' | ||
423 | d_select='define' | ||
424 | d_sem='define' | ||
425 | d_semctl='define' | ||
426 | d_semctl_semid_ds='define' | ||
427 | d_semctl_semun='define' | ||
428 | d_semget='define' | ||
429 | d_semop='define' | ||
430 | d_sendmsg='define' | ||
431 | d_setegid='define' | ||
432 | d_seteuid='define' | ||
433 | d_setgrent='define' | ||
434 | d_setgrent_r='undef' | ||
435 | d_setgrps='define' | ||
436 | d_sethent='define' | ||
437 | d_sethostent_r='undef' | ||
438 | d_setitimer='define' | ||
439 | d_setlinebuf='define' | ||
440 | d_setlocale='define' | ||
441 | d_setlocale_r='undef' | ||
442 | d_setnent='define' | ||
443 | d_setnetent_r='undef' | ||
444 | d_setpent='define' | ||
445 | d_setpgid='define' | ||
446 | d_setpgrp2='undef' | ||
447 | d_setpgrp='define' | ||
448 | d_setprior='define' | ||
449 | d_setproctitle='undef' | ||
450 | d_setprotoent_r='undef' | ||
451 | d_setpwent='define' | ||
452 | d_setpwent_r='undef' | ||
453 | d_setregid='define' | ||
454 | d_setresgid='define' | ||
455 | d_setresuid='define' | ||
456 | d_setreuid='define' | ||
457 | d_setrgid='undef' | ||
458 | d_setruid='undef' | ||
459 | d_setsent='define' | ||
460 | d_setservent_r='undef' | ||
461 | d_setsid='define' | ||
462 | d_setvbuf='define' | ||
463 | d_sfio='undef' | ||
464 | d_shm='define' | ||
465 | d_shmat='define' | ||
466 | d_shmatprototype='define' | ||
467 | d_shmctl='define' | ||
468 | d_shmdt='define' | ||
469 | d_shmget='define' | ||
470 | d_sigaction='define' | ||
471 | d_signbit='define' | ||
472 | d_sigprocmask='define' | ||
473 | d_sigsetjmp='define' | ||
474 | d_sitearch='define' | ||
475 | d_snprintf='define' | ||
476 | d_sockatmark='define' | ||
477 | d_sockatmarkproto='define' | ||
478 | d_socket='define' | ||
479 | d_socklen_t='define' | ||
480 | d_sockpair='define' | ||
481 | d_socks5_init='undef' | ||
482 | d_sprintf_returns_strlen='define' | ||
483 | d_sqrtl='define' | ||
484 | d_srand48_r='define' | ||
485 | d_srandom_r='define' | ||
486 | d_sresgproto='define' | ||
487 | d_sresuproto='define' | ||
488 | d_statblks='define' | ||
489 | d_statfs_f_flags='undef' | ||
490 | d_statfs_s='define' | ||
491 | d_statvfs='define' | ||
492 | d_stdio_cnt_lval='undef' | ||
493 | d_stdio_ptr_lval='define' | ||
494 | d_stdio_ptr_lval_nochange_cnt='undef' | ||
495 | d_stdio_ptr_lval_sets_cnt='define' | ||
496 | d_stdio_stream_array='undef' | ||
497 | d_stdiobase='define' | ||
498 | d_stdstdio='define' | ||
499 | d_strchr='define' | ||
500 | d_strcoll='define' | ||
501 | d_strctcpy='define' | ||
502 | d_strerrm='strerror(e)' | ||
503 | d_strerror='define' | ||
504 | d_strerror_r='define' | ||
505 | d_strftime='define' | ||
506 | d_strlcat='undef' | ||
507 | d_strlcpy='undef' | ||
508 | d_strtod='define' | ||
509 | d_strtol='define' | ||
510 | d_strtold='define' | ||
511 | d_strtoll='define' | ||
512 | d_strtoq='define' | ||
513 | d_strtoul='define' | ||
514 | d_strtoull='define' | ||
515 | d_strtouq='define' | ||
516 | d_strxfrm='define' | ||
517 | d_suidsafe='undef' | ||
518 | d_symlink='define' | ||
519 | d_syscall='define' | ||
520 | d_syscallproto='define' | ||
521 | d_sysconf='define' | ||
522 | d_sysernlst='' | ||
523 | d_syserrlst='define' | ||
524 | d_system='define' | ||
525 | d_tcgetpgrp='define' | ||
526 | d_tcsetpgrp='define' | ||
527 | d_telldir='define' | ||
528 | d_telldirproto='define' | ||
529 | d_time='define' | ||
530 | d_timegm='define' | ||
531 | d_times='define' | ||
532 | d_tm_tm_gmtoff='define' | ||
533 | d_tm_tm_zone='define' | ||
534 | d_tmpnam_r='define' | ||
535 | d_truncate='define' | ||
536 | d_ttyname_r='define' | ||
537 | d_tzname='define' | ||
538 | d_ualarm='define' | ||
539 | d_umask='define' | ||
540 | d_uname='define' | ||
541 | d_union_semun='undef' | ||
542 | d_unordered='undef' | ||
543 | d_unsetenv='define' | ||
544 | d_usleep='define' | ||
545 | d_usleepproto='define' | ||
546 | d_ustat='define' | ||
547 | d_vendorarch='define' | ||
548 | d_vendorbin='define' | ||
549 | d_vendorlib='define' | ||
550 | d_vendorscript='define' | ||
551 | d_vfork='undef' | ||
552 | d_void_closedir='undef' | ||
553 | d_voidsig='define' | ||
554 | d_voidtty='' | ||
555 | d_volatile='define' | ||
556 | d_vprintf='define' | ||
557 | d_vsnprintf='define' | ||
558 | d_wait4='define' | ||
559 | d_waitpid='define' | ||
560 | d_wcstombs='define' | ||
561 | d_wctomb='define' | ||
562 | d_writev='define' | ||
563 | d_xenix='undef' | ||
564 | date='date' | ||
565 | db_hashtype='u_int32_t' | ||
566 | db_prefixtype='size_t' | ||
567 | db_version_major='' | ||
568 | db_version_minor='' | ||
569 | db_version_patch='' | ||
570 | defvoidused='15' | ||
571 | direntrytype='struct dirent' | ||
572 | dlext='so' | ||
573 | dlsrc='dl_dlopen.xs' | ||
574 | doublesize='8' | ||
575 | drand01='drand48()' | ||
576 | drand48_r_proto='REENTRANT_PROTO_I_ST' | ||
577 | dtrace='' | ||
578 | dynamic_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' | ||
579 | eagain='EAGAIN' | ||
580 | ebcdic='undef' | ||
581 | echo='echo' | ||
582 | egrep='egrep' | ||
583 | emacs='' | ||
584 | endgrent_r_proto='0' | ||
585 | endhostent_r_proto='0' | ||
586 | endnetent_r_proto='0' | ||
587 | endprotoent_r_proto='0' | ||
588 | endpwent_r_proto='0' | ||
589 | endservent_r_proto='0' | ||
590 | eunicefix=':' | ||
591 | exe_ext='' | ||
592 | expr='expr' | ||
593 | extensions='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' | ||
594 | extern_C='extern' | ||
595 | extras='' | ||
596 | fflushNULL='define' | ||
597 | fflushall='undef' | ||
598 | find='' | ||
599 | firstmakefile='makefile' | ||
600 | flex='' | ||
601 | fpossize='16' | ||
602 | fpostype='fpos_t' | ||
603 | freetype='void' | ||
604 | from=':' | ||
605 | full_ar='/usr/bin/ar' | ||
606 | full_csh='csh' | ||
607 | full_sed='/bin/sed' | ||
608 | gccansipedantic='' | ||
609 | gccosandvers='' | ||
610 | gccversion='4.5.1' | ||
611 | getgrent_r_proto='REENTRANT_PROTO_I_SBWR' | ||
612 | getgrgid_r_proto='REENTRANT_PROTO_I_TSBWR' | ||
613 | getgrnam_r_proto='REENTRANT_PROTO_I_CSBWR' | ||
614 | gethostbyaddr_r_proto='REENTRANT_PROTO_I_TsISBWRE' | ||
615 | gethostbyname_r_proto='REENTRANT_PROTO_I_CSBWRE' | ||
616 | gethostent_r_proto='REENTRANT_PROTO_I_SBWRE' | ||
617 | getlogin_r_proto='REENTRANT_PROTO_I_BW' | ||
618 | getnetbyaddr_r_proto='REENTRANT_PROTO_I_uISBWRE' | ||
619 | getnetbyname_r_proto='REENTRANT_PROTO_I_CSBWRE' | ||
620 | getnetent_r_proto='REENTRANT_PROTO_I_SBWRE' | ||
621 | getprotobyname_r_proto='REENTRANT_PROTO_I_CSBWR' | ||
622 | getprotobynumber_r_proto='REENTRANT_PROTO_I_ISBWR' | ||
623 | getprotoent_r_proto='REENTRANT_PROTO_I_SBWR' | ||
624 | getpwent_r_proto='REENTRANT_PROTO_I_SBWR' | ||
625 | getpwnam_r_proto='REENTRANT_PROTO_I_CSBWR' | ||
626 | getpwuid_r_proto='REENTRANT_PROTO_I_TSBWR' | ||
627 | getservbyname_r_proto='REENTRANT_PROTO_I_CCSBWR' | ||
628 | getservbyport_r_proto='REENTRANT_PROTO_I_ICSBWR' | ||
629 | getservent_r_proto='REENTRANT_PROTO_I_SBWR' | ||
630 | getspnam_r_proto='REENTRANT_PROTO_I_CSBWR' | ||
631 | gidsign='1' | ||
632 | gidsize='4' | ||
633 | gidtype='gid_t' | ||
634 | glibpth='/usr/shlib /lib /usr/lib /usr/lib/386 /lib/386 /usr/ccs/lib /usr/ucblib /usr/local/lib ' | ||
635 | gmake='gmake' | ||
636 | gmtime_r_proto='REENTRANT_PROTO_S_TS' | ||
637 | gnulibc_version='2.12.1' | ||
638 | grep='grep' | ||
639 | groupcat='cat /etc/group' | ||
640 | groupstype='gid_t' | ||
641 | gzip='gzip' | ||
642 | h_fcntl='false' | ||
643 | h_sysfile='true' | ||
644 | hint='recommended' | ||
645 | hostcat='cat /etc/hosts' | ||
646 | html1dir=' ' | ||
647 | html1direxp='' | ||
648 | html3dir=' ' | ||
649 | html3direxp='' | ||
650 | i16size='2' | ||
651 | i16type='short' | ||
652 | i32size='4' | ||
653 | i64size='8' | ||
654 | i8size='1' | ||
655 | i8type='signed char' | ||
656 | i_arpainet='define' | ||
657 | i_assert='define' | ||
658 | i_bsdioctl='' | ||
659 | i_crypt='define' | ||
660 | i_db='undef' | ||
661 | i_dbm='undef' | ||
662 | i_dirent='define' | ||
663 | i_dld='undef' | ||
664 | i_dlfcn='define' | ||
665 | i_fcntl='undef' | ||
666 | i_float='define' | ||
667 | i_fp='undef' | ||
668 | i_fp_class='undef' | ||
669 | i_gdbm='undef' | ||
670 | i_gdbm_ndbm='undef' | ||
671 | i_gdbmndbm='undef' | ||
672 | i_grp='define' | ||
673 | i_ieeefp='undef' | ||
674 | i_inttypes='define' | ||
675 | i_langinfo='define' | ||
676 | i_libutil='undef' | ||
677 | i_limits='define' | ||
678 | i_locale='define' | ||
679 | i_machcthr='undef' | ||
680 | i_malloc='define' | ||
681 | i_mallocmalloc='undef' | ||
682 | i_math='define' | ||
683 | i_memory='undef' | ||
684 | i_mntent='define' | ||
685 | i_ndbm='undef' | ||
686 | i_netdb='define' | ||
687 | i_neterrno='undef' | ||
688 | i_netinettcp='define' | ||
689 | i_niin='define' | ||
690 | i_poll='define' | ||
691 | i_prot='undef' | ||
692 | i_pthread='define' | ||
693 | i_pwd='define' | ||
694 | i_rpcsvcdbm='undef' | ||
695 | i_sfio='undef' | ||
696 | i_sgtty='undef' | ||
697 | i_shadow='define' | ||
698 | i_socks='undef' | ||
699 | i_stdarg='define' | ||
700 | i_stddef='define' | ||
701 | i_stdlib='define' | ||
702 | i_string='define' | ||
703 | i_sunmath='undef' | ||
704 | i_sysaccess='undef' | ||
705 | i_sysdir='define' | ||
706 | i_sysfile='define' | ||
707 | i_sysfilio='undef' | ||
708 | i_sysin='undef' | ||
709 | i_sysioctl='define' | ||
710 | i_syslog='define' | ||
711 | i_sysmman='define' | ||
712 | i_sysmode='undef' | ||
713 | i_sysmount='define' | ||
714 | i_sysndir='undef' | ||
715 | i_sysparam='define' | ||
716 | i_syspoll='define' | ||
717 | i_sysresrc='define' | ||
718 | i_syssecrt='undef' | ||
719 | i_sysselct='define' | ||
720 | i_syssockio='undef' | ||
721 | i_sysstat='define' | ||
722 | i_sysstatfs='define' | ||
723 | i_sysstatvfs='define' | ||
724 | i_systime='define' | ||
725 | i_systimek='undef' | ||
726 | i_systimes='define' | ||
727 | i_systypes='define' | ||
728 | i_sysuio='define' | ||
729 | i_sysun='define' | ||
730 | i_sysutsname='define' | ||
731 | i_sysvfs='define' | ||
732 | i_syswait='define' | ||
733 | i_termio='undef' | ||
734 | i_termios='define' | ||
735 | i_time='define' | ||
736 | i_unistd='define' | ||
737 | i_ustat='define' | ||
738 | i_utime='define' | ||
739 | i_values='define' | ||
740 | i_varargs='undef' | ||
741 | i_varhdr='stdarg.h' | ||
742 | i_vfork='undef' | ||
743 | ignore_versioned_solibs='y' | ||
744 | inc_version_list=' ' | ||
745 | inc_version_list_init='0' | ||
746 | incpath='' | ||
747 | inews='' | ||
748 | initialinstalllocation='/usr/bin' | ||
749 | installarchlib='@DESTDIR@/lib/perl5/5.12.2/@ARCH@-thread-multi' | ||
750 | installbin='@DESTDIR@/bin' | ||
751 | installhtml1dir='' | ||
752 | installhtml3dir='' | ||
753 | installman1dir='' | ||
754 | installman3dir='' | ||
755 | installprefix='@DESTDIR@' | ||
756 | installprefixexp='@DESTDIR@' | ||
757 | installprivlib='@DESTDIR@/lib/perl5/5.12.2' | ||
758 | installscript='@DESTDIR@/bin' | ||
759 | installsitearch='@DESTDIR@/lib/perl5/site_perl/5.12.2/@ARCH@-thread-multi' | ||
760 | installsitebin='@DESTDIR@/bin' | ||
761 | installsitehtml1dir='' | ||
762 | installsitehtml3dir='' | ||
763 | installsitelib='@DESTDIR@/lib/perl5/site_perl/5.12.2' | ||
764 | installsiteman1dir='' | ||
765 | installsiteman3dir='' | ||
766 | installsitescript='@DESTDIR@/bin' | ||
767 | installstyle='lib/perl5' | ||
768 | installusrbinperl='define' | ||
769 | installvendorarch='@DESTDIR@/lib/perl5/vendor_perl/5.12.2/@ARCH@-thread-multi' | ||
770 | installvendorbin='@DESTDIR@/bin' | ||
771 | installvendorhtml1dir='' | ||
772 | installvendorhtml3dir='' | ||
773 | installvendorlib='@DESTDIR@/lib/perl5/vendor_perl/5.12.2' | ||
774 | installvendorman1dir='' | ||
775 | installvendorman3dir='' | ||
776 | installvendorscript='@DESTDIR@/bin' | ||
777 | intsize='4' | ||
778 | issymlink='test -h' | ||
779 | ivdformat='"ld"' | ||
780 | ivtype='long' | ||
781 | known_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 ' | ||
782 | ksh='' | ||
783 | ld='gcc' | ||
784 | lddlflags='-shared -O2 -fstack-protector' | ||
785 | ldflags=' -fstack-protector' | ||
786 | ldflags_uselargefiles='' | ||
787 | ldlibpthname='LD_LIBRARY_PATH' | ||
788 | less='less' | ||
789 | lib_ext='.a' | ||
790 | libc='/lib/libc-2.12.1.so' | ||
791 | libperl='libperl.so' | ||
792 | libpth='/lib /usr/lib' | ||
793 | libs='-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc' | ||
794 | libsdirs=' /usr/lib' | ||
795 | libsfiles=' libnsl.so libgdbm.so libdb.so libdl.so libm.so libcrypt.so libutil.so libpthread.so libc.so' | ||
796 | libsfound=' /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' | ||
797 | libspath=' /lib /usr/lib' | ||
798 | libswanted='sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util pthread c cposix posix ucb BSD gdbm_compat' | ||
799 | libswanted_uselargefiles='' | ||
800 | line='' | ||
801 | lint='' | ||
802 | lkflags='' | ||
803 | ln='ln' | ||
804 | lns='/bin/ln -s' | ||
805 | localtime_r_proto='REENTRANT_PROTO_S_TS' | ||
806 | locincpth='/usr/local/include /opt/local/include /usr/gnu/include /opt/gnu/include /usr/GNU/include /opt/GNU/include' | ||
807 | loclibpth='/usr/local/lib /opt/local/lib /usr/gnu/lib /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib' | ||
808 | longlongsize='8' | ||
809 | lp='' | ||
810 | lpr='' | ||
811 | ls='ls' | ||
812 | lseeksize='8' | ||
813 | lseektype='off_t' | ||
814 | mad='undef' | ||
815 | madlyh='' | ||
816 | madlyobj='' | ||
817 | madlysrc='' | ||
818 | mail='' | ||
819 | mailx='' | ||
820 | make='make' | ||
821 | make_set_make='#' | ||
822 | mallocobj='' | ||
823 | mallocsrc='' | ||
824 | malloctype='void *' | ||
825 | man1dir=' ' | ||
826 | man1direxp='' | ||
827 | man1ext='0' | ||
828 | man3dir=' ' | ||
829 | man3direxp='' | ||
830 | man3ext='0' | ||
831 | mips_type='' | ||
832 | mistrustnm='' | ||
833 | mkdir='mkdir' | ||
834 | mmaptype='void *' | ||
835 | modetype='mode_t' | ||
836 | more='more' | ||
837 | multiarch='undef' | ||
838 | mv='' | ||
839 | myarchname='@ARCH@' | ||
840 | mydomain='.localdomain' | ||
841 | myhostname='localhost' | ||
842 | n='-n' | ||
843 | netdb_hlen_type='size_t' | ||
844 | netdb_name_type='const char *' | ||
845 | netdb_net_type='in_addr_t' | ||
846 | nm='nm' | ||
847 | nm_opt='' | ||
848 | nm_so_opt='--dynamic' | ||
849 | nonxs_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' | ||
850 | nroff='nroff' | ||
851 | nvEUformat='"E"' | ||
852 | nvFUformat='"F"' | ||
853 | nvGUformat='"G"' | ||
854 | nv_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' | ||
855 | nveformat='"e"' | ||
856 | nvfformat='"f"' | ||
857 | nvgformat='"g"' | ||
858 | nvsize='8' | ||
859 | nvtype='double' | ||
860 | o_nonblock='O_NONBLOCK' | ||
861 | obj_ext='.o' | ||
862 | old_pthread_create_joinable='' | ||
863 | optimize='-O2' | ||
864 | orderlib='false' | ||
865 | osname='linux' | ||
866 | osvers='2.6.37-rc5-yocto-standard+' | ||
867 | otherlibdirs='/usr/lib/perl5/5.12.2' | ||
868 | package='perl5' | ||
869 | pager='/usr/bin/less -isr' | ||
870 | passcat='cat /etc/passwd' | ||
871 | patchlevel='12' | ||
872 | path_sep=':' | ||
873 | perl5='/usr/bin/perl' | ||
874 | perl='' | ||
875 | perl_patchlevel='' | ||
876 | perladmin='root@localhost' | ||
877 | perllibs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc' | ||
878 | perlpath='/usr/bin/perl' | ||
879 | pg='pg' | ||
880 | phostname='' | ||
881 | pidtype='pid_t' | ||
882 | plibpth='' | ||
883 | pmake='' | ||
884 | pr='' | ||
885 | prefix='/usr' | ||
886 | prefixexp='/usr' | ||
887 | privlib='/usr/lib/perl5/5.12.2' | ||
888 | privlibexp='/usr/lib/perl5/5.12.2' | ||
889 | procselfexe='"/proc/self/exe"' | ||
890 | prototype='define' | ||
891 | randbits='48' | ||
892 | randfunc='drand48' | ||
893 | random_r_proto='REENTRANT_PROTO_I_St' | ||
894 | randseedtype='long' | ||
895 | ranlib=':' | ||
896 | rd_nodata='-1' | ||
897 | readdir64_r_proto='REENTRANT_PROTO_I_TSR' | ||
898 | readdir_r_proto='REENTRANT_PROTO_I_TSR' | ||
899 | revision='5' | ||
900 | rm='rm' | ||
901 | rm_try='/bin/rm -f try try a.out .out try.[cho] try..o core core.try* try.core*' | ||
902 | rmail='' | ||
903 | run='' | ||
904 | runnm='false' | ||
905 | sPRIEUldbl='"LE"' | ||
906 | sPRIFUldbl='"LF"' | ||
907 | sPRIGUldbl='"LG"' | ||
908 | sPRIeldbl='"Le"' | ||
909 | sPRIfldbl='"Lf"' | ||
910 | sPRIgldbl='"Lg"' | ||
911 | sSCNfldbl='"Lf"' | ||
912 | sched_yield='sched_yield()' | ||
913 | scriptdir='/usr/bin' | ||
914 | scriptdirexp='/usr/bin' | ||
915 | sed='sed' | ||
916 | seedfunc='srand48' | ||
917 | selecttype='fd_set *' | ||
918 | sendmail='' | ||
919 | setgrent_r_proto='0' | ||
920 | sethostent_r_proto='0' | ||
921 | setlocale_r_proto='0' | ||
922 | setnetent_r_proto='0' | ||
923 | setprotoent_r_proto='0' | ||
924 | setpwent_r_proto='0' | ||
925 | setservent_r_proto='0' | ||
926 | sh='/bin/sh' | ||
927 | shar='' | ||
928 | sharpbang='#!' | ||
929 | shmattype='void *' | ||
930 | shortsize='2' | ||
931 | shrpenv='' | ||
932 | shsharp='true' | ||
933 | sig_count='65' | ||
934 | sig_name='ZERO HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT STOP TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS NUM32 NUM33 RTMIN NUM35 NUM36 NUM37 NUM38 NUM39 NUM40 NUM41 NUM42 NUM43 NUM44 NUM45 NUM46 NUM47 NUM48 NUM49 NUM50 NUM51 NUM52 NUM53 NUM54 NUM55 NUM56 NUM57 NUM58 NUM59 NUM60 NUM61 NUM62 NUM63 RTMAX IOT CLD POLL UNUSED ' | ||
935 | sig_name_init='"ZERO", "HUP", "INT", "QUIT", "ILL", "TRAP", "ABRT", "BUS", "FPE", "KILL", "USR1", "SEGV", "USR2", "PIPE", "ALRM", "TERM", "STKFLT", "CHLD", "CONT", "STOP", "TSTP", "TTIN", "TTOU", "URG", "XCPU", "XFSZ", "VTALRM", "PROF", "WINCH", "IO", "PWR", "SYS", "NUM32", "NUM33", "RTMIN", "NUM35", "NUM36", "NUM37", "NUM38", "NUM39", "NUM40", "NUM41", "NUM42", "NUM43", "NUM44", "NUM45", "NUM46", "NUM47", "NUM48", "NUM49", "NUM50", "NUM51", "NUM52", "NUM53", "NUM54", "NUM55", "NUM56", "NUM57", "NUM58", "NUM59", "NUM60", "NUM61", "NUM62", "NUM63", "RTMAX", "IOT", "CLD", "POLL", "UNUSED", 0' | ||
936 | sig_num='0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 6 17 29 31 ' | ||
937 | sig_num_init='0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 6, 17, 29, 31, 0' | ||
938 | sig_size='69' | ||
939 | signal_t='void' | ||
940 | sitearch='/usr/lib/perl5/site_perl/5.12.2/@ARCH@-thread-multi' | ||
941 | sitearchexp='/usr/lib/perl5/site_perl/5.12.2/@ARCH@-thread-multi' | ||
942 | sitebin='/usr/bin' | ||
943 | sitebinexp='/usr/bin' | ||
944 | sitehtml1dir='' | ||
945 | sitehtml1direxp='' | ||
946 | sitehtml3dir='' | ||
947 | sitehtml3direxp='' | ||
948 | sitelib='/usr/lib/perl5/site_perl/5.12.2' | ||
949 | sitelib_stem='/usr/lib/perl5/site_perl' | ||
950 | sitelibexp='/usr/lib/perl5/site_perl/5.12.2' | ||
951 | siteman1dir='' | ||
952 | siteman1direxp='' | ||
953 | siteman3dir='' | ||
954 | siteman3direxp='' | ||
955 | siteprefix='/usr' | ||
956 | siteprefixexp='/usr' | ||
957 | sitescript='/usr/bin' | ||
958 | sitescriptexp='/usr/bin' | ||
959 | sizetype='size_t' | ||
960 | sleep='' | ||
961 | smail='' | ||
962 | so='so' | ||
963 | sockethdr='' | ||
964 | socketlib='' | ||
965 | socksizetype='socklen_t' | ||
966 | sort='sort' | ||
967 | spackage='Perl5' | ||
968 | spitshell='cat' | ||
969 | srand48_r_proto='REENTRANT_PROTO_I_LS' | ||
970 | srandom_r_proto='REENTRANT_PROTO_I_TS' | ||
971 | src='.' | ||
972 | ssizetype='ssize_t' | ||
973 | startperl='#!/usr/bin/perl' | ||
974 | startsh='#!/bin/sh' | ||
975 | static_ext=' ' | ||
976 | stdchar='char' | ||
977 | stdio_base='((fp)->_IO_read_base)' | ||
978 | stdio_bufsiz='((fp)->_IO_read_end - (fp)->_IO_read_base)' | ||
979 | stdio_cnt='((fp)->_IO_read_end - (fp)->_IO_read_ptr)' | ||
980 | stdio_filbuf='' | ||
981 | stdio_ptr='((fp)->_IO_read_ptr)' | ||
982 | stdio_stream_array='' | ||
983 | strerror_r_proto='REENTRANT_PROTO_B_IBW' | ||
984 | strings='/usr/include/string.h' | ||
985 | submit='' | ||
986 | subversion='2' | ||
987 | sysman='/usr/share/man/man1' | ||
988 | tail='' | ||
989 | tar='' | ||
990 | targetarch='' | ||
991 | tbl='' | ||
992 | tee='' | ||
993 | test='test' | ||
994 | timeincl='/usr/include/sys/time.h /usr/include/time.h ' | ||
995 | timetype='time_t' | ||
996 | tmpnam_r_proto='REENTRANT_PROTO_B_B' | ||
997 | to=':' | ||
998 | touch='touch' | ||
999 | tr='tr' | ||
1000 | trnl='\n' | ||
1001 | troff='' | ||
1002 | ttyname_r_proto='REENTRANT_PROTO_I_IBW' | ||
1003 | u16size='2' | ||
1004 | u16type='unsigned short' | ||
1005 | u32size='4' | ||
1006 | u64size='8' | ||
1007 | u8size='1' | ||
1008 | u8type='unsigned char' | ||
1009 | uidsign='1' | ||
1010 | uidsize='4' | ||
1011 | uidtype='uid_t' | ||
1012 | uname='uname' | ||
1013 | uniq='uniq' | ||
1014 | use5005threads='undef' | ||
1015 | usecrosscompile='undef' | ||
1016 | usedevel='undef' | ||
1017 | usedl='define' | ||
1018 | usedtrace='undef' | ||
1019 | usefaststdio='undef' | ||
1020 | useithreads='define' | ||
1021 | uselargefiles='define' | ||
1022 | uselongdouble='undef' | ||
1023 | usemallocwrap='define' | ||
1024 | usemorebits='undef' | ||
1025 | usemultiplicity='define' | ||
1026 | usemymalloc='n' | ||
1027 | usenm='false' | ||
1028 | useopcode='true' | ||
1029 | useperlio='define' | ||
1030 | useposix='true' | ||
1031 | usereentrant='undef' | ||
1032 | userelocatableinc='undef' | ||
1033 | usesfio='false' | ||
1034 | useshrplib='true' | ||
1035 | usesitecustomize='undef' | ||
1036 | usesocks='undef' | ||
1037 | usethreads='define' | ||
1038 | usevendorprefix='define' | ||
1039 | usevfork='false' | ||
1040 | usrinc='/usr/include' | ||
1041 | uuname='' | ||
1042 | uvXUformat='"lX"' | ||
1043 | uvoformat='"lo"' | ||
1044 | uvtype='unsigned long' | ||
1045 | uvuformat='"lu"' | ||
1046 | uvxformat='"lx"' | ||
1047 | vaproto='define' | ||
1048 | vendorarch='/usr/lib/perl5/vendor_perl/5.12.2/@ARCH@-thread-multi' | ||
1049 | vendorarchexp='/usr/lib/perl5/vendor_perl/5.12.2/@ARCH@-thread-multi' | ||
1050 | vendorbin='/usr/bin' | ||
1051 | vendorbinexp='/usr/bin' | ||
1052 | vendorhtml1dir=' ' | ||
1053 | vendorhtml1direxp='' | ||
1054 | vendorhtml3dir=' ' | ||
1055 | vendorhtml3direxp='' | ||
1056 | vendorlib='/usr/lib/perl5/vendor_perl/5.12.2' | ||
1057 | vendorlib_stem='/usr/lib/perl5/vendor_perl' | ||
1058 | vendorlibexp='/usr/lib/perl5/vendor_perl/5.12.2' | ||
1059 | vendorman1dir=' ' | ||
1060 | vendorman1direxp='' | ||
1061 | vendorman3dir=' ' | ||
1062 | vendorman3direxp='' | ||
1063 | vendorprefix='/usr' | ||
1064 | vendorprefixexp='/usr' | ||
1065 | vendorscript='/usr/bin' | ||
1066 | vendorscriptexp='/usr/bin' | ||
1067 | version='5.12.2' | ||
1068 | version_patchlevel_string='version 12 subversion 2' | ||
1069 | versiononly='undef' | ||
1070 | vi='' | ||
1071 | voidflags='15' | ||
1072 | xlibpth='/usr/lib/386 /lib/386' | ||
1073 | yacc='yacc' | ||
1074 | yaccflags='' | ||
1075 | zcat='' | ||
1076 | zip='zip' | ||
1077 | PERL_REVISION=5 | ||
1078 | PERL_VERSION=12 | ||
1079 | PERL_SUBVERSION=2 | ||
1080 | PERL_API_REVISION=5 | ||
1081 | PERL_API_VERSION=12 | ||
1082 | PERL_API_SUBVERSION=0 | ||
1083 | PERL_PATCHLEVEL='' | ||
1084 | PERL_CONFIG_SH=true | ||
1085 | : Variables propagated from previous config.sh file. | ||
1086 | libdb_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 @@ | |||
1 | alignbytes='4' | ||
2 | cf_time='Thu Dec 23 03:57:51 UTC 2010' | ||
3 | cppsymbols='_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' | ||
4 | d_nv_preserves_uv='define' | ||
5 | d_printf_format_null='define' | ||
6 | d_u32align='undef' | ||
7 | gidformat='"lu"' | ||
8 | i32type='long' | ||
9 | i64type='long long' | ||
10 | ivsize='4' | ||
11 | longdblsize='12' | ||
12 | longsize='4' | ||
13 | myuname='linux qemux86 2.6.37-rc5-yocto-standard+ #1 preempt mon dec 20 14:21:27 pst 2010 i686 gnulinux ' | ||
14 | need_va_copy='undef' | ||
15 | netdb_host_type='const void *' | ||
16 | nv_preserves_uv_bits='32' | ||
17 | ptrsize='4' | ||
18 | quadkind='3' | ||
19 | quadtype='long long' | ||
20 | sGMTIME_max='2147483647' | ||
21 | sGMTIME_min='-2147483648' | ||
22 | sLOCALTIME_max='2147483647' | ||
23 | sLOCALTIME_min='-2147483648' | ||
24 | sPRIXU64='"LX"' | ||
25 | sPRId64='"Ld"' | ||
26 | sPRIi64='"Li"' | ||
27 | sPRIo64='"Lo"' | ||
28 | sPRIu64='"Lu"' | ||
29 | sPRIx64='"Lx"' | ||
30 | selectminbits='32' | ||
31 | sizesize='4' | ||
32 | u32type='unsigned long' | ||
33 | u64type='unsigned long long' | ||
34 | uidformat='"lu"' | ||
35 | uquadtype='unsigned long long' | ||
36 | use64bitall='undef' | ||
37 | use64bitint='undef' | ||
38 | uvsize='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 @@ | |||
1 | alignbytes='8' | ||
2 | cf_time='Thu Dec 23 02:06:42 UTC 2010' | ||
3 | cppsymbols='_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' | ||
4 | d_nv_preserves_uv='undef' | ||
5 | d_printf_format_null='undef' | ||
6 | d_u32align='define' | ||
7 | gidformat='"u"' | ||
8 | i32type='int' | ||
9 | i64type='long' | ||
10 | ivsize='8' | ||
11 | longdblsize='16' | ||
12 | longsize='8' | ||
13 | myuname='linux qemux86-64 2.6.37-rc5-yocto-standard+ #1 smp preempt mon dec 20 17:19:50 pst 2010 x86_64 gnulinux ' | ||
14 | need_va_copy='define' | ||
15 | netdb_host_type='char *' | ||
16 | nv_preserves_uv_bits='53' | ||
17 | ptrsize='8' | ||
18 | quadkind='2' | ||
19 | quadtype='long' | ||
20 | sGMTIME_max='67768036191676799' | ||
21 | sGMTIME_min='-62167219200' | ||
22 | sLOCALTIME_max='67768036191676799' | ||
23 | sLOCALTIME_min='-62167219200' | ||
24 | sPRIXU64='"lX"' | ||
25 | sPRId64='"ld"' | ||
26 | sPRIi64='"li"' | ||
27 | sPRIo64='"lo"' | ||
28 | sPRIu64='"lu"' | ||
29 | sPRIx64='"lx"' | ||
30 | selectminbits='64' | ||
31 | sizesize='8' | ||
32 | u32type='unsigned int' | ||
33 | u64type='unsigned long' | ||
34 | uidformat='"u"' | ||
35 | uquadtype='unsigned long' | ||
36 | use64bitall='define' | ||
37 | use64bitint='define' | ||
38 | uvsize='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 @@ | |||
1 | Index: 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 @@ | |||
1 | From: Niko Tyni <ntyni@debian.org> | ||
2 | Description: Downgrade the optimization of sv.c on arm due to a gcc-4.4 bug | ||
3 | Bug-Debian: http://bugs.debian.org/580334 | ||
4 | |||
5 | Regression 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 | |||
14 | diff --git a/cflags.SH b/cflags.SH | ||
15 | index 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 | -- | ||
32 | tg: (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 @@ | |||
1 | Subject: Raise the timeout of ext/threads/shared/t/stress.t to accommodate slower build hosts | ||
2 | Bug-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 | |||
9 | diff --git a/dist/threads-shared/t/stress.t b/dist/threads-shared/t/stress.t | ||
10 | index 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 | -- | ||
23 | tg: (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 @@ | |||
1 | Subject: 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 | |||
8 | diff --git a/cpan/CPAN/lib/CPAN/HandleConfig.pm b/cpan/CPAN/lib/CPAN/HandleConfig.pm | ||
9 | index 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 | -- | ||
22 | tg: (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 @@ | |||
1 | Subject: Provide a sensible INSTALLDIRS default for modules installed from CPAN. | ||
2 | |||
3 | Some modules which are included in core set INSTALLDIRS => 'perl' | ||
4 | explicitly in Makefile.PL or Build.PL. This makes sense for the normal @INC | ||
5 | ordering, but not ours. | ||
6 | |||
7 | |||
8 | --- | ||
9 | cpan/CPAN/lib/CPAN/FirstTime.pm | 4 ++-- | ||
10 | 1 files changed, 2 insertions(+), 2 deletions(-) | ||
11 | |||
12 | diff --git a/cpan/CPAN/lib/CPAN/FirstTime.pm b/cpan/CPAN/lib/CPAN/FirstTime.pm | ||
13 | index 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 | -- | ||
35 | tg: (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 @@ | |||
1 | From: Niko Tyni <ntyni@debian.org> | ||
2 | Subject: Save local versions of CPANPLUS::Config::System into /etc/perl. | ||
3 | |||
4 | This is a configuration file and needs to go in /etc by policy. | ||
5 | Besides, /usr may not even be writable. | ||
6 | |||
7 | This mirrors the Debian setup of CPAN.pm in debian/cpan_config_path. | ||
8 | |||
9 | See #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 | |||
16 | diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Configure.pm b/cpan/CPANPLUS/lib/CPANPLUS/Configure.pm | ||
17 | index 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. | ||
28 | diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Internals/Constants.pm b/cpan/CPANPLUS/lib/CPANPLUS/Internals/Constants.pm | ||
29 | index 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 | -- | ||
43 | tg: (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 @@ | |||
1 | From: Niko Tyni <ntyni@debian.org> | ||
2 | Subject: Configure CPANPLUS to use the site directories by default. | ||
3 | Closes: 533707 | ||
4 | |||
5 | The core modules usually default to INSTALLDIRS=perl (ExtUtils::MakeMaker) | ||
6 | or installdirs=core (Module::Build), so we need to explicitly ask for | ||
7 | the site destination to get upgraded versions into /usr/local. | ||
8 | |||
9 | See 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 | |||
15 | diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Config/System.pm b/cpan/CPANPLUS/lib/CPANPLUS/Config/System.pm | ||
16 | new file mode 100644 | ||
17 | index 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 | -- | ||
52 | tg: (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 @@ | |||
1 | Subject: Remove overly restrictive DB_File version check. | ||
2 | Bug-Debian: http://bugs.debian.org/340047 | ||
3 | |||
4 | Package 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 | |||
11 | diff --git a/cpan/DB_File/version.c b/cpan/DB_File/version.c | ||
12 | index 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 | -- | ||
32 | tg: (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 @@ | |||
1 | From: Niko Tyni <ntyni@debian.org> | ||
2 | Subject: Point users to Debian packages of deprecated core modules | ||
3 | Bug-Debian: http://bugs.debian.org/580034 | ||
4 | |||
5 | Class::ISA, Switch, Pod::Plainer, and (partially) Shell were | ||
6 | deprecated from the Perl core in 5.12.0. | ||
7 | |||
8 | To get a clean transition, perl-modules is going to recommend the separate | ||
9 | Debian packages of these for one release cycle so that they will be | ||
10 | pulled in by default on upgrades. | ||
11 | |||
12 | However, on systems configured to ignore recommendations the deprecation | ||
13 | warnings will still be useful, so modify them slightly to point to the | ||
14 | separate packages instead. | ||
15 | |||
16 | --- | ||
17 | lib/deprecate.pm | 18 +++++++++++++++++- | ||
18 | 1 files changed, 17 insertions(+), 1 deletions(-) | ||
19 | |||
20 | diff --git a/lib/deprecate.pm b/lib/deprecate.pm | ||
21 | index 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 | -- | ||
59 | tg: (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 @@ | |||
1 | From: Niko Tyni <ntyni@debian.org> | ||
2 | Subject: Work around an ICE on ia64 | ||
3 | Closes: 548943 | ||
4 | |||
5 | Temporarily work around an internal compiler error in Devel::PPPort | ||
6 | on ia64+gcc-4.3. | ||
7 | |||
8 | |||
9 | --- | ||
10 | cpan/Devel-PPPort/Makefile.PL | 7 +++++++ | ||
11 | 1 files changed, 7 insertions(+), 0 deletions(-) | ||
12 | |||
13 | diff --git a/cpan/Devel-PPPort/Makefile.PL b/cpan/Devel-PPPort/Makefile.PL | ||
14 | index 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 | -- | ||
32 | tg: (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 @@ | |||
1 | From: Niko Tyni <ntyni@debian.org> | ||
2 | Subject: Disable zlib bundling in Compress::Raw::Zlib | ||
3 | |||
4 | Compress::Raw::Zlib statically links its bundled version of zlib | ||
5 | by 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 | |||
11 | diff --git a/cpan/Compress-Raw-Zlib/config.in b/cpan/Compress-Raw-Zlib/config.in | ||
12 | index 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 | -- | ||
29 | tg: (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 @@ | |||
1 | Subject: Replace generic man(1) instructions with Debian-specific information. | ||
2 | |||
3 | Indicate 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 | |||
10 | diff --git a/pod/perl.pod b/pod/perl.pod | ||
11 | index 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 | -- | ||
34 | tg: (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 @@ | |||
1 | Subject: Tweak enc2xs to follow symlinks and ignore missing @INC directories. | ||
2 | Bug-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 | |||
12 | diff --git a/cpan/Encode/bin/enc2xs b/cpan/Encode/bin/enc2xs | ||
13 | index 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 | -- | ||
49 | tg: (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 @@ | |||
1 | Subject: Remove Errno version check due to upgrade problems with long-running processes. | ||
2 | Bug-Debian: http://bugs.debian.org/343351 | ||
3 | |||
4 | Remove version check which can cause problems for long running | ||
5 | processes embedding perl when upgrading to a newer version, | ||
6 | compatible, 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 | |||
13 | diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL | ||
14 | index 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 | -- | ||
32 | tg: (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 @@ | |||
1 | Subject: 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 | |||
26 | diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm | ||
27 | index 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}; | ||
63 | diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | ||
64 | index 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; | ||
174 | diff --git a/cpan/ExtUtils-MakeMaker/t/INST.t b/cpan/ExtUtils-MakeMaker/t/INST.t | ||
175 | index 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 | |||
189 | diff --git a/cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t b/cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t | ||
190 | index 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'); | ||
223 | diff --git a/dist/ExtUtils-Install/lib/ExtUtils/Install.pm b/dist/ExtUtils-Install/lib/ExtUtils/Install.pm | ||
224 | index 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); | ||
298 | diff --git a/lib/ExtUtils/Embed.pm b/lib/ExtUtils/Embed.pm | ||
299 | index 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 | -- | ||
313 | tg: (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 @@ | |||
1 | Subject: Postpone LD_LIBRARY_PATH evaluation to the binary targets. | ||
2 | |||
3 | Modify the setting of LD_LIBRARY_PATH to append pre-existing values at the | ||
4 | time the rule is evaluated rather than when the Makefile is created. | ||
5 | |||
6 | This is required when building packages with dpkg-buildpackage and fakeroot, | ||
7 | since fakeroot (which now sets LD_LIBRARY_PATH) is not used for the "build" | ||
8 | rule 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 | |||
15 | diff --git a/Makefile.SH b/Makefile.SH | ||
16 | index 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 | -- | ||
43 | tg: (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 @@ | |||
1 | From: Niko Tyni <ntyni@debian.org> | ||
2 | Subject: Allow for flock returning EAGAIN instead of EWOULDBLOCK on linux/parisc | ||
3 | Bug-Debian: http://bugs.debian.org/543731 | ||
4 | Origin: 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 | |||
12 | diff --git a/cpan/autodie/lib/Fatal.pm b/cpan/autodie/lib/Fatal.pm | ||
13 | old mode 100644 | ||
14 | new mode 100755 | ||
15 | index 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 | |||
60 | diff --git a/cpan/autodie/t/flock.t b/cpan/autodie/t/flock.t | ||
61 | index 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 | -- | ||
98 | tg: (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 @@ | |||
1 | From: Niko Tyni <ntyni@debian.org> | ||
2 | Subject: Fix stack pointer corruption in pp_concat() with 'use encoding' | ||
3 | Bug-Debian: http://bugs.debian.org/596105 | ||
4 | Bug: http://rt.perl.org/rt3/Ticket/Display.html?id=78674 | ||
5 | Origin: upstream, http://perl5.git.perl.org/perl.git/commit/e3393f51d48d8b790e26324eb0336fac9689fa46 | ||
6 | |||
7 | If the stack is reallocated during pp_concat() and 'use encoding' in | ||
8 | effect, the stack pointer gets corrupted, causing memory allocation bugs | ||
9 | and the like. | ||
10 | |||
11 | --- | ||
12 | pp_hot.c | 3 +++ | ||
13 | 1 files changed, 3 insertions(+), 0 deletions(-) | ||
14 | |||
15 | diff --git a/pp_hot.c b/pp_hot.c | ||
16 | index 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 | -- | ||
37 | tg: (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 @@ | |||
1 | From: Niko Tyni <ntyni@debian.org> | ||
2 | Subject: Fix CPANPLUS test failures when HOME doesn't exist | ||
3 | Bug: http://rt.cpan.org/Public/Bug/Display.html?id=52988 | ||
4 | Bug-Debian: http://bugs.debian.org/577011 | ||
5 | Origin: upstream | ||
6 | |||
7 | The Debian autobuilders are configured with a non-existing $ENV{HOME}, | ||
8 | triggering a bug in CPANPLUS that causes test failures. | ||
9 | |||
10 | Fix from CPANPLUS-0.9001. | ||
11 | |||
12 | --- | ||
13 | cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm | 2 +- | ||
14 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
15 | |||
16 | diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm b/cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm | ||
17 | index 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 | -- | ||
30 | tg: (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 @@ | |||
1 | Author: Robin Barker <rmbarker@cpan.org> | ||
2 | Subject: h2ph fix for gcc 4.5 | ||
3 | Bug-Debian: http://bugs.debian.org/599933 | ||
4 | Origin: upstream, http://perl5.git.perl.org/perl.git/commit/8d66b3f930dc6d88b524d103e304308ae73a46e7 | ||
5 | |||
6 | Fix 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 | |||
14 | diff --git a/lib/h2ph.t b/lib/h2ph.t | ||
15 | index 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 | ||
45 | diff --git a/utils/h2ph.PL b/utils/h2ph.PL | ||
46 | index 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 | -- | ||
106 | tg: (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 @@ | |||
1 | Author: Samuel Thibault <sthibault@debian.org> | ||
2 | Subject: Make hints/gnu.sh append to $ccflags rather than overriding them | ||
3 | Bug-Debian: http://bugs.debian.org/587901 | ||
4 | |||
5 | Don't override possible extra $ccflags values given to Configure | ||
6 | on GNU/Hurd. | ||
7 | |||
8 | --- | ||
9 | hints/gnu.sh | 2 +- | ||
10 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
11 | |||
12 | diff --git a/hints/gnu.sh b/hints/gnu.sh | ||
13 | index 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 | -- | ||
26 | tg: (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 @@ | |||
1 | From: Niko Tyni <ntyni@debian.org> | ||
2 | Subject: LC_NUMERIC documentation fixes | ||
3 | Bug-Debian: http://bugs.debian.org/379329 | ||
4 | Bug: http://rt.perl.org/rt3/Ticket/Display.html?id=78452 | ||
5 | Origin: upstream, http://perl5.git.perl.org/perl.git/commit/903eb63f7d8d47a38971a8e9af7201b9927882cf | ||
6 | |||
7 | LC_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 | |||
16 | Test 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 | |||
23 | diff --git a/pod/perlform.pod b/pod/perlform.pod | ||
24 | index 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 | ||
61 | diff --git a/pod/perllocale.pod b/pod/perllocale.pod | ||
62 | index 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 | -- | ||
95 | tg: (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 @@ | |||
1 | From: Niko Tyni <ntyni@debian.org> | ||
2 | Subject: Fix sprintf not to ignore LC_NUMERIC with constants | ||
3 | Bug-Debian: http://bugs.debian.org/601549 | ||
4 | Bug: http://rt.perl.org/rt3/Ticket/Display.html?id=78632 | ||
5 | Origin: upstream, http://perl5.git.perl.org/perl.git/commit/b3fd61496ebc585b1115807e3195f17714662a09 | ||
6 | |||
7 | Don't fold constants in sprintf() if locales are used | ||
8 | |||
9 | An upstream regression in 5.10.1 made sprintf() ignore LC_NUMERIC for | ||
10 | numeric constants. | ||
11 | |||
12 | --- | ||
13 | op.c | 1 + | ||
14 | 1 files changed, 1 insertions(+), 0 deletions(-) | ||
15 | |||
16 | diff --git a/op.c b/op.c | ||
17 | index 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 | -- | ||
29 | tg: (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 @@ | |||
1 | Subject: Document the Net::SMTP 'Port' option | ||
2 | Bug-Debian: http://bugs.debian.org/100195 | ||
3 | Bug: 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 | |||
10 | diff --git a/cpan/libnet/Net/SMTP.pm b/cpan/libnet/Net/SMTP.pm | ||
11 | index 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 | -- | ||
23 | tg: (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 @@ | |||
1 | Subject: Always use PERLRUNINST when building perl modules. | ||
2 | Bug-Debian: http://bugs.debian.org/357264 | ||
3 | Bug: http://rt.cpan.org/Public/Bug/Display.html?id=17224 | ||
4 | |||
5 | Revert part of upstream change 24524 to always use PERLRUNINST when | ||
6 | building perl modules: Some PDL demos expect blib to be implicitly | ||
7 | searched. | ||
8 | |||
9 | |||
10 | --- | ||
11 | cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 5 +---- | ||
12 | 1 files changed, 1 insertions(+), 4 deletions(-) | ||
13 | |||
14 | diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | ||
15 | index 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 | -- | ||
43 | tg: (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 @@ | |||
1 | Subject: 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 | |||
8 | diff --git a/cpan/ExtUtils-MakeMaker/bin/instmodsh b/cpan/ExtUtils-MakeMaker/bin/instmodsh | ||
9 | index 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 | -- | ||
26 | tg: (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 @@ | |||
1 | Subject: 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 | |||
8 | diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm | ||
9 | index 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 | -- | ||
23 | tg: (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 @@ | |||
1 | Subject: 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 | |||
8 | diff --git a/cpan/libnet/Net/Config.pm b/cpan/libnet/Net/Config.pm | ||
9 | index 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 | -- | ||
35 | tg: (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 @@ | |||
1 | Subject: Disable some threads tests on m68k for now due to missing TLS. | ||
2 | Closes: #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 | |||
10 | diff --git a/dist/threads-shared/t/stress.t b/dist/threads-shared/t/stress.t | ||
11 | index 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; | ||
25 | diff --git a/dist/threads-shared/t/waithires.t b/dist/threads-shared/t/waithires.t | ||
26 | index 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 | -- | ||
43 | tg: (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 @@ | |||
1 | Subject: Tweak @INC ordering for Debian | ||
2 | |||
3 | Our 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 | |||
12 | The rationale being that an admin (via site), or module packager | ||
13 | (vendor) can chose to shadow core modules when there is a newer | ||
14 | version than is included in core. | ||
15 | |||
16 | |||
17 | --- | ||
18 | perl.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | ||
19 | 1 files changed, 58 insertions(+), 0 deletions(-) | ||
20 | |||
21 | diff --git a/perl.c b/perl.c | ||
22 | index 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 | -- | ||
98 | tg: (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 @@ | |||
1 | Subject: Adjust Module::Build manual page extensions for the Debian Perl policy | ||
2 | Bug-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 | |||
8 | diff --git a/cpan/Module-Build/lib/Module/Build/Base.pm b/cpan/Module-Build/lib/Module/Build/Base.pm | ||
9 | index 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 | -- | ||
31 | tg: (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 @@ | |||
1 | From: Niko Tyni <ntyni@debian.org> | ||
2 | Subject: Make perlivp skip include directories in /usr/local | ||
3 | Closes: 510895 | ||
4 | |||
5 | On 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 | |||
19 | Signed-off-by: Niko Tyni <ntyni@debian.org> | ||
20 | |||
21 | --- | ||
22 | utils/perlivp.PL | 1 + | ||
23 | 1 files changed, 1 insertions(+), 0 deletions(-) | ||
24 | |||
25 | diff --git a/utils/perlivp.PL b/utils/perlivp.PL | ||
26 | index 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 | -- | ||
38 | tg: (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 @@ | |||
1 | Subject: Prune the list of libraries wanted to what we actually need. | ||
2 | Bug-Debian: http://bugs.debian.org/128355 | ||
3 | |||
4 | We want to keep the dependencies on perl-base as small as possible, | ||
5 | and 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 | |||
12 | diff --git a/Configure b/Configure | ||
13 | index 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 | -- | ||
36 | tg: (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 @@ | |||
1 | From: Niko Tyni <ntyni@debian.org> | ||
2 | Subject: Squelch locale warnings in Debian package maintainer scripts | ||
3 | Bug-Debian: http://bugs.debian.org/508764 | ||
4 | |||
5 | The system locales are rather frequently out of sync with the C library | ||
6 | during package upgrades, causing a huge amount of useless Perl locale | ||
7 | warnings. Squelch them when running package maintainer scripts, detected | ||
8 | by the DPKG_RUNNING_VERSION environment variable. | ||
9 | |||
10 | Any real locale problem will show up after the system upgrade too, and | ||
11 | the 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 | |||
18 | diff --git a/locale.c b/locale.c | ||
19 | index 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) { | ||
33 | diff --git a/pod/perllocale.pod b/pod/perllocale.pod | ||
34 | index 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 | -- | ||
53 | tg: (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 @@ | |||
1 | Use the ld flags from the supplied configuration file. For sh we need the | ||
2 | flags that specify to build PIC code so that the shared libraries work. | ||
3 | |||
4 | Index: 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 @@ | |||
1 | Index: 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 @@ | |||
1 | Part of 52_debian_extutils_hacks.patch just to exclude the installation of .packlist files | ||
2 | |||
3 | Index: 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 @@ | |||
1 | Index: 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 @@ | |||
1 | Fix for compiling with ssp enabled gcc: | ||
2 | See http://bugs.openembedded.net/show_bug.cgi?id=1980 | ||
3 | |||
4 | diff -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 @@ | |||
1 | This patch is used for perl-native only. It enables the switching of | ||
2 | configuration files between Config_heavy.pl and | ||
3 | Config_heavy-target.pl by setting the environment variables | ||
4 | PERLCONFIGTARGET - the later containing settings for the target while | ||
5 | the former contains those for the host. This will allow cpan.bbclass | ||
6 | to use the settings appropriate for the native and/or target builds | ||
7 | as required. This also disables the use of the cache since the cached | ||
8 | values would be valid for the host only. | ||
9 | |||
10 | --- perl-5.8.8/configpm 2007/04/30 03:10:43 1.1 | ||
11 | +++ perl-5.8.8/configpm 2007/04/30 03:11:56 | ||
12 | @@ -374,7 +374,7 @@ | ||
13 | my($self, $key) = @_; | ||
14 | |||
15 | # check for cached value (which may be undef so we use exists not defined) | ||
16 | - return $self->{$key} if exists $self->{$key}; | ||
17 | + #return $self->{$key} if exists $self->{$key}; | ||
18 | |||
19 | return $self->fetch_string($key); | ||
20 | } | ||
21 | @@ -530,7 +530,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 | |||
8 | echo sh Configure -des \ | ||
9 | -Doptimize=-O2 \ | ||
10 | -Dmyhostname=localhost \ | ||
11 | -Dperladmin=root@localhost \ | ||
12 | -Dcc=gcc \ | ||
13 | -Dcf_by='Open Embedded' \ | ||
14 | -Dinstallprefix=@DESTDIR@ \ | ||
15 | -Dprefix=/usr \ | ||
16 | -Dvendorprefix=/usr \ | ||
17 | -Dsiteprefix=/usr \ | ||
18 | -Dotherlibdirs=/usr/lib/perl5/5.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 | |||
37 | cp -f config.sh config.sh.COMMON | ||
38 | |||
39 | TARGETOS=$(grep myarchname config.sh.COMMON | sed "s#.*'\(.*\)'.*#\1#") | ||
40 | |||
41 | sed -r -i config.sh.COMMON \ | ||
42 | -e "s#(install.*=')(/usr)/local(.*')#\1@DESTDIR@\2\3#g" \ | ||
43 | -e 's#'$TARGETOS'#@ARCH@#g' | ||
diff --git a/meta/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 @@ | |||
1 | Allow the location that .so files are searched for for dynamic | ||
2 | loading to be changed via an environment variable. This is to allow | ||
3 | us to load .so's from the host system while building for the target | ||
4 | system. | ||
5 | |||
6 | --- perl-5.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 @@ | |||
1 | Index: perl-5.8.8/config_h.SH | ||
2 | =================================================================== | ||
3 | --- perl-5.8.8.orig/config_h.SH 2005-11-01 02:13:05.000000000 +0800 | ||
4 | +++ perl-5.8.8/config_h.SH 2010-11-01 17:06:07.215219738 +0800 | ||
5 | @@ -709,6 +709,12 @@ | ||
6 | */ | ||
7 | #$i_float I_FLOAT /**/ | ||
8 | |||
9 | +/* I_GDBM: | ||
10 | + * This symbol, if defined, indicates that <gdbm.h> exists and should | ||
11 | + * be included. | ||
12 | + */ | ||
13 | +#$i_gdbm I_GDBM /**/ | ||
14 | + | ||
15 | /* I_LIMITS: | ||
16 | * This symbol, if defined, indicates to the C program that it should | ||
17 | * include <limits.h> to get definition of symbols like WORD_BIT or | ||
diff --git a/meta/recipes-devtools/perl/perl-5.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 @@ | |||
1 | We need ld in the fake config library, but it's not included by default. So | ||
2 | expand the number of items included. While this works it indicates that the | ||
3 | rest of the config items are not being picked up and/or are being picked up | ||
4 | from the host. More investigation needed. | ||
5 | |||
6 | --- perl-5.8.8/configpm 2007/04/20 09:48:05 1.1 | ||
7 | +++ perl-5.8.8/configpm 2007/04/20 09:57:12 | ||
8 | @@ -2,7 +2,7 @@ | ||
9 | use strict; | ||
10 | use vars qw(%Config $Config_SH_expanded); | ||
11 | |||
12 | -my $how_many_common = 22; | ||
13 | +my $how_many_common = 50; | ||
14 | |||
15 | # commonly used names to precache (and hence lookup fastest) | ||
16 | my %Common; | ||