<pre style='margin:0'>
Michael Dickens (michaelld) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/cc3f72f8ac417ea15afb39a20f62f2ac537786c1">https://github.com/macports/macports-ports/commit/cc3f72f8ac417ea15afb39a20f62f2ac537786c1</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 cc3f72f mariadb-10.2: remove C++ standard setting in libxml2 variant
</span>cc3f72f is described below
<span style='display:block; white-space:pre;color:#808000;'>commit cc3f72f8ac417ea15afb39a20f62f2ac537786c1
</span>Author: Michael Dickens <michaelld@macports.org>
AuthorDate: Thu Nov 21 10:44:05 2019 -0500
<span style='display:block; white-space:pre;color:#404040;'> mariadb-10.2: remove C++ standard setting in libxml2 variant
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> As of MP commit 134cb9c9, if the project using libxml2 (here MariaDB 10.2) is compiling using C++, then the libxml2 header directs the ICU header to hide its C++ API if the C++ standard version in use is older than that with which ICU was built. Hence, we don't have to worry about the C++ standard version here.
</span>---
databases/mariadb-10.2/Portfile | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/mariadb-10.2/Portfile b/databases/mariadb-10.2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ff16c36..42c9b92 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/databases/mariadb-10.2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/mariadb-10.2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -201,11 +201,16 @@ if {$subport eq $name} {
</span>
variant connect_with_libxml2 description {Compile CONNECT storage engine with LIBXML2 support} {}
if {[variant_isset connect_with_libxml2]} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # requires libxml2, which in turn requires C++11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # requires libxml2, which in turn requires ICU. As of MP
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # commit 134cb9c9, if the project using libxml2 (here MariaDB
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # 10.2) is compiling using C++, then the libxml2 header
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # directs the ICU header to hide its C++ API if the C++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # standard version in use is older than that with which ICU
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # was built. Hence, we don't have to worry about the C++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # standard version here.
</span> depends_lib-append port:libxml2
configure.args-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -DCONNECT_WITH_LIBXML2=ON \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DCMAKE_CXX_STANDARD=11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCONNECT_WITH_LIBXML2=ON
</span> } else {
configure.args-append \
-DCONNECT_WITH_LIBXML2=OFF
</pre><pre style='margin:0'>
</pre>