<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/c05478d7cdb81bad070330152c168e6be4fdc0a8">https://github.com/macports/macports-ports/commit/c05478d7cdb81bad070330152c168e6be4fdc0a8</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 c05478d  faust: Use the right C++ library
</span>c05478d is described below

<span style='display:block; white-space:pre;color:#808000;'>commit c05478d7cdb81bad070330152c168e6be4fdc0a8
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Tue Jan 30 11:54:30 2018 -0600

<span style='display:block; white-space:pre;color:#404040;'>    faust: Use the right C++ library
</span>---
 audio/faust/Portfile                                |  8 ++++++++
 audio/faust/files/patch-compiler-Makefile.unix.diff | 13 +++++++++++++
 2 files changed, 21 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/faust/Portfile b/audio/faust/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 08a71f7..01e20ae 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/audio/faust/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/faust/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -41,7 +41,15 @@ depends_lib             port:clang-${llvm_version} \
</span>                         port:llvm-${llvm_version} \
                         path:lib/libssl.dylib:openssl
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles              patch-compiler-Makefile.unix.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-patch {
<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;'>+        set stdlib_flag -stdlib=${configure.cxx_stdlib}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        set stdlib_flag {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    reinplace "s|@STDLIB_FLAG@|${stdlib_flag}|g" ${worksrcpath}/compiler/Makefile.unix
</span>     reinplace "s|/usr/local/|/usr/./local/|g" \
         ${worksrcpath}/tools/faust2appls/faust2faustvst
     reinplace "s|/usr/local|${prefix}|g" \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/faust/files/patch-compiler-Makefile.unix.diff b/audio/faust/files/patch-compiler-Makefile.unix.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..a7cf073
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/faust/files/patch-compiler-Makefile.unix.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- compiler/Makefile.unix.orig    2018-01-30 04:50:24.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ compiler/Makefile.unix 2018-01-30 11:13:03.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -166,8 +166,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ifeq ($(system), Darwin)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-    CXXFLAGS += -I /opt/local/include
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-    CXXFLAGS += -stdlib=libc++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++    CXXFLAGS += -I$(prefix)/include
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++    CXXFLAGS += @STDLIB_FLAG@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     ifneq ($(findstring MINGW32, $(system)),)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+         CXXFLAGS += -O1 -I/usr/include
</span></pre><pre style='margin:0'>

</pre>