<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/8cf346aee1b6d02fc5e214f987b66eaa9601257f">https://github.com/macports/macports-ports/commit/8cf346aee1b6d02fc5e214f987b66eaa9601257f</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 8cf346aee1b libcxx: fix build on macOS 10.5
</span>8cf346aee1b is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 8cf346aee1b6d02fc5e214f987b66eaa9601257f
</span>Author: Kirill A. Korinsky <kirill@korins.ky>
AuthorDate: Sun Aug 7 13:26:12 2022 +0200
<span style='display:block; white-space:pre;color:#404040;'> libcxx: fix build on macOS 10.5
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> It also always use xz-bootstrap
</span>---
lang/libcxx/Portfile | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/libcxx/Portfile b/lang/libcxx/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index cb7cb7382ac..6333e1aa8f3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/libcxx/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/libcxx/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -10,7 +10,7 @@ revision 5
</span> categories lang
platforms darwin
license MIT NCSA
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers {jeremyhu @jeremyhu}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {jeremyhu @jeremyhu} {@catap korins.ky:kirill}
</span> description libc++ is a new implementation of the C++ standard library with support for C++11 and portions of C++14.
long_description ${description} \
Because objects cannot be passed between different versions of the C++ runtime, this port must \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,18 +24,11 @@ homepage https://libcxx.llvm.org/
</span> master_sites https://releases.llvm.org/${version}/
dist_subdir llvm
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${os.platform} eq "darwin" && ${os.major} < 11 && ${configure.cxx_stdlib} eq "libc++"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Bootstrap problem, libcxx is indirectly used by the normal xz port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_extract port:xz-bootstrap
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_skip_archcheck-append xz-bootstrap
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- extract.suffix .tar.xz
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- extract.cmd ${prefix}/libexec/xz-bootstrap/bin/xz
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # And having the stdlib set to libc++ on 10.6 causes a
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # macports-clang compiler to be selected.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.cxx_stdlib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- use_xz yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_extract port:xz-bootstrap
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_skip_archcheck-append\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xz-bootstrap
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+extract.suffix .tar.xz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+extract.cmd ${prefix}/libexec/xz-bootstrap/bin/xz
</span>
set libcxxabi_distname libcxxabi-${version}.src
set libcxx_distname libcxx-${version}.src
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -169,6 +162,13 @@ if {${os.major} < 11 || [variant_isset replacemnt_libcxx]} {
</span> reinplace "s|Availability.h|AvailabilityMacros.h|g" ${header}
}
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} < 10} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # debug symbols produced by clang-11-bootstrap cause a Bus error inside ld on Leopard
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|-c -g|-c|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${libcxx_worksrcpath}/lib/buildit \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${libcxxabi_worksrcpath}/lib/buildit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
build.dir ${workpath}/build
</pre><pre style='margin:0'>
</pre>