aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mk/bsd.port.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index e106b393a9b1..6206f3dfd118 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -4602,7 +4602,7 @@ ALL-DEPENDS-LIST= \
continue; \
fi; \
${ECHO_CMD} $$d; \
- if ! children=$$(${MAKE} -C $$d -V _DEPEND_DIRS); then\
+ if ! children=$$(cd $$d && ${MAKE} -V _DEPEND_DIRS); then\
${ECHO_MSG} "${PKGNAME}: \"$$d\" erroneous -- dependency list incomplete" >&2; \
continue; \
fi; \