<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/e3f0be57a4d5bb68d90b0b959bcb85be6c67e1d5">https://github.com/macports/macports-ports/commit/e3f0be57a4d5bb68d90b0b959bcb85be6c67e1d5</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 e3f0be57a4d mlton: fix path pointing to C compiler
</span>e3f0be57a4d is described below

<span style='display:block; white-space:pre;color:#808000;'>commit e3f0be57a4d5bb68d90b0b959bcb85be6c67e1d5
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Fri May 24 21:31:06 2024 +0800

<span style='display:block; white-space:pre;color:#404040;'>    mlton: fix path pointing to C compiler
</span>---
 lang/mlton/Portfile | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/mlton/Portfile b/lang/mlton/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f107419c3f1..61401c16fc9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/mlton/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/mlton/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -8,7 +8,7 @@ PortGroup           openssl 1.0
</span> 
 github.setup        MLton mlton 475cf2b14993869711f1a93a15a9fa854b5126ed
 version             20240519
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision            0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            1
</span> categories          lang ml
 maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
 license             HPND
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -38,10 +38,9 @@ depends_lib-append  port:gmp
</span> patchfiles-append   patch-settings-for-Macports.diff
 
 post-patch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    reinplace "s,@CC@,${configure.cc}," ${worksrcpath}/bin/mlton-script
</span>     reinplace "s,@MLTON@,${prefix}/libexec/mlton-bootstrap/bin," ${worksrcpath}/Makefile.config
     reinplace "s,@VERSION@,${version}," ${worksrcpath}/Makefile.config
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    reinplace "s,@PREFIX@,${prefix},g" ${worksrcpath}/Makefile.config ${worksrcpath}/bin/mlbdeps ${worksrcpath}/bin/mlton-script
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    reinplace "s,@PREFIX@,${prefix},g" ${worksrcpath}/Makefile.config ${worksrcpath}/bin/mlbdeps
</span> }
 
 build.env-append    SH=${prefix}/bin/bash
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -55,6 +54,9 @@ compiler.blacklist-append {clang < 900}
</span> # it should be done for mlton-bootstrap and mlton together, with revbumping both.
 compiler.blacklist-append {macports-clang-1[7-9]} {macports-gcc-1[4-9]}
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+build.args-append   CC=${configure.cc} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    GMP_DIR=${prefix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> platform darwin 10 {
     if {${configure.build_arch} eq "ppc"} {
         # This is only needed on Rosetta, but will not hurt native 10.6 ppc either.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -67,8 +69,9 @@ platform darwin 10 {
</span>     }
 }
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/MLton/mlton/issues/571
</span> post-destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    reinplace "s,${workpath}/compwrap/cc,," ${destroot}${prefix}/bin/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    reinplace "s,${workpath}/compwrap/cc,," ${destroot}${prefix}/lib/mlton/targets/self/vars
</span> }
 
 universal_variant   no
</pre><pre style='margin:0'>

</pre>