Re: PORTSDIR not being read from /etc/make.conf when build /usr/src

From: Jonathan Vasquez <jon_at_xyinn.org>
Date: Fri, 09 Dec 2022 17:09:27 UTC
Thanks Mel.

Like I said before, I know we have a lot of workarounds for this, but I'm wondering if the current behavior of "PORTSDIR" not being respected when declared in the /etc/make.conf, if that's intended behavior or a bug?


Jonathan Vasquez
PGP: 34DA 858C 1447 509E C77A D49F FB85 90B7 C4CA 5279
Sent with ProtonMail Secure Email



------- Original Message -------
On Friday, December 9th, 2022 at 07:10, Mel Pilgrim <list_freebsd@bluerosetech.com> wrote:


> On 2022-12-07 14:18, Jonathan Vasquez wrote:
> 
> > I'm currently trying to centralize my poudriere ports directory and my
> > normal /usr/ports dir so that I can reduce the load on the central
> > freebsd servers, and also to clean it up on my end.
> 
> [...]
> 
> > At the moment I have my poudriere ports directory and
> > distfiles defined at:
> > 
> > /usr/local/poudriere/ports/default (The standard path for poudriere).
> > /usr/local/poudriere/distfiles
> > 
> > I went ahead and added the following to /etc/make.conf:
> > 
> > PORTSDIR=/usr/local/poudriere/ports/default
> > DISTDIR=/usr/local/poudriere/distfiles
> > 
> > However, when running a "make -j32 buildkernel", the PORTSDIR variable
> > doesn't get read in properly and will default to /usr/ports.
> 
> 
> Symlink /usr/ports -> /usr/local/poudriere/ports/default