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
Notes: sideshowbarker 2024-07-17 04:01:41 +09:00
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/ |
| [`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/ |
| [`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/ |
| [`php`](php/) | PHP | 8.2.10 | https://www.php.net/ |
| [`pixman`](pixman/) | pixman | 0.42.2 | http://pixman.org |

View file

@ -1,10 +1,11 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='perl5'
version='5.38.0'
version='5.38.2'
cross_version='1.5.2'
useconfigure='true'
files=(
"https://www.cpan.org/src/5.0/perl-${version}.tar.xz#eca551caec3bc549a4e590c0015003790bdd1a604ffe19cc78ee631d51f7072e"
"https://github.com/arsv/perl-cross/releases/download/1.5/perl-cross-1.5.tar.gz#d744a390939e2ebb9a12f6725b4d9c19255a141d90031eff90ea183fdfcbf211"
"https://www.cpan.org/src/5.0/perl-${version}.tar.xz#d91115e90b896520e83d4de6b52f8254ef2b70a8d545ffab33200ea9f1cf29e8"
"https://github.com/arsv/perl-cross/releases/download/${cross_version}/perl-cross-${cross_version}.tar.gz#584dc54c48dca25e032b676a15bef377c1fed9de318b4fc140292a5dbf326e90"
)
configopts=(
'-Dosname=serenity'
@ -27,7 +28,7 @@ fi
post_fetch() {
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
cat <<- 'EOH' > "${PWD}/perl-${version}/readelf"