[Bug 260128] "make tags" fails with "gtags not found", src/Makefile undesirably rewrites PATH

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 04 Dec 2021 22:56:05 UTC

--- Comment #7 from Jory Folker <jfolker11@gmail.com> ---
Alas! LOCALBASE is not set in bsd.dep.mk anywhere up the Makefile call chain
for 'make tags'.

Thus, I attached a proposed patch that sets 'LOCALBASE?= /usr/local' in the
top-level Makefile, and one more time in bsd.dep.mk because:

(a) I see this line in 4 other .mk files and 9 other Makefiles
2. Belt and suspenders.

I maintain my protest that hardcoding PATH in a Makefile is not kosher for
reasons outlined in comment #1 with extra emphasis on "DO NOT MESS WITH
/root/.cshrc", but since leaving it alone has no practical implications, I'm
content to make like Paul McCartney and let it be.

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