Skip to content

Commit c788c89

Browse files
committed
perl-5.6.2: regenerate some files
1 parent dfb3ae0 commit c788c89

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

steps/SHA256SUMS.pkgs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ f00f063a754baf1e00d5d0a76680a74232f5f34d754a17c8fcd853d86cf9c1c6 openssl-3.0.13
101101
a2cbb76d60e5df1ae2439297f9e01fe9903175db600d65efb4a45e3bdaa12eb2 perl5.005-03_0.tar.bz2
102102
936c7f8f6fdc942a0f674c8169b04f4fd30011c980455cf77c80c494136927ef perl-5.10.1_0.tar.bz2
103103
8047105ef794a2a99803d671acf9e3bb65b852b57cb0aa62b30f62b7bdc1e3ff perl-5.32.1_0.tar.bz2
104-
65374665ede69c1b7944daa4658d90b9be21923f395ab0aac8f0fd2162d57705 perl-5.6.2_0.tar.bz2
104+
f3861d80b243a2d4128a26388d21471cce4ea26df79304a3285c2ce848d8f2b1 perl-5.6.2_0.tar.bz2
105105
5eefece54c40df95f3e330162a57adab691b0036b5a1c103d21ee2026c0b91ea pkg-config-0.29.2_0.tar.bz2
106106
1d46223a1df9597f991fec88bdfc4cd25cb7d3d0a25a65cc5d5019861fd0f5e0 python-2.0.1_0.tar.bz2
107107
dde16a4b5e5fa049e394b7f7f8717a94507cbfc8b8ce9bc25b5eea0b19323857 python-2.0.1_1.tar.bz2

steps/perl-5.6.2/pass1.sh

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,25 @@ src_prepare() {
1414
mv perly.tab.h perly.h
1515

1616
# Regenerate other prebuilt header files
17-
for file in embed keywords opcode; do
17+
rm -f proto.h pp.sym pp_proto.h perlapi.c perlapi.h opnames.h opcode.h \
18+
objXSUB.h embedvar.h global.sym
19+
for file in opcode embed keywords; do
1820
rm -f ${file}.h
1921
perl ${file}.pl
2022
done
2123
rm -f regnodes.h
2224
perl regcomp.pl
23-
rm -f ext/ByteLoader/byterun.h ext/ByteLoader/byterun.c
25+
rm -f ext/ByteLoader/byterun.h ext/ByteLoader/byterun.c ext/B/B/Asmdata.pm
2426
perl bytecode.pl
2527
rm -f warnings.h lib/warnings.pm
2628
perl warnings.pl
2729

30+
# Regenerate prebuilt perl files
31+
rm -r lib/unicode/Is lib/unicode/In lib/unicode/To lib/unicode/*.pl
32+
33+
# Manpages
34+
rm lib/Pod/Man.pm
35+
2836
# Workaround for some linking problems, remove if possible
2937
sed -i 's/perl_call_method/Perl_call_method/' ext/Data/Dumper/Dumper.xs
3038
sed -i 's/perl_call_sv/Perl_call_sv/' ext/Data/Dumper/Dumper.xs
@@ -36,4 +44,10 @@ src_prepare() {
3644

3745
src_compile() {
3846
make -j1 PREFIX="${PREFIX}"
47+
48+
cd lib/unicode
49+
# We don't use the Makefile because $0 is encoded and it uses ./mktables.PL
50+
# whereas the original uses mktables.PL
51+
../../miniperl -I../../lib mktables.PL
52+
cd ../..
3953
}

0 commit comments

Comments
 (0)