Merge pull request 'feat: upgrade perl to v5.44.0' (#99) from sisungo/ports:perl-v5.44.0 into main

Reviewed-on: #99
This commit is contained in:
sisungo committed 2026-10-28 15:58:45 +08:00
commit 949a9a8ada
1 file changed
+12 -3
+12 -3
View File
@@ -4,12 +4,12 @@ import subprocess
from lib import arch, cpp
from lib.make import *
upstream_version = "5.42.2"
upstream_version = "5.44.0"
version(upstream_version)
description("Perl is a highly capable, feature-rich programming language with over 37 years of development")
maintainer("sisungo <[email protected]>")
source_url("https://www.cpan.org/src/5.0/perl-5.42.2.tar.gz")
source_url("https://www.cpan.org/src/5.0/perl-5.44.0.tar.gz")
builddep("shortcut/c")
builddep("shortcut/autotools")
@@ -22,8 +22,17 @@ def build():
[
"./Configure",
"-de",
"-Dd_syscallproto",
"-Dd_shmatprototype",
"-Ud_gethostbyaddr_r",
"-Ud_gethostbyname_r",
"-Ud_getservbyname_r",
"-Ud_getservbyport_r",
"-Dnetdb_host_type=const void *",
"-Dnetdb_hlen_type=socklen_t",
f"-Dcc={os.environ.get('CC', 'cc')}",
f"-Doptimize={os.environ.get('CFLAGS', '')}",
f"-Doptimize={os.environ.get('CFLAGS', '')} -fno-strict-aliasing",
f"-Dplibpth=/lib/{arch.get_target()}",
"-Dusethreads",
"-Duseshrplib",
"-Dprefix=/",