diff options
author | Marcel Moolenaar <marcel@FreeBSD.org> | 2012-05-24 19:48:15 +0000 |
---|---|---|
committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2012-05-24 19:48:15 +0000 |
commit | 937b0a997b4cec020a5c508b3f8a70aa4da8ef44 (patch) | |
tree | 25f4112c4c46486072cad10f2ffd6add1d6d9fb2 /games | |
parent | 648466fc8dd846320a0b3ff5247e3b22d5ef425b (diff) |
Work better with how make/bmake works:
1. Avoid a cd back into ${.CURDIR} to run mkbuiltins when we know make
will first cd into ${.OBJDIR}. Keep the cwd to what make sets it to.
2. Don't tell mkbuiltins where to write to (= ${.OBJDIR}), but where to
get sources from (= ${.CURDIR}). This to compensate for point 1.
This fixes a problem with bmake's mk files that optimize ${.OBJDIR} to
expand to "." after changing cwd, not taking into account that the
target is pretty much undoing that and not getting the full path to the
object tree anymore.
Notes
Notes:
svn path=/head/; revision=235927
Diffstat (limited to 'games')
0 files changed, 0 insertions, 0 deletions