- 论坛徽章:
- 0
|
Simply edit the /usr/ports/infrastructure/mk/bsd.port.mk:
find the line:
FETCH_CMD?= /usr/bin/ftp -V -m
and replace it with:
FETCH_CMD?= /usr/local/bin/wget -c -t 1
The empty space between the variable name and the parameter is a serial of tabs, not spacebars.
The options specified following the wget command can be read by man wget so you can specify any options whatever fit your needs.
And if you like, you can configure your wget using your proxy server to make it even faster by editing your ~$HOME/.wgetrc and fill it with lines look like:
HTTP_PROXY=http://11.22.33.44:3128/ |
|