<pre style='margin:0'>
Michael Dickens (michaelld) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5ac335e512f09e74b18a1c8fd98aab047d1b4205">https://github.com/macports/macports-ports/commit/5ac335e512f09e74b18a1c8fd98aab047d1b4205</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 5ac335e512f09e74b18a1c8fd98aab047d1b4205
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Fri Aug 5 18:23:10 2022 +0545

<span style='display:block; white-space:pre;color:#404040;'>    glfw: disable docs on PPC, fixes Rosetta build
</span><span style='display:block; white-space:pre;color:#404040;'>    Fixes: https://trac.macports.org/ticket/64533
</span>---
 graphics/glfw/Portfile | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/glfw/Portfile b/graphics/glfw/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ac0359481d1..5e87a88245e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/glfw/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/glfw/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -125,16 +125,24 @@ configure.args-append \
</span>     -DBUILD_SHARED_LIBS=on \
     -DGLFW_BUILD_EXAMPLES=off \
     -DGLFW_BUILD_TESTS=off \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    -DGLFW_CMAKE_CONFIG_PATH=share
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    -DGLFW_CMAKE_CONFIG_PATH=share \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    -DBUILD_BUILD_DOCS=off
</span> 
 # remove top-level library path, such that internal libraries are used
 # instead of any already-installed ones.
 
 configure.ldflags-delete -L${prefix}/lib
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant docs description {build documentation} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant docs description {build documentation} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # Default value is ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.args-delete -DBUILD_BUILD_DOCS=off
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-default_variants    +docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${build_arch} ni [list ppc ppc64]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # Doxygen fails on PPC with Bus error due to malloc issues.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # See: https://github.com/iains/darwin-toolchains-start-here/discussions/20
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    default_variants    +docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span> 
 if {[variant_isset docs]} {
     depends_build-append  path:bin/doxygen:doxygen
</pre><pre style='margin:0'>

</pre>