<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/cc6ae6f6f8f50e0d893cd3402facb3f37de2f570">https://github.com/macports/macports-ports/commit/cc6ae6f6f8f50e0d893cd3402facb3f37de2f570</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit cc6ae6f6f8f50e0d893cd3402facb3f37de2f570
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sat May 14 21:26:05 2022 -0700
<span style='display:block; white-space:pre;color:#404040;'> ld64-274: allow build on Mac OS X Leopard
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> No revbump since port either builds correctly or not at all.
</span>---
devel/ld64/Portfile | 11 +++++++++++
1 file changed, 11 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/ld64/Portfile b/devel/ld64/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e7860f7c77e..f5265ba6808 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/ld64/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/ld64/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -157,6 +157,8 @@ subport ld64-236 {
</span> }
subport ld64-274 {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup legacysupport 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # Xcode 8.2.1
version 274.2
revision 0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -186,6 +188,15 @@ subport ld64-274 {
</span> configure.cxx_stdlib libc++
configure.cxxflags-append -std=c++11
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Avoid `error: unknown type name 'uuid_string_t'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ legacysupport.newest_darwin_requires_legacy 9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${os.platform} eq "darwin" && ${os.major} <= 9 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:libblocksruntime
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cxxflags-append -fblocks
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.ldflags-append -lBlocksRuntime
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> supported_archs i386 x86_64
}
</pre><pre style='margin:0'>
</pre>