From 59de89b3220dab9cc0cef13e0390f22a015ff4d2 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Thu, 4 Apr 2002 10:06:00 +0000 Subject: Fix another "last" bug introduced with the speed-up commit. In some conditions the bug resulted in "sh: Argument list too long" message during dependency registration process. Reported by: *many* Submitted by: Joe Marcus Clarke --- Mk/bsd.port.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'Mk') diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 417e5c03a73b..3fec1fc0cb71 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -3154,6 +3154,7 @@ PACKAGE-DEPENDS-LIST= \ if (${ECHO} $$checked | ${GREP} -qwv "$$dir"); then \ childout=$$(cd $$dir; ${MAKE} CHILD_DEPENDS=yes PARENT_CHECKED="$$checked" package-depends-list); \ set -- $$childout; \ + childname=""; childdir=""; \ while [ $$\# != 0 ]; do \ childname="$$childname $$1"; \ childdir="$$childdir $$2"; \ -- cgit v1.2.3