aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2006-01-24 06:29:26 +0800
committerlinimon <linimon@FreeBSD.org>2006-01-24 06:29:26 +0800
commit7335836da71663b177215364c36e4a744a532961 (patch)
tree80391eca9ac88515e97506dee30df328fc355a4c /Mk
parent5d0a542c5714b23c83c78f1c1079febfd1c3cbcb (diff)
downloadfreebsd-ports-gnome-7335836da71663b177215364c36e4a744a532961.tar.gz
freebsd-ports-gnome-7335836da71663b177215364c36e4a744a532961.tar.zst
freebsd-ports-gnome-7335836da71663b177215364c36e4a744a532961.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
Diffstat (limited to '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; \