<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ecb17953bbe316d20521cfac0ede56af4bb5d3e5">https://github.com/macports/macports-ports/commit/ecb17953bbe316d20521cfac0ede56af4bb5d3e5</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 ecb1795  libkml: create test variant to avoid gtest
</span>ecb1795 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit ecb17953bbe316d20521cfac0ede56af4bb5d3e5
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sun Dec 8 10:31:45 2019 -0700

<span style='display:block; white-space:pre;color:#404040;'>    libkml: create test variant to avoid gtest
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Recent versions of gtest require C++11.
</span><span style='display:block; white-space:pre;color:#404040;'>    Building the tests requires uriparser to use C++11 as well.
</span>---
 gis/libkml/Portfile | 23 ++++++++++++++++-------
 1 file changed, 16 insertions(+), 7 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gis/libkml/Portfile b/gis/libkml/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f58b697..abce76f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gis/libkml/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gis/libkml/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup               cmake 1.1
</span> PortGroup               github 1.0
 
 github.setup            libkml libkml 1.3.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision                1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision                2
</span> checksums               rmd160  b13c1c8d072098f365ac315cc1588ef3eba4ad1d \
                         sha256  5ac678ec9b3f737749712206fc199acb27bbdb74ca8656607fc809cbc951a482 \
                         size    6640063
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,9 +23,6 @@ long_description        ${name} is a library for parsing, generating and \
</span> 
 depends_build-append    port:boost
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Only used by tests but detected at configure time.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build-append    port:gtest
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> depends_lib-append      port:expat \
                         port:minizip \
                         port:uriparser \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -35,7 +32,7 @@ patchfiles              DYLD_LIBRARY_PATH.patch
</span> 
 configure.args-append   -DBoost_INCLUDE_DIR=${prefix}/include \
                         -DBUILD_EXAMPLES=OFF \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                        -DBUILD_TESTING=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        -DBUILD_TESTING=OFF \
</span>                         -DEXPAT_LIBRARY=${prefix}/lib/libexpat.dylib \
                         -DMINIZIP_LIBRARY=${prefix}/lib/libminizip.dylib \
                         -DURIPARSER_LIBRARY=${prefix}/lib/liburiparser.dylib \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -44,8 +41,20 @@ configure.args-append   -DBoost_INCLUDE_DIR=${prefix}/include \
</span>                         -DWITH_SWIG=OFF \
                         -DZLIB_LIBRARY_RELEASE=${prefix}/lib/libz.dylib
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-test.run                yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-test.target             test
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant tests description {Enable tests} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.args-replace  -DBUILD_TESTING=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            -DBUILD_TESTING=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    depends_build-append    port:gtest
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # duplicate settings from gtest CMakeLists.txt file
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    compiler.cxx_standard   2011
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.args-append   -DCMAKE_CXX_STANDARD=11 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                            -DCMAKE_CXX_STANDARD_REQUIRED=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    test.run                yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    test.target             test
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span> 
 post-destroot {
     set docdir ${prefix}/share/doc/${subport}
</pre><pre style='margin:0'>

</pre>