<pre style='margin:0'>
Clemens Lang (neverpanic) pushed a commit to branch master
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/6b27854906b3c19d209c50ff59a4fa78d42f3a03">https://github.com/macports/macports-base/commit/6b27854906b3c19d209c50ff59a4fa78d42f3a03</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 6b27854906b3c19d209c50ff59a4fa78d42f3a03
</span>Author: Satryaji Aulia <satraul@macports.org>
AuthorDate: Fri Jul 19 13:58:19 2019 +0700
<span style='display:block; white-space:pre;color:#404040;'> Also set use_xcode true if CLT isn't installed
</span>---
src/port1.0/portconfigure.tcl | 2 +-
src/port1.0/portmain.tcl | 3 ++-
src/port1.0/porttrace.tcl | 2 +-
3 files changed, 4 insertions(+), 3 deletions(-)
<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 4f11fcc..56a9eae 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;'>@@ -521,7 +521,7 @@ proc portconfigure::configure_get_developer_dir {} {
</span> # Assume that the existence of libxcselect indiciates the earliest version of
# macOS that places CLT in /Library/Developer/CommandLineTools
# If port is Xcode-dependent or CommandLineTools directory is invalid, set to developer_dir
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[tbool use_xcode] || ![file exists /usr/lib/libxcselect.dylib] || ![file executable [file join $cltpath usr bin make]]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[tbool use_xcode]} {
</span> return ${developer_dir}
} else {
return ${cltpath}
<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 e1b5c18..9e1f7ac 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;'>@@ -154,7 +154,8 @@ set egid [getegid]
</span> default worksymlink {[file normalize [file join $portpath work]]}
default distpath {[file normalize [file join $portdbpath distfiles ${dist_subdir}]]}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-default use_xcode {[expr {[option build.type] eq "xcode"}]}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set cltpath "/Library/Developer/CommandLineTools"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+default use_xcode {[expr {[option build.type] eq "xcode" || ![file exists /usr/lib/libxcselect.dylib] || ![file executable [file join $cltpath usr bin make]]}]}
</span>
proc portmain::main {args} {
return 0
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/port1.0/porttrace.tcl b/src/port1.0/porttrace.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index eab750e..511248a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/port1.0/porttrace.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/port1.0/porttrace.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -228,7 +228,7 @@ namespace eval porttrace {
</span> lappend xcode_paths [file join {*}$ddsplit]
set cltpath "/Library/Developer/CommandLineTools"
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[tbool use_xcode] || ![file exists /usr/lib/libxcselect.dylib] || ![file executable [file join $cltpath usr bin make]]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[tbool use_xcode]} {
</span> foreach xcode_path $xcode_paths {
allow trace_sandbox $xcode_path
}
</pre><pre style='margin:0'>
</pre>