pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Prefer ipv4 Download (FETCH_BEFORE_ARGS ignored?)



* On 2023-11-27 at 11:12 GMT, Ede Wolf wrote:

My /etc/mk.conf reads:

.if defined(BSD_PKG_MK)
CFLAGS+= -mcpu=21164a
FETCH_USING= ftp
FETCH_BEFORE_ARGS= -4
...
.endif

However, FETCH_BEFORE_ARGS seems to be ignored. I've also aliased ftp to ftp -4 in the root/.profile, but that did not help either.

FETCH_BEFORE_ARGS is not a user-settable variable. It is explicitly overridden in mk/fetch/fetch.mk which is why your mk.conf is having no effect.

The variable you want to set is FETCH_USE_IPV4_ONLY=yes.

--
Jonathan Perkin   -   mnx.io   -   pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com


Home | Main Index | Thread Index | Old Index