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

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 27 Mar 2023 12:00:39 UTC

--- Comment #3 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:


commit 12496806098d9d9915817edcd0df17cdd27f60c8
Author:     Yuri Pankov <yuripv@FreeBSD.org>
AuthorDate: 2023-03-27 11:42:31 +0000
Commit:     Yuri Pankov <yuripv@FreeBSD.org>
CommitDate: 2023-03-27 11:57:57 +0000

    kern.post.mk: fix PORTSDIR handling

    Using subshell's PORTSDIR variable (via $${PORTSDIR}}) seems to be
    only working if PORTSDIR is specified directly on the make command

    Use ${PORTDIR} here instead so that setting the variable in
    /etc/{make,src,src-env}.conf would work (also works for variable
    being set on command line or in the environment).

    PR:             268299
    Reviewed by:    imp
    Differential Revision:  https://reviews.freebsd.org/D37868

 sys/conf/kern.post.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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