Commits
Ryan Schmidt authored 6d7b159e295
129 129 | |
130 130 | # Options that are the same for every variation. |
131 131 | configure.pre_args -maintainer MacPorts \ |
132 132 | -homepage https://www.macports.org \ |
133 133 | -cl \ |
134 134 | -eol unx \ |
135 135 | -api cco \ |
136 136 | -sony-sum 1 \ |
137 137 | -sony-tag 1 |
138 138 | |
139 + | if [info exists xcodeversion] { |
140 + | set xcodeversion_split [concat [split ${xcodeversion} {.}] {0 0 0}] |
141 + | configure.pre_args-append \ |
142 + | -e xcd \ |
143 + | -ev [lindex ${xcodeversion_split} 0][string range [join [lrange ${xcodeversion_split} 1 end] {}] 0 2] |
144 + | } |
145 + | |
139 146 | # Options set by variations. |
140 147 | configure.args |
141 148 | |
142 149 | # Options set by variants. |
143 150 | configure.post_args |
144 151 | |
145 152 | # The number of seconds to wait before killing the bootstrap process, in |
146 153 | # case it gets stuck. |
147 154 | set my_bootstrap_timeout 30 |
148 155 | |