修改安装源
macports更新卡住是因为使用了国外的源问题,使用VPN即可。
无VPN可以修改安装源地址,再更新即可。
修改/opt/local/etc/macports/sources.conf,把最后的rsync注释掉换成其它镜像源。
China, Beijing
rsync://pek.cn.rsync.macports.org/macports/release/tarballs/ports.tar [default]
官方提供的源地址:https://trac.macports.org/wiki/Mirrors