bmake - Disable use of PWD env
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 1 Dec 2015 19:00:11 +0000 (11:00 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 1 Dec 2015 19:00:11 +0000 (11:00 -0800)
commit63e3a85f625dd65911781bc211f368e44a69ae7f
tree6ae131991d23c60974d6d20c997549266afc7086
parent37fa1bc7f8b3c84a0f74952291352051af180b50
bmake - Disable use of PWD env

* bmake tries to use the logical directory path via the PWD environment
  variable, and its various exceptions for dealing with OBJDIR fall short.
  This creates mass confusion for buildworld if the source tree is built
  via a logical directory path which goes through a symlink.

* With this change, bmake now only uses the real directory path.

Taken-from: FreeBSD
usr.bin/bmake/Makefile