You've already forked macports-base
mirror of
https://github.com/macports/macports-base.git
synced 2026-07-12 18:18:43 -07:00
Use threaded fetch for port mirror
(cherry picked from commit be806ac879)
This commit is contained in:
@@ -2889,9 +2889,10 @@ proc macports::async_fetch_mport {target mport} {
|
||||
} then {
|
||||
$workername eval [list portarchivefetch::archivefetch_async_start]
|
||||
}
|
||||
if {[_target_needs_deps $target] && (![dict exists $no_build_targets $target]
|
||||
if {([_target_needs_deps $target] && (![dict exists $no_build_targets $target]
|
||||
|| (![global_option_isset ports_binary_only] && ![_mportinstalled $mport]
|
||||
&& ![$workername eval [list _archive_available]]))
|
||||
&& ![$workername eval [list _archive_available]])))
|
||||
|| $target eq "mirror"
|
||||
} then {
|
||||
$workername eval [list portfetch::fetch_async_start]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user