<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/382fb83e6c0c0275e6402fa9290193d74f4ea89d">https://github.com/macports/macports-ports/commit/382fb83e6c0c0275e6402fa9290193d74f4ea89d</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 382fb83e6c0c0275e6402fa9290193d74f4ea89d
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sat Aug 17 08:05:49 2019 -0700
<span style='display:block; white-space:pre;color:#404040;'> ocaml: ensure we are UsingTheRightCompiler
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See https://trac.macports.org/wiki/UsingTheRightCompiler
</span>---
lang/ocaml/Portfile | 6 ++++++
1 file changed, 6 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/ocaml/Portfile b/lang/ocaml/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 3675646..37a1a69 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/ocaml/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/ocaml/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -58,6 +58,12 @@ platform darwin {
</span> if {${build_arch} eq "i386"} {
patchfiles-append patch-configure-darwin32.diff
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://trac.macports.org/wiki/UsingTheRightCompiler
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # mimic default values of default_as and default_aspp in configure.ac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AS="${configure.cc} -arch ${build_arch} -Wno-trigraphs -c" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ASPP="${configure.cc} -arch ${build_arch} -Wno-trigraphs -c"
</span> }
# Configure.
</pre><pre style='margin:0'>
</pre>