<pre style='margin:0'>
MarcusCalhoun-Lopez pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2625ff34d2049ea7e60e70063d9e4d0b47d558f6">https://github.com/macports/macports-ports/commit/2625ff34d2049ea7e60e70063d9e4d0b47d558f6</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 2625ff34d2049ea7e60e70063d9e4d0b47d558f6
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Thu Jan 5 14:46:21 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> qmake5 PG: whitespace changes
</span>---
_resources/port1.0/group/qmake5-1.0.tcl | 69 ++++++++++++++++-----------------
1 file changed, 33 insertions(+), 36 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/qmake5-1.0.tcl b/_resources/port1.0/group/qmake5-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 65f629a..b50adea 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/qmake5-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/qmake5-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -172,46 +172,43 @@ proc eval_variants {variations} {
</span> uplevel ::real_qmake5_eval_variants $variations
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # accommodating variant request varies depending on how qtbase was built
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- pre-configure {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set base_debug false
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach qt_test_name ${available_qt_versions} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if { [string range ${qt_test_name} end-3 end] eq "-kde" } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set qt_test_port_name ${qt_test_name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set qt_test_port_name ${qt_test_name}-qtbase
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {![catch {set result [active_variants ${qt_test_port_name} debug ""]}]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {$result} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # code to be executed if $depspec is active with at least all variants in
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # $required and none from $forbidden
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set base_debug true
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- break
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # code to be executed if $depspec is active, but either not with all
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # variants in $required or any variant in $forbidden
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# accommodating variant request varies depending on how qtbase was built
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+pre-configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set base_debug false
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach qt_test_name ${available_qt_versions} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [string range ${qt_test_name} end-3 end] eq "-kde" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set qt_test_port_name ${qt_test_name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set qt_test_port_name ${qt_test_name}-qtbase
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![catch {set result [active_variants ${qt_test_port_name} debug ""]}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {$result} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # code to be executed if $depspec is active with at least all variants in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # $required and none from $forbidden
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set base_debug true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break
</span> } else {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # code to be executed if $depspec isn't active
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # code to be executed if $depspec is active, but either not with all
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # variants in $required or any variant in $forbidden
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # determine if the user wants to build debug libraries
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if { [variant_exists debug] && [variant_isset debug] } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set this_debug true
</span> } else {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set this_debug false
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # code to be executed if $depspec isn't active
</span> }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # determine of qmake's default and user requests are compatible; override qmake if necessary
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if { ${this_debug} && !${base_debug} } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append "QT_CONFIG+=\"debug_and_release build_all\""
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # determine if the user wants to build debug libraries
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [variant_exists debug] && [variant_isset debug] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set this_debug true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set this_debug false
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if { !${this_debug} && ${base_debug} } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append "QT_CONFIG-=\"debug_and_release build_all\" CONFIG-=\"debug\""
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # determine of qmake's default and user requests are compatible; override qmake if necessary
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${this_debug} && !${base_debug} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append "QT_CONFIG+=\"debug_and_release build_all\""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { !${this_debug} && ${base_debug} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append "QT_CONFIG-=\"debug_and_release build_all\" CONFIG-=\"debug\""
</span> }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>