Skip to content
Permalink
Browse files

Filter archive_sites based on prefix_frozen

This contains the prefix value that was set in macports.conf. If a port
changes prefix to something different, that doesn't disqualify it from
being installed from an archive, since the change is made on the build
server as well.
  • Loading branch information...
jmroot committed Oct 9, 2019
1 parent 42b36f4 commit d840f251bed8f6779048efdac97c9d9824fa3320
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/package1.0/portarchivefetch.tcl
@@ -65,7 +65,7 @@ default archive_sites.listpath port1.0/fetch
default archive.subdir {${subport}}

proc portarchivefetch::filter_sites {} {
global prefix frameworks_dir applications_dir porturl \
global prefix_frozen frameworks_dir applications_dir porturl \
cxx_stdlib delete_la_files \
portfetch::mirror_sites::sites portfetch::mirror_sites::archive_type \
portfetch::mirror_sites::archive_prefix \
@@ -97,7 +97,7 @@ proc portarchivefetch::filter_sites {} {
continue
}
if {$portfetch::mirror_sites::sites($site) ne {} &&
$portfetch::mirror_sites::archive_prefix($site) eq $prefix &&
$portfetch::mirror_sites::archive_prefix($site) eq $prefix_frozen &&
$portfetch::mirror_sites::archive_frameworks_dir($site) eq $frameworks_dir &&
$portfetch::mirror_sites::archive_applications_dir($site) eq $applications_dir &&
$portfetch::mirror_sites::archive_cxx_stdlib($site) eq $cxx_stdlib &&

0 comments on commit d840f25

Please sign in to comment.
You can’t perform that action at this time.