<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2304b9dd4657bc0965847e1745e278a41ccacf19">https://github.com/macports/macports-ports/commit/2304b9dd4657bc0965847e1745e278a41ccacf19</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 2304b9dd465 ace: only use -stdlib when supported
</span>2304b9dd465 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 2304b9dd4657bc0965847e1745e278a41ccacf19
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Tue Jul 23 02:33:26 2024 +1000
<span style='display:block; white-space:pre;color:#404040;'> ace: only use -stdlib when supported
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/57486
</span>---
devel/ace/Portfile | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/ace/Portfile b/devel/ace/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9d21a08f29f..a7914a929f1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/ace/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/ace/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -50,11 +50,12 @@ checksums rmd160 2c08cc91ef7dbdbd1cfbfc09d75f4c830ec3f9c2 \
</span> set subdirs { ace ACEXML ASNMP Kokyu apps netsvcs }
post-patch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@@CFLAGS@@|[get_canonical_archflags cc]|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@@CFLAGS@@|[get_canonical_archflags cc]|" \
</span> ${worksrcpath}/include/makeinclude/platform_macosx_common.GNU
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@@LDFLAGS@@|[get_canonical_archflags ld] -stdlib=${configure.cxx_stdlib}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set stdlib_flag [expr {[string match *-stdlib=* ${configure.cxxflags}] ? " -stdlib=${configure.cxx_stdlib}" : ""}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@@LDFLAGS@@|[get_canonical_archflags ld]${stdlib_flag}|" \
</span> ${worksrcpath}/include/makeinclude/platform_macosx_common.GNU
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@@CXXFLAGS@@|[get_canonical_archflags cc] -stdlib=${configure.cxx_stdlib}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@@CXXFLAGS@@|[get_canonical_archflags cxx]${stdlib_flag}|" \
</span> ${worksrcpath}/include/makeinclude/platform_macosx_common.GNU
}
</pre><pre style='margin:0'>
</pre>