<pre style='margin:0'>
Zhenfu Shi (i0ntempest) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c2a9a478a262558685907b6addbf3b538a084edc">https://github.com/macports/macports-ports/commit/c2a9a478a262558685907b6addbf3b538a084edc</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new c2a9a478a26 zig: update to 0.12.0
</span>c2a9a478a26 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c2a9a478a262558685907b6addbf3b538a084edc
</span>Author: i0ntempest <szf1234@me.com>
AuthorDate: Mon Apr 22 15:54:34 2024 -0400
<span style='display:block; white-space:pre;color:#404040;'> zig: update to 0.12.0
</span>---
lang/zig/Portfile | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/zig/Portfile b/lang/zig/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8ccdfd35e90..5b9dffb9334 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/zig/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/zig/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,7 +7,7 @@ PortGroup legacysupport 1.1
</span>
legacysupport.use_static yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup ziglang zig 0.11.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup ziglang zig 0.12.0
</span> github.tarball_from archive
revision 0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,7 +23,7 @@ long_description Zig is a general-purpose programming language designed for \
</span>
homepage https://ziglang.org/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set llvm_version 16
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set llvm_version 17
</span>
depends_lib-append port:clang-${llvm_version} \
port:ncurses \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,23 +33,26 @@ depends_lib-append port:clang-${llvm_version} \
</span> depends_build-append \
port:llvm-${llvm_version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 484834dc8cb38332eeaab2345f605c711198654f \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 71de3e958293dffaa17f7ad1438c775389f5406991c96b533bb1501178092b02 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 24606916
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 5c0a141f23c805eab9e5958cbbca25d04c26637a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 57d7e0ad565ef734d9f3fe8cff7a815f2ab012ec3d8e155a316dfc79f789c432 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 26431150
</span>
set llvm_config LLVM_CONFIG=llvm-config-mp-${llvm_version}
compiler.whitelist macports-clang-${llvm_version}
cmake.module_path ${prefix}/libexec/llvm-${llvm_version} \
${prefix}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-cmake_share_module_dir ${prefix}/libexec/llvm-${llvm_version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+cmake_share_module_dir \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${prefix}/libexec/llvm-${llvm_version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+cmake.install_rpath-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${prefix}/libexec/llvm-${llvm_version}/lib
</span>
platform darwin {
# due to the new linker (which was introduced in Xcode 15: https://developer.apple.com/documentation/xcode-release-notes/xcode-15-release-notes),
# this port requires '-ld_classic' to build successfully with the toolchains from Xcode 15 or Command Line Tools 15.
#
# TODO: This is a temporary solution, the classic linker will be removed in a future release by Apple.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if { ( [vercmp ${xcodeversion} 15 ] >= 0 ) || ( [vercmp ${xcodecltversion} 15 ] >= 0 ) } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${os.major} == 23 && ( [vercmp ${xcodeversion} 15 ] >= 0 ) || ( [vercmp ${xcodecltversion} 15 ] >= 0 ) } {
</span> configure.ldflags-append \
-Wl,-ld_classic
}
</pre><pre style='margin:0'>
</pre>