<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5fb2dc43aaed20df147c33ac30f3759ef9617fb5">https://github.com/macports/macports-ports/commit/5fb2dc43aaed20df147c33ac30f3759ef9617fb5</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 5fb2dc43aaed20df147c33ac30f3759ef9617fb5
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sun Oct 1 06:12:21 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> qt5 PG: check for existence of name before using it
</span>---
_resources/port1.0/group/qt5-1.0.tcl | 2 ++
1 file changed, 2 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/qt5-1.0.tcl b/_resources/port1.0/group/qt5-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index f6d08d8..58a6796 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/qt5-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/qt5-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -165,6 +165,7 @@ foreach {qt_test_name qt_test_info} [array get available_qt_versions] {
</span> }
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[info exists name]} {
</span> # check to see if this is a Qt port being built
foreach {qt_test_name qt_test_info} [array get available_qt_versions] {
if {${qt_test_name} eq ${name}} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -173,6 +174,7 @@ foreach {qt_test_name qt_test_info} [array get available_qt_versions] {
</span> set qt5.version [lindex $available_qt_versions(${qt5.name}) 1]
}
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
if {[tbool just_want_qt5_version_info]} {
return
</pre><pre style='margin:0'>
</pre>