81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
"storage" {
lappend args "--enable-kit-storage=$value"
}
"dynamictk" {
if {[lsearch -exact $buildinfo(packages) "tk"] != -1} {
set ::env(STATICTK) -1
}
}
"staticmk4" {
}
}
}
catch {
exec ./build/pre.sh
}
catch {
file delete "${outfile}.log"
}
catch {
set cmd [list $script $buildinfo(tcl_version) {*}$args]
set fd [open "${outfile}.log" w+]
puts $fd "Running: export KITCREATOR_PKGS=\"$::env(KITCREATOR_PKGS)\""
if {[info exists ::env(STRIP)]} {
puts $fd "Running: export STRIP=\"$::env(STRIP)\""
}
if {[info exists ::env(STATICTK)]} {
puts $fd "Running: export STATICTK=\"$::env(STATICTK)\""
}
puts $fd "Running: $cmd"
close $fd
}
catch {
|
>
>
>
>
>
>
>
|
|
|
<
<
|
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
|
"storage" {
lappend args "--enable-kit-storage=$value"
}
"dynamictk" {
if {[lsearch -exact $buildinfo(packages) "tk"] != -1} {
set ::env(STATICTK) -1
}
}
"minbuild" {
if {$value} {
set ::env(KITCREATOR_MINENCODINGS) 1
set ::env(KITCREATOR_MINBUILD) 1
}
}
"staticmk4" {
}
}
}
catch {
exec ./build/pre.sh
}
catch {
file delete "${outfile}.log"
}
catch {
set cmd [list $script $buildinfo(tcl_version) {*}$args]
set fd [open "${outfile}.log" w+]
puts $fd "Running: export KITCREATOR_PKGS=\"$::env(KITCREATOR_PKGS)\""
foreach variable [list STRIP STATICTK KITCREATOR_MINENCODINGS KITCREATOR_MINBUILD] {
if {[info exists ::env($variable)]} {
puts $fd "Running: export $variable=\"$::env($variable)\""
}
}
puts $fd "Running: $cmd"
close $fd
}
catch {
|