<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/3dec55fdf5e861df284864cb2483ef29bf354800">https://github.com/macports/macports-ports/commit/3dec55fdf5e861df284864cb2483ef29bf354800</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 3dec55f highlight: Fix build failure when clang is not used
</span>3dec55f is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 3dec55fdf5e861df284864cb2483ef29bf354800
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Fri Jan 26 09:53:28 2018 -0600
<span style='display:block; white-space:pre;color:#404040;'> highlight: Fix build failure when clang is not used
</span>---
textproc/highlight/Portfile | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/highlight/Portfile b/textproc/highlight/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c37f2a9..b21cc66 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/textproc/highlight/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/highlight/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,17 +30,14 @@ use_configure no
</span>
build.target cli lib
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# add the selected -stdlib to clang builds
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set cxx_stdlibflags {}
</span> if {[string match *clang* ${configure.cxx}]} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set cxx_stdlibflags -stdlib=${configure.cxx_stdlib}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cxxflags-append -stdlib=${configure.cxx_stdlib}
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cxx ${configure.cxx} ${cxx_stdlibflags}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cxxflags-append -std=c++11
</span>
# Yes, this project's makefile uses CFLAGS to compile its C++ code.
build.args CXX="${configure.cxx}" \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- CFLAGS="-std=c++11 ${configure.cxxflags} [get_canonical_archflags cxx]" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" \
</span> LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]" \
PREFIX="${prefix}"
</pre><pre style='margin:0'>
</pre>