<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/c00a2483157145910268c9098f03cd96cc736f43">https://github.com/macports/macports-ports/commit/c00a2483157145910268c9098f03cd96cc736f43</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit c00a2483157145910268c9098f03cd96cc736f43
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Mon Dec 30 08:55:59 2019 -0700
<span style='display:block; white-space:pre;color:#404040;'> ocaml: respect build_arch
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> No revbump since a simultaneous commit already increased revision.
</span>---
lang/ocaml/Portfile | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
<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 8f2824b..a3a3103 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;'>@@ -60,11 +60,16 @@ if {${build_arch} eq "i386"} {
</span> patchfiles-append patch-configure-darwin32.diff
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# see INSTALL.adoc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cc-append -arch ${build_arch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # see https://trac.macports.org/wiki/UsingTheRightCompiler
# mimic default values of default_as and default_aspp in configure.ac
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# see INSTALL.adoc for PARTIALLD
</span> configure.env-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- "AS=${configure.cc} -arch ${build_arch} -Wno-trigraphs -c" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "ASPP=${configure.cc} -arch ${build_arch} -Wno-trigraphs -c"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "AS=${configure.cc} -Wno-trigraphs -c" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "ASPP=${configure.cc} -Wno-trigraphs -c" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "PARTIALLD=${configure.cc} -Wl,-r"
</span>
# Configure.
configure.pre_args --prefix=${prefix} --mandir=${prefix}/share/man
</pre><pre style='margin:0'>
</pre>