<pre style='margin:0'>
Clemens Lang (neverpanic) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/1cb72605843b6d53d6a71f77d2f433253466f29c">https://github.com/macports/macports-ports/commit/1cb72605843b6d53d6a71f77d2f433253466f29c</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 1cb7260 botan: respect -stdlib settings when building with clang
</span>1cb7260 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 1cb72605843b6d53d6a71f77d2f433253466f29c
</span>Author: System Administrator <root@macbook21.local>
AuthorDate: Tue Jul 25 18:05:11 2017 +0200
<span style='display:block; white-space:pre;color:#404040;'> botan: respect -stdlib settings when building with clang
</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/53123
</span>---
security/botan/Portfile | 8 ++++++++
1 file changed, 8 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/security/botan/Portfile b/security/botan/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 15c7489..60b6d10 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/security/botan/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/security/botan/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -35,6 +35,14 @@ if {[string match *clang* ${configure.compiler}]} {
</span> configure.args-append --cc=gcc
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# add the selected -stdlib to clang builds
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# see https://trac.macports.org/ticket/53123
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set cxx_stdlibflags {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[string match *clang* ${configure.cxx}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set cxx_stdlibflags -stdlib=${configure.cxx_stdlib}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cxx ${configure.cxx} ${cxx_stdlibflags}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> destroot.destdir DESTDIR=${destroot}${prefix}
platform darwin { configure.args-append --os=darwin }
</pre><pre style='margin:0'>
</pre>