<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/c5b6638084f683aaae6b00b0d189896e9af7be67">https://github.com/macports/macports-ports/commit/c5b6638084f683aaae6b00b0d189896e9af7be67</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit c5b6638084f683aaae6b00b0d189896e9af7be67
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Sun Oct 8 01:49:46 2023 +0800
<span style='display:block; white-space:pre;color:#404040;'> hevea: fix build for powerpc-darwin
</span>---
textproc/hevea/Portfile | 8 ++++++++
1 file changed, 8 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/hevea/Portfile b/textproc/hevea/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ed7bb117706..d82c9abfbc2 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/hevea/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/hevea/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -35,3 +35,11 @@ configure {
</span> reinplace "s|^LATEXLIBDIR=.*|LATEXLIBDIR=${prefix}/share/${name}|" ${worksrcpath}/Makefile
reinplace "s|^DESTDIR=.*|DESTDIR=${destroot}|" ${worksrcpath}/Makefile
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# When OCaml is updated to 5.x, this should be modified, since 32-bit support is removed in it for all OSs.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# I.e. i386 and ppc will only have bytecode compiler, regardless of a platform.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Only ppc64 then should be left conditional on Darwin, until the native compiler is fixed for it.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && (${configure.build_arch} in [list ppc ppc64])} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.target byte
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot.cmd ./install.sh byte
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>