# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           zig_toolchain 1.0

zig_toolchain.setup 0.15.2
revision            0

checksums           rmd160  7f419fa804cc4d17af0bfd0ef6166cee082fcd25 \
                    sha256  d9b30c7aa983fcff5eed2084d54ae83eaafe7ff3a84d8fb754d854165a6e521c \
                    size    21366268

# macOS stage3: add link support for the system libc++.
# https://github.com/ziglang/zig/pull/23264
#
# Xcode 26.4 unified the arm64 and arm64e TBD entries under the arm64e name,
# which this release's MachO linker does not expect.
patchfiles-append   patch-macos-libc++-dynamic-link.diff \
                    patch-xcode-26.4-arm64e-tbd.diff
