From 7c75c54f37096b622f751c88fd410abc3c2c3e44 Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Thu, 26 May 2016 23:20:04 +0000 Subject: [PATCH] Fix MAKESYSPATH not being sent to sub-makes after r266566. Because bmake defaults to .../share/mk now, this code was not doing anything to help objdir builds (such as the rescue build). Export the same default. Sponsored by: EMC / Isilon Storage Division --- share/mk/src.sys.env.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/share/mk/src.sys.env.mk b/share/mk/src.sys.env.mk index 5620d1a68d61..07436bda319a 100644 --- a/share/mk/src.sys.env.mk +++ b/share/mk/src.sys.env.mk @@ -34,4 +34,7 @@ MK_META_MODE= no .if ${MAKESYSPATH:Uno:M*.../*} != "" MAKESYSPATH:= ${MAKESYSPATH:S,.../share/mk,${.PARSEDIR:tA},} .export MAKESYSPATH +.elif empty(MAKESYSPATH) +MAKESYSPATH:= ${.PARSEDIR:tA} +.export MAKESYSPATH .endif