<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/7c91604891fa0d071b8d598490c4dc2edb8e0031">https://github.com/macports/macports-base/commit/7c91604891fa0d071b8d598490c4dc2edb8e0031</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 7c91604 allow Portfile to turn off verbose logging
</span><span style='display:block; white-space:pre;color:#404040;'> new e77bd2c Merge pull request #163 from MarcusCalhoun-Lopez/no_log
</span>7c91604 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 7c91604891fa0d071b8d598490c4dc2edb8e0031
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Wed Dec 4 08:42:40 2019 -0700
<span style='display:block; white-space:pre;color:#404040;'> allow Portfile to turn off verbose logging
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Setting CC_PRINT_OPTIONS and CC_PRINT_OPTIONS_FILE changes how Clang
</span><span style='display:block; white-space:pre;color:#404040;'> handles the compiler flags -v and -Wl,-v.
</span><span style='display:block; white-space:pre;color:#404040;'> If a port relies on the default behavior (e.g. FindOpenMP in CMake),
</span><span style='display:block; white-space:pre;color:#404040;'> then errors can ensue.
</span>---
src/port1.0/portmain.tcl | 3 ++-
src/port1.0/portutil.tcl | 6 ++++--
2 files changed, 6 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/port1.0/portmain.tcl b/src/port1.0/portmain.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index c6979d2..61d811e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/port1.0/portmain.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/port1.0/portmain.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -55,7 +55,7 @@ options prefix name version revision epoch categories maintainers \
</span> macosx_deployment_target universal_variant os.universal_supported \
supported_archs depends_skip_archcheck installs_libs \
license_noconflict copy_log_files \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- compiler.cpath compiler.library_path \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.cpath compiler.library_path compiler.log_verbose_output \
</span> add_users use_xcode
proc portmain::check_option_integer {option action args} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -149,6 +149,7 @@ if {[option os.platform] eq "darwin" && [option os.subplatform] eq "macosx"} {
</span>
default compiler.cpath {${prefix}/include}
default compiler.library_path {${prefix}/lib}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+default compiler.log_verbose_output yes
</span>
# Record initial euid/egid
set euid [geteuid]
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/port1.0/portutil.tcl b/src/port1.0/portutil.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 65dd3fc..93ae9be 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/port1.0/portutil.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/port1.0/portutil.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -417,8 +417,10 @@ proc command_exec {command args} {
</span> if {[option macosx_deployment_target] ne ""} {
set ${varprefix}.env_array(MACOSX_DEPLOYMENT_TARGET) [option macosx_deployment_target]
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set ${varprefix}.env_array(CC_PRINT_OPTIONS) "YES"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set ${varprefix}.env_array(CC_PRINT_OPTIONS_FILE) [file join [option workpath] ".CC_PRINT_OPTIONS"]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[option compiler.log_verbose_output]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ${varprefix}.env_array(CC_PRINT_OPTIONS) "YES"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set ${varprefix}.env_array(CC_PRINT_OPTIONS_FILE) [file join [option workpath] ".CC_PRINT_OPTIONS"]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> if {[option compiler.cpath] ne ""} {
set ${varprefix}.env_array(CPATH) [join [option compiler.cpath] :]
}
</pre><pre style='margin:0'>
</pre>