<pre style='margin:0'>
Mohamed Akram (mohd-akram) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/f625ab72a6b688b2866ce286976c0b447014e9dc">https://github.com/macports/macports-ports/commit/f625ab72a6b688b2866ce286976c0b447014e9dc</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 f625ab72a6b crystal: update to 1.12.1
</span>f625ab72a6b is described below
<span style='display:block; white-space:pre;color:#808000;'>commit f625ab72a6b688b2866ce286976c0b447014e9dc
</span>Author: Mohamed Akram <makr@macports.org>
AuthorDate: Fri Apr 26 03:00:35 2024 +0400
<span style='display:block; white-space:pre;color:#404040;'> crystal: update to 1.12.1
</span>---
lang/crystal/Portfile | 25 ++++++++++++++-----------
1 file changed, 14 insertions(+), 11 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/crystal/Portfile b/lang/crystal/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 20c25351e01..21ad02c5888 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/crystal/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/crystal/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,7 +3,7 @@
</span> PortSystem 1.0
PortGroup github 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup crystal-lang crystal 1.11.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup crystal-lang crystal 1.12.1
</span> github.tarball_from archive
revision 0
categories lang
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,7 +18,7 @@ long_description Crystal is a fast, compiled programming language with a \
</span>
homepage https://crystal-lang.org
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set llvm_version 17
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set llvm_version 18
</span>
# pkg-config is used when compiling user programs
depends_lib port:boehmgc \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -41,13 +41,13 @@ master_sites-append https://github.com/crystal-lang/${name}/releases/download/${
</span> distfiles-append ${name}-${cr_full_ver}-${os.platform}-universal${extract.suffix}:bootstrap
checksums ${distname}${extract.suffix} \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 4946400941a24d3307c5d4847599611acdc914f7 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 3c4eeb1191478770172a6fa7c4afb074526db9ecf0a80d434d1f4a6441414ae6 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 3619256 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 92d12b0b1406f800f673a180a75c7984f6b80d49 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 8f464ec302696c6a60410c4234569989c10bcd5004f1563b8047c5e3e1c8ba1f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 3657963 \
</span> ${name}-${cr_full_ver}-${os.platform}-universal${extract.suffix} \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 86d329bbb6e20a1e7482d091a86ce60d3e955389 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 c3aed8624c76047c03b607754781d2e8380b7005dc8a0d926cc044f893368fba \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 57811159
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 0b603544be6362e314c51d062e6dbe4a27f497ea \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 775a9697715a8c93916f13d3a45486b0e0269545f0a84818172c2592eb215094 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 57946458
</span>
patchfiles patch-static.diff
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -58,6 +58,8 @@ post-patch {
</span> ${worksrcpath}/src/lib_c/x86_64-darwin/c/iconv.cr
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.ldflags-append -Wl,-rpath,${prefix}/libexec/llvm-${llvm_version}/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.cmd env | grep -E '^(CC?|CPP|CXX|LD)(FLAGS)?='
configure.pre_args > Makefile.local
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -75,9 +77,10 @@ post-build {
</span> system -W ${worksrcpath} "${llvm_config} ${build.cmd} docs"
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.target-append install_docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.args -o docs PREFIX=${prefix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot.env ${llvm_config}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> test.run yes
test.target spec
test.env ${llvm_config}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.target-append install_docs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.args -o docs PREFIX=${prefix}
</span></pre><pre style='margin:0'>
</pre>