gn: update to 2384

This commit is contained in:
Mohamed Akram
2026-06-13 21:42:57 +04:00
parent 4c8893022e
commit 221241aa89
+6 -11
View File
@@ -3,12 +3,12 @@
PortSystem 1.0
PortGroup github 1.0
set rev 6e8dcdebbadf4f8aa75e6a4b6e0bdf89dce1513a
set rev 1740f5c25bcac5a650ee3d1c1ec22bfa25fcd756
github.setup gsource-mirror gn $rev
github.tarball_from archive
# git rev-list --count initial-commit..
version 2354
version 2384
revision 0
categories devel
license BSD
@@ -21,9 +21,9 @@ long_description GN is a meta-build system that generates build files for \
homepage https://gn.googlesource.com/gn
checksums rmd160 77b293f04bd67e1c51c1cbe2db6d082384f5536b \
sha256 5916a630f363848a06f87424a6110c745f998ba2c5a1c6f3c9f49a4368e97b48 \
size 1140053
checksums rmd160 9e3d067d115265929ad1c45950c1661aaaf6299d \
sha256 53259f4e6d20372d0b9e0185292258277681e51a2722f99884a046c2c26cdebc \
size 1157829
set py_ver 3.14
set py_ver_nodot [string map {. {}} ${py_ver}]
@@ -54,12 +54,7 @@ compiler.cxx_standard 2020
configure.python ${prefix}/bin/python${py_ver}
configure.cmd ${configure.python} build/gen.py
configure.pre_args
# Upstream seems to support minimum 10.9. Build fails with -Werror on older systems:
# desc_builder.cc: error: redundant move in return statement [-Werror=redundant-move]
if {${os.platform} eq "darwin" && ${os.major} < 13} {
configure.args-append --allow-warnings
}
configure.args --allow-warnings
build.cmd ${prefix}/bin/ninja
build.dir ${worksrcpath}/out