DragonFly BSD
DragonFly commits List (threaded) for 2012-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: sh: Work with make a little better:


From: Peter Avalos <pavalos@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 15 Jul 2012 01:12:41 -0700 (PDT)

commit d4cbceabb29d9260ddd7f3ea00646cc8c8969ba9
Author: Peter Avalos <pavalos@dragonflybsd.org>
Date:   Sun Jul 15 00:50:18 2012 -0700

    sh: Work with make a little better:
    
    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.
    
    Obtained-from:  FreeBSD 235927

Summary of changes:
 bin/sh/Makefile   |    4 ++--
 bin/sh/mkbuiltins |   18 +++++++++---------
 2 files changed, 11 insertions(+), 11 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d4cbceabb29d9260ddd7f3ea00646cc8c8969ba9


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]