<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/08cf881b2618847bed5299d4d6adac99d4268887">https://github.com/macports/macports-ports/commit/08cf881b2618847bed5299d4d6adac99d4268887</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 08cf881b2618847bed5299d4d6adac99d4268887
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Wed Aug 10 00:49:21 2022 +0545

<span style='display:block; white-space:pre;color:#404040;'>    google-glog: fix build on old systems
</span>---
 devel/google-glog/Portfile | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/google-glog/Portfile b/devel/google-glog/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6d29dfaaaee..391186c5ed9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/google-glog/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/google-glog/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20,7 +20,6 @@ long_description    The glog library implements application-level logging. \
</span>                     This library provides logging APIs based on C++-style \
                     streams and various helper macros.
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms           darwin
</span> license             BSD
 
 # See: https://github.com/google/glog/pull/239
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,11 +29,34 @@ patchfiles-append   patch-pkg_file.diff
</span> legacysupport.newest_darwin_requires_legacy \
                     15
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.cxx_standard \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    1998
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://trac.macports.org/ticket/65645
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# #pragma GCC diagnostic inside functions available from gcc-4.6.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.blacklist-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    *gcc-4.2 *gcc-4.3 *gcc-4.4 *gcc-4.5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Rosetta ignores blacklist and still tries to use llvm-g++-4.2.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Prioritize newer gcc; list versions that are realistically used and confirmed to build and work.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platform darwin 10 powerpc {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    compiler.whitelist \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    macports-gcc-12 macports-gcc-11 macports-gcc-10 macports-gcc-7 macports-gcc-6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.args-append \
                     -DWITH_GFLAGS=OFF \
                     -DBUILD_SHARED_LIBS=ON \
                     -DWITH_GTEST=OFF
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Undefined symbols:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# "___atomic_load_8", referenced from: _main in logging_unittest.cc.o
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# "___atomic_store_8", referenced from: _main in logging_unittest.cc.o
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[string match *gcc* ${configure.compiler}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.ldflags-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    -latomic
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> variant gflags description {Includes gflags command line control of logging} {
     configure.args-replace \
                     -DWITH_GFLAGS=OFF -DWITH_GFLAGS=ON
</pre><pre style='margin:0'>

</pre>