<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/cd026e208b7ab66e8d84c78f27e5368cadcea07b">https://github.com/macports/macports-ports/commit/cd026e208b7ab66e8d84c78f27e5368cadcea07b</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit cd026e208b7ab66e8d84c78f27e5368cadcea07b
</span>Author: Fred Wright <fw@fwright.net>
AuthorDate: Mon Feb 19 19:39:52 2024 -0800

<span style='display:block; white-space:pre;color:#404040;'>    legacy-support: Fix test failures on 10.6-10.8
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    The C++ tests were failing to build on platforms with a non-default
</span><span style='display:block; white-space:pre;color:#404040;'>    cxx_stdlib selection (10.6-10.8).  Since the "real" code is C-only,
</span><span style='display:block; white-space:pre;color:#404040;'>    and the stdlib selection is irrelevant to testing the use of the C
</span><span style='display:block; white-space:pre;color:#404040;'>    library, we simply disable cxx_stdlib.
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    TESTED:
</span><span style='display:block; white-space:pre;color:#404040;'>    Tests now build and pass on 10.6-10.8 +/-universal.
</span><span style='display:block; white-space:pre;color:#404040;'>    Tested on 10.4-10.5 ppc, 10.4-10.6 i386, 10.4-12.x x86_64, 11.x-14.x
</span><span style='display:block; white-space:pre;color:#404040;'>    arm64.
</span>---
 devel/legacy-support/Portfile | 8 ++++++++
 1 file changed, 8 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/legacy-support/Portfile b/devel/legacy-support/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 18ee63116e1..f9915ff1607 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/legacy-support/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/legacy-support/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -61,6 +61,14 @@ subport ${name}-devel {
</span> # https://build.macports.org/builders/ports-10.10_x86_64-builder/builds/141962/steps/install-port/logs/stdio
 use_parallel_build  no
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# This port doesn't use C++ at all, except for a couple of tests which may
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# fail to build with an non-OS-default stdlib setting.  Since the cxx_stdlib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# selection is unimportant for the tests (which are actually only testing
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# the C-only interface to the library), we disable the cxx_stlib setting.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# This also avoids depending on a MacPorts compiler in some OS versions.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cxx_stdlib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-extract {
     # until upstream can be fixed, do not include atexit symbols
     # under certain circumstances, infinite recursive loops can form
</pre><pre style='margin:0'>

</pre>