aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2006-01-23 22:29:26 +0000
committerMark Linimon <linimon@FreeBSD.org>2006-01-23 22:29:26 +0000
commit390e15c842ff6144fe8e8ec3036913ecef3e5e2d (patch)
tree66a3a9f47dfb9803f491353cc9c684cd098c6d32 /Mk/bsd.port.mk
parentd056c7e4f47ae42d61bd1014eae036a51647dd6b (diff)
downloadports-390e15c842ff6144fe8e8ec3036913ecef3e5e2d.tar.gz
ports-390e15c842ff6144fe8e8ec3036913ecef3e5e2d.zip
Fix regression in all-depends-list target on 4.X due to ancient, buggy,
make(1) that does not support -C properly. PR: ports/92188, 92189 Submitted by: tobez, linimon Patch from: clement Tested on: 4.10, 5.4, 6.0
Notes
Notes: svn path=/head/; revision=154297
Diffstat (limited to 'Mk/bsd.port.mk')
-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; \