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

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

<span style='display:block; white-space:pre;color:#404040;'>    faust-devel: Use the right C++ library
</span>---
 audio/faust-devel/Portfile                                |  8 ++++++++
 audio/faust-devel/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-devel/Portfile b/audio/faust-devel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e6fc612..f182461 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/audio/faust-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/faust-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -46,7 +46,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-devel/files/patch-compiler-Makefile.unix.diff b/audio/faust-devel/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-devel/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>