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

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/debb9d8b9d70d03e5ac07eb8636981ded46a40f1">https://github.com/macports/macports-ports/commit/debb9d8b9d70d03e5ac07eb8636981ded46a40f1</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 debb9d8b9d7 libcxx: allow build on Tiger
</span>debb9d8b9d7 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit debb9d8b9d70d03e5ac07eb8636981ded46a40f1
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Sun Jun 27 18:21:40 2021 -0700

<span style='display:block; white-space:pre;color:#404040;'>    libcxx: allow build on Tiger
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    working on Tiger Intel at least, Tiger PPC to be looked into later
</span>---
 lang/libcxx/Portfile                               | 26 ++++++++++++++--------
 ...1002-libcxx-buildit-build-fix-for-Leopard.patch |  2 +-
 ...e-LIBCXXABI_PATH-for-path-to-build-time-l.patch |  2 +-
 ...-CFLAGS-for-Leopard-and-Snow-Leopard-to-i.patch |  2 +-
 4 files changed, 20 insertions(+), 12 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 cd32be1264d..93f935c9143 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;'>@@ -47,9 +47,11 @@ distfiles               ${libcxxabi_distname}${extract.suffix} \
</span> checksums               libcxxabi-5.0.1.src.tar.xz \
                         rmd160  93b74a0644c1afd565938fba5e21b200b206c72a \
                         sha256  5a25152cb7f21e3c223ad36a1022faeb8a5ac27c9e75936a5ae2d3ac48f6e854 \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+                        size    521504 \
</span>                         libcxx-5.0.1.src.tar.xz \
                         rmd160  1e5a22e62515382488f232039e31f0b12c08ca4f \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                        sha256  fa8f99dd2bde109daa3276d529851a3bce5718d46ce1c5d0806f46caa3e57c00
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        sha256  fa8f99dd2bde109daa3276d529851a3bce5718d46ce1c5d0806f46caa3e57c00 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        size    1527852
</span> 
 use_configure no
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -60,19 +62,18 @@ set libcxxabi_worksrcpath   [file join ${workpath} ${libcxxabi_distname}]
</span> set libcxx_worksrcpath      [file join ${workpath} ${libcxx_distname}]
 
 platform darwin {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    if {${os.major} < 9} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        known_fail      yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        pre-fetch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            ui_error "${name} is not supported on Tiger or earlier."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            error "unsupported platform"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    }
</span> 
     if {${os.major} < 11} {
         post-activate {
             set dirs /
             if {${os.subplatform} eq "macosx"} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                lappend dirs ${developer_dir}/SDKs/MacOSX[join [lrange [split ${macosx_version} .] 0 1] .].sdk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                if {${os.major} == 8} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    # The Tiger SDK has an u after the version number,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    set sdk_name MacOSX10.4u.sdk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    set sdk_name MacOSX[join [lrange [split ${macosx_version} .] 0 1] .].sdk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                lappend dirs ${developer_dir}/SDKs/${sdk_name}
</span>             }
             foreach d ${dirs} {
                 system -W ${d} "tar xzf ${roots_path}/${root_name}.tgz"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -184,6 +185,13 @@ if {${os.major} < 11 || [variant_isset replacemnt_libcxx]} {
</span> 
     post-patch {
         system "chmod 755 ${libcxx_worksrcpath}/lib/buildit"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        platform darwin 8 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            foreach header [glob ${workpath}/libcxx-${version}.src/include/*] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                reinplace "s|Availability.h|AvailabilityMacros.h|g" ${header}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        }
</span>     }
 
     build.dir ${workpath}/build
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/libcxx/files/1002-libcxx-buildit-build-fix-for-Leopard.patch b/lang/libcxx/files/1002-libcxx-buildit-build-fix-for-Leopard.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index c4ae5b74ae5..ffdb915d0dc 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/libcxx/files/1002-libcxx-buildit-build-fix-for-Leopard.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/libcxx/files/1002-libcxx-buildit-build-fix-for-Leopard.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,7 +18,7 @@ index c18de042e..0a585022a 100755
</span>      fi
      SOEXT=dylib
 -    if [ "$MACOSX_DEPLOYMENT_TARGET" = "10.6" ]
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+    if [ "$MACOSX_DEPLOYMENT_TARGET" = "10.5" ] || [ "$MACOSX_DEPLOYMENT_TARGET" = "10.6" ]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++    if [[ "$MACOSX_DEPLOYMENT_TARGET" == 10.[456] ]]
</span>      then
          EXTRA_FLAGS="-nostdinc++ -std=c++11 -U__STRICT_ANSI__"
          LDSHARED_FLAGS="-o libc++.1.dylib \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/libcxx/files/1004-libcxx-MacPorts-Use-LIBCXXABI_PATH-for-path-to-build-time-l.patch b/lang/libcxx/files/1004-libcxx-MacPorts-Use-LIBCXXABI_PATH-for-path-to-build-time-l.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index 256eb039644..75677bec95d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/libcxx/files/1004-libcxx-MacPorts-Use-LIBCXXABI_PATH-for-path-to-build-time-l.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/libcxx/files/1004-libcxx-MacPorts-Use-LIBCXXABI_PATH-for-path-to-build-time-l.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,7 +24,7 @@ index 4fd356420..c10f876a7 100755
</span> +        LIBCXXABI_DYLIB_PATH=/usr/lib/libc++abi.dylib
 +    fi
 +
<span style='display:block; white-space:pre;background:#ffe0e0;'>-     if [ "$MACOSX_DEPLOYMENT_TARGET" = "10.5" ] || [ "$MACOSX_DEPLOYMENT_TARGET" = "10.6" ]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     if [[ "$MACOSX_DEPLOYMENT_TARGET" == 10.[456] ]]
</span>      then
          EXTRA_FLAGS="-nostdinc++ -std=c++11 -U__STRICT_ANSI__"
 @@ -63,31 +69,10 @@ case $TRIPLE in
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/libcxx/files/1005-libcxx-buildit-Fix-CFLAGS-for-Leopard-and-Snow-Leopard-to-i.patch b/lang/libcxx/files/1005-libcxx-buildit-Fix-CFLAGS-for-Leopard-and-Snow-Leopard-to-i.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index 8829601a11d..ccedc668bd6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/libcxx/files/1005-libcxx-buildit-Fix-CFLAGS-for-Leopard-and-Snow-Leopard-to-i.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/libcxx/files/1005-libcxx-buildit-Fix-CFLAGS-for-Leopard-and-Snow-Leopard-to-i.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -15,7 +15,7 @@ index c10f876a7..e1ef3381e 100755
</span> +++ libcxx-5.0.1.src/lib/buildit
 @@ -63,7 +63,7 @@ case $TRIPLE in
  
<span style='display:block; white-space:pre;background:#ffe0e0;'>-     if [ "$MACOSX_DEPLOYMENT_TARGET" = "10.5" ] || [ "$MACOSX_DEPLOYMENT_TARGET" = "10.6" ]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     if [[ "$MACOSX_DEPLOYMENT_TARGET" == 10.[456] ]]
</span>      then
 -        EXTRA_FLAGS="-nostdinc++ -std=c++11 -U__STRICT_ANSI__"
 +        EXTRA_FLAGS="${EXTRA_FLAGS} -U__STRICT_ANSI__"
</pre><pre style='margin:0'>

</pre>