File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1176,18 +1176,19 @@ bootstrap_cmake_core() {
1176
1176
1177
1177
# we need sysroot crap to build cmake itself, but it makes trouble
1178
1178
# later on, so kill it in the installed version
1179
- ver=${A% -* } ; ver=${ver% .* }
1180
1179
sed -i -e ' /cmake_gnu_set_sysroot_flag/d' \
1181
- " ${ROOT} /tmp/usr/share/${ver} /Modules/Platform" /Apple-GNU-* .cmake || die
1180
+ " ${ROOT} " /tmp/usr/share/cmake * /Modules/Platform/Apple-GNU-* .cmake || die
1182
1181
# disable isysroot usage with clang as well
1183
1182
sed -i -e ' /_SYSROOT_FLAG/d' \
1184
- " ${ROOT} /tmp/usr/share/${ver} /Modules/Platform" /Apple-Clang.cmake || die
1183
+ " ${ROOT} " /tmp/usr/share/cmake * /Modules/Platform/Apple-Clang.cmake || die
1185
1184
1186
1185
einfo " ${A% .tar.* } bootstrapped"
1187
1186
}
1188
1187
1189
1188
bootstrap_cmake () {
1190
- bootstrap_cmake_core 3.16.5 || bootstrap_cmake_core 3.0.2
1189
+ bootstrap_cmake_core 3.20.6 || \
1190
+ bootstrap_cmake_core 3.16.5 || \
1191
+ bootstrap_cmake_core 3.0.2
1191
1192
}
1192
1193
1193
1194
bootstrap_zlib_core () {
You can’t perform that action at this time.
0 commit comments