Add dist 3.5-236

This is the metaconfig script and co. for perl.
This commit is contained in:
fosslinux 2021-04-13 22:35:28 +10:00
parent c3c031fc51
commit e773e65f1c
10 changed files with 128 additions and 0 deletions

View file

@ -0,0 +1,2 @@
367fe021db63c7ef39357af01a252bed6e2d4ccc928e6a9dbc42592c3a6b1a5d /after/bin/metaconfig
a7c30101cc041d1ffd0e9d4c940885ac31c78a9a066a56b1c33e166f75ff1a17 /after/bin/manifake

View file

@ -0,0 +1,29 @@
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
#
# SPDX-License-Identifier: GPL-3.0-or-later
# We manually compile here because ./Configure uses metaconfig itself
# *sigh*
src_prepare() {
default
sed 's/@PERLVER@/5.10.1/' config.sh.in > config.sh
}
src_compile() {
cd mcon
./mconfig.SH
perl ../bin/perload -o mconfig > metaconfig
cd ..
cd kit
./manifake.SH
cd ..
}
src_install() {
install mcon/metaconfig "${PREFIX}/bin/"
install kit/manifake "${PREFIX}/bin/"
cp -r mcon/U/ "${PREFIX}/lib/perl5/5.10.1/"
}

View file

@ -0,0 +1,11 @@
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
#
# SPDX-License-Identifier: GPL-3.0-or-later
eunicefix=':'
grep='grep'
privlib='/after/lib/perl5/@PERLVER@'
VERSION='3'
ENV='env'
PATCHLEVEL='5'
spitshell='cat'

View file

@ -0,0 +1,5 @@
// SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
//
// SPDX-License-Identifier: GPL-3.0-or-later
#define REVISION "236"

View file

@ -0,0 +1,17 @@
This is not valid Perl, I don't really understand why it is here anyway.
SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
SPDX-License-Identifier: Artistic-1.0
--- bin/perload 2021-04-21 19:01:35.803767498 +1000
+++ bin/perload 2021-04-21 19:01:47.959850217 +1000
@@ -450,8 +450,6 @@
:# This perl program uses dynamic loading [generated by perload]
:#
:
-:$ENV{LC_ALL} = 'C';
-:
EOC
$init_emitted = 1;
}

View file

@ -40,6 +40,8 @@ build bison-2.3
build perl-5.10.1
build dist-3.5-236 '' '' '' dist-d1de81f
if [ "$FORCE_TIMESTAMPS" = True ] ; then
echo 'Forcing all files timestamps to be 0 unix time.'
canonicalise_all_files_timestamp