<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/f97fe249f14b48bba83c14f32ccb50afd27a887c">https://github.com/macports/macports-ports/commit/f97fe249f14b48bba83c14f32ccb50afd27a887c</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 f97fe24  source-highlight: fix build with gcc
</span>f97fe24 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit f97fe249f14b48bba83c14f32ccb50afd27a887c
</span>Author: kencu <ken.cunningham.webuse@gmail.com>
AuthorDate: Sun Mar 18 09:38:30 2018 -0600

<span style='display:block; white-space:pre;color:#404040;'>    source-highlight: fix build with gcc
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    only add -stdlib if compiler is clang
</span><span style='display:block; white-space:pre;color:#404040;'>    closes: https://trac.macports.org/ticket/56089
</span>---
 textproc/source-highlight/Portfile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/source-highlight/Portfile b/textproc/source-highlight/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 7243440..2d110a1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/source-highlight/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/source-highlight/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -28,7 +28,9 @@ checksums       rmd160  a6e0ad1713deb2056984a97adc7dfd0e6610809f \
</span> # Make sure that the port does not link against system libstdc++.
 # libtool strips unknown flags in link mode, c.f.,
 # https://www.gnu.org/software/libtool/manual/html_node/Stripped-link-flags.html
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.ldflags-append    -Wc,-stdlib=${configure.cxx_stdlib}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[string match *clang* ${configure.compiler}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.ldflags-append    -Wc,-stdlib=${configure.cxx_stdlib}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span> 
 configure.args  --infodir=${prefix}/share/info \
                 --mandir=${prefix}/share/man \
</pre><pre style='margin:0'>

</pre>