<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/dd1badff6603e7d35bad1dd4face50fb5562e1a1">https://github.com/macports/macports-base/commit/dd1badff6603e7d35bad1dd4face50fb5562e1a1</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit dd1badff6603e7d35bad1dd4face50fb5562e1a1
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sun Sep 16 05:14:57 2018 -0700
<span style='display:block; white-space:pre;color:#404040;'> allow Portfile to turn off C++ support
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Setting compiler.cxx_standard to null turns off C++ support
</span>---
src/port1.0/portconfigure.tcl | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/port1.0/portconfigure.tcl b/src/port1.0/portconfigure.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 31b84db..ecd6128 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/port1.0/portconfigure.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/port1.0/portconfigure.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -116,7 +116,9 @@ proc portconfigure::stdlib_trace {opt action args} {
</span> # helper function to set configure.cxx_stdlib
proc portconfigure::configure_get_cxx_stdlib {} {
global cxx_stdlib compiler.cxx_standard
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${cxx_stdlib} eq "libstdc++" && ${compiler.cxx_standard} >= 2011} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${compiler.cxx_standard} eq ""} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif {${cxx_stdlib} eq "libstdc++" && ${compiler.cxx_standard} >= 2011} {
</span> return macports-libstdc++
} else {
return ${cxx_stdlib}
</pre><pre style='margin:0'>
</pre>