<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/46f85ab877afcfda900b5de88f82edc551c228b4">https://github.com/macports/macports-ports/commit/46f85ab877afcfda900b5de88f82edc551c228b4</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 46f85ab877a mesos: attempt to fix build on 10.11 and earlier
</span>46f85ab877a is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 46f85ab877afcfda900b5de88f82edc551c228b4
</span>Author: Christopher Chavez <chrischavez@gmx.us>
AuthorDate: Tue Sep 8 19:43:46 2020 -0500
<span style='display:block; white-space:pre;color:#404040;'> mesos: attempt to fix build on 10.11 and earlier
</span>---
devel/mesos/Portfile | 13 +++++++++++++
1 file changed, 13 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/mesos/Portfile b/devel/mesos/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 55cbdfdb197..77eface4fc0 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/mesos/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/mesos/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,6 +2,10 @@
</span>
PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Need strnlen() on 10.6, fdopendir() on 10.9 and earlier
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup legacysupport 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+legacysupport.newest_darwin_requires_legacy 13
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> name mesos
version 1.8.0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -22,6 +26,15 @@ checksums rmd160 9b824a8e1a9cc616ea7e1b478fa0483e7ec5b9a8 \
</span> size 72442467
compiler.cxx_standard 2011
<span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.thread_local_storage yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} == 15 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ && ${configure.cxx_stdlib} eq "libc++"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # "Mesos cannot be built with optimizations against this version of libcxx (MESOS-5745).
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Consider building without optimizations, or changing the used C++ standard library."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.optflags -O0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --disable-optimize
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
configure.args-append --with-svn=${prefix} \
--with-apr=${prefix} \
</pre><pre style='margin:0'>
</pre>