Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Dec 2021 22:56:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 260128] "make tags" fails with "gtags not found", src/Makefile undesirably rewrites PATH
Message-ID:  <bug-260128-227-BLEUpY0U66@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-260128-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260128

--- 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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260128-227-BLEUpY0U66>