On 5/14/25 5:02 AM, Darrin B. Jewell wrote:
I noticed that "make fetch-list | sh" does not behave the same as "make fetch" with respect to the DIST_PATH variable as documented in pkgsrc/mk/defaults/mk.conf and pkgsrc/mk/fetch/bsd.fetch-vars.mk. The attached patch fixes this and I'd like to commit it. It cribs the DIST_PATH support from pkgsrc/mk/fetch/fetch.mk
fetch-list has many restrictions and really only is useful when you want to fetch distfiles somewhere else (e.g. because you still have metered internet at home). Generally, it is much better to use:
make depends-checksum ...which provides the recursion and also handles errors much better. Joerg