Hi Joerg, Joerg Sonnenberger schrieb:
That is definitely different here. I first put FETCH_USING= wget into /etc/mk.conf, and ftp still was used. Then I added FETCH_CMD= wget, and then wget was used with ftp-URLs. That was, when I had spaces between "=" and the value as exampled in the docs.On Wed, Aug 05, 2009 at 01:40:10PM +0200, Dirk H. Schulz wrote:I want pkgsrc to use wget instead of ftp, and according to docs this can be done with the parameterFETCH_USING= wget in /etc/mk.conf.Yes, exactly. Works very well here.Is the FETCH_USING parameter obsolete? And has FETCH_CMD to be accompanied by additional parameters to make wget work? The docs are a bit sparse on that, if I may say so. :)FETCH_CMD is only used when FETCH_USING=manual is active.
Without spaces (e.g. FETCH_USING=wget), nothing is changed at all.
It is on NetBSD 5, and the content of /etc/mk.conf is just the 2 parameters above.What is the exact content of your mk.conf? Is this on NetBSD?
Joerg
Dirk