1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 16:17:36 +00:00

Ports: Bump perl5 to 5.38.2

This commit is contained in:
Rawley 2024-01-03 14:12:14 -06:00 committed by Tim Schumacher
parent 72d0257a19
commit 27339fe6e7
2 changed files with 6 additions and 5 deletions

View file

@ -248,7 +248,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
| [`patch`](patch/) | patch (GNU) | 2.7.6 | https://savannah.gnu.org/projects/patch/ | | [`patch`](patch/) | patch (GNU) | 2.7.6 | https://savannah.gnu.org/projects/patch/ |
| [`pcre`](pcre/) | Perl-compatible Regular Expressions (PCRE) | 8.45 | https://www.pcre.org/ | | [`pcre`](pcre/) | Perl-compatible Regular Expressions (PCRE) | 8.45 | https://www.pcre.org/ |
| [`pcre2`](pcre2/) | Perl-compatible Regular Expressions (PCRE2) | 10.42 | https://www.pcre.org/ | | [`pcre2`](pcre2/) | Perl-compatible Regular Expressions (PCRE2) | 10.42 | https://www.pcre.org/ |
| [`perl5`](perl5/) | Perl | 5.38.0 | https://www.perl.org/ | | [`perl5`](perl5/) | Perl | 5.38.2 | https://www.perl.org/ |
| [`pfetch`](pfetch/) | pfetch | a906ff8 | https://github.com/dylanaraps/pfetch/ | | [`pfetch`](pfetch/) | pfetch | a906ff8 | https://github.com/dylanaraps/pfetch/ |
| [`php`](php/) | PHP | 8.2.10 | https://www.php.net/ | | [`php`](php/) | PHP | 8.2.10 | https://www.php.net/ |
| [`pixman`](pixman/) | pixman | 0.42.2 | http://pixman.org | | [`pixman`](pixman/) | pixman | 0.42.2 | http://pixman.org |

View file

@ -1,10 +1,11 @@
#!/usr/bin/env -S bash ../.port_include.sh #!/usr/bin/env -S bash ../.port_include.sh
port='perl5' port='perl5'
version='5.38.0' version='5.38.2'
cross_version='1.5.2'
useconfigure='true' useconfigure='true'
files=( files=(
"https://www.cpan.org/src/5.0/perl-${version}.tar.xz#eca551caec3bc549a4e590c0015003790bdd1a604ffe19cc78ee631d51f7072e" "https://www.cpan.org/src/5.0/perl-${version}.tar.xz#d91115e90b896520e83d4de6b52f8254ef2b70a8d545ffab33200ea9f1cf29e8"
"https://github.com/arsv/perl-cross/releases/download/1.5/perl-cross-1.5.tar.gz#d744a390939e2ebb9a12f6725b4d9c19255a141d90031eff90ea183fdfcbf211" "https://github.com/arsv/perl-cross/releases/download/${cross_version}/perl-cross-${cross_version}.tar.gz#584dc54c48dca25e032b676a15bef377c1fed9de318b4fc140292a5dbf326e90"
) )
configopts=( configopts=(
'-Dosname=serenity' '-Dosname=serenity'
@ -27,7 +28,7 @@ fi
post_fetch() { post_fetch() {
run chmod -R +rw "${PWD}/perl-${version}"* run chmod -R +rw "${PWD}/perl-${version}"*
run cp -r "${PWD}/perl-cross-1.5/"* "${PWD}/perl-${version}/" run cp -r "${PWD}/perl-cross-${cross_version}/"* "${PWD}/perl-${version}/"
if [ "$(uname -s)" = 'Darwin' ]; then if [ "$(uname -s)" = 'Darwin' ]; then
cat <<- 'EOH' > "${PWD}/perl-${version}/readelf" cat <<- 'EOH' > "${PWD}/perl-${version}/readelf"