[Bug 268299] PORTSDIR variable not being read from /etc/make.conf when building kernel.

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 10 Dec 2022 16:17:27 UTC

--- Comment #1 from Yuri <yuri@aetern.org> ---
Created attachment 238693
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=238693&action=edit
kern.post.mk change to properly expand PORTSDIR

There was similar discussion on current@ recently with a suggestion of putting
PORTSDIR to /etc/src{,-env}.conf which did not work for me.

Looks like the expansion does not happen properly (for me, at least) in
kern.post.mk and the attached patch (note, it's against main) seems to help
with PORTSDIR specified in one of /etc/{make,src,src-env}.conf files or in

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