<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/8420292bb32adc7adb4756741707b8131d0f1a37">https://github.com/macports/macports-base/commit/8420292bb32adc7adb4756741707b8131d0f1a37</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 8420292bb32adc7adb4756741707b8131d0f1a37
</span>Author: Satryaji Aulia <satraul@macports.org>
AuthorDate: Tue Jun 18 21:17:45 2019 +0700
<span style='display:block; white-space:pre;color:#404040;'> Move use_xcode error after warning messages
</span>---
src/port1.0/portutil.tcl | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
<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 944750d..72e9304 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;'>@@ -3313,13 +3313,13 @@ proc _check_xcode_version {} {
</span> }
}
if {$xcodeversion eq "none"} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[tbool use_xcode]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return -code error "This port requires Xcode, which was not found on your system."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span> ui_warn "Xcode does not appear to be installed; most ports will likely fail to build."
if {[file exists "/Applications/Install Xcode.app"]} {
ui_warn "You downloaded Xcode from the Mac App Store but didn't install it. Run \"Install Xcode\" in the /Applications folder."
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[tbool use_xcode]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "This port requires Xcode, which was not found on your system."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> } elseif {[vercmp $xcodeversion $min] < 0} {
ui_error "The installed version of Xcode (${xcodeversion}) is too old to use on the installed OS version. Version $rec or later is recommended on macOS ${macosx_version}."
return 1
</pre><pre style='margin:0'>
</pre>