[Bug 232293] pkgbase uses (global) ports environment variables in src Makefiles -> conflict

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 20 Mar 2024 19:42:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232293

--- Comment #4 from Bjoern A. Zeeb <bz@FreeBSD.org> ---
(In reply to Baptiste Daroussin from comment #3)

Honestly, I cannot say but it's easy to test;  set DISTDIR to
/home/bapt/distfiles1234 and see if the build works.

I have since worked around with a symlink in /usr/ports/distfiles to point
elsewhere or use a nullfs mount so I don't have to set DISTDIR anymore in the
environment.  It's not nice as DISTDIR really was for that in the ports tree
and is documented as such in ports(7).

Looking at Makefile.inc1 I do see a lot of DISTDIR still but I cannot say if it
used consistently these days so that you at least get any (working) result.

-- 
You are receiving this mail because:
You are the assignee for the bug.