How to prevent fetching from macports mirrors

db iamsudo at gmail.com
Tue Mar 20 13:30:56 UTC 2018


On 20 Mar 2018, at 03:34, Ryan Schmidt <ryandesign at macports.org> wrote:
> On Mar 19, 2018, at 16:29, db wrote:
>> Is there any way to set in macports.conf to only fetch from master site and/or, if needed, try a mirror?
> What do you mean? MacPorts already tries to fetch from the master_sites specified in the portfile, and the mirrors, in an order defined by which ones are thought to be closest to you. Are you saying you want to influence the order in which they're tried?

Yes. Are there any options? The guide says, macports_distfiles mirror is always implicitly appended to master_sites, but from the my logs it seems *prepended*, as mirrors are hit first.


More information about the macports-dev mailing list