Author: bdrewery
Date: Wed Sep 16 20:58:43 2015
New Revision: 287871
URL: https://svnweb.freebsd.org/changeset/base/287871

Log:
  META_MODE: Fix OBJROOT ending in two // when it does not yet exist.
  
  This would lead to the 2nd build (after the first with a missing OBJROOT) to
  always rebuild everything as the 'command' would have changed due to the path
  changing from having // to only /.
  
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/share/mk/local.meta.sys.mk

Modified: head/share/mk/local.meta.sys.mk
==============================================================================
--- head/share/mk/local.meta.sys.mk     Wed Sep 16 20:55:00 2015        
(r287870)
+++ head/share/mk/local.meta.sys.mk     Wed Sep 16 20:58:43 2015        
(r287871)
@@ -34,7 +34,7 @@ OBJROOT ?= ${SB_OBJROOT}
 .endif
 OBJROOT ?= ${SRCTOP:H}/obj/
 .if ${OBJROOT:M*/} != ""
-OBJROOT:= ${OBJROOT:tA}/
+OBJROOT:= ${OBJROOT:H:tA}/
 .else
 OBJROOT:= ${OBJROOT:H:tA}/${OBJROOT:T}
 .endif
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to