From owner-freebsd-current Thu Feb 21 16:29:47 2002 Delivered-To: freebsd-current@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id A074E37B402; Thu, 21 Feb 2002 16:29:43 -0800 (PST) Received: by flood.ping.uio.no (Postfix, from userid 2602) id F160D5341; Fri, 22 Feb 2002 01:29:41 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Alfred Perlstein Cc: Luigi Rizzo , Bruce Evans , "M. Warner Losh" , current@FreeBSD.ORG, msmith@FreeBSD.ORG Subject: Re: Proposed patch for "/bin/sh: Argument list too long" when compiling LINT ... References: <20020218.174959.96666779.imp@village.org> <20020219193515.Y1320-100000@gamplex.bde.org> <20020219004144.A25474@iguana.icir.org> <20020219085306.GL12136@elvis.mu.org> <20020221151439.D53952@iguana.icir.org> <20020221161651.E54262@iguana.icir.org> <20020222002822.GJ12136@elvis.mu.org> From: Dag-Erling Smorgrav Date: 22 Feb 2002 01:29:41 +0100 In-Reply-To: <20020222002822.GJ12136@elvis.mu.org> Message-ID: Lines: 15 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-=-= Alfred Perlstein writes: > * Dag-Erling Smorgrav [020221 16:19] wrote: > > Ah, of course! now why didn't I think of that? :) > My first thought was: > "If make(1) doesn't have that functionality I will beat it into it > with a lead pipe..." Heh :) Here's a patch, anyway. DES -- Dag-Erling Smorgrav - des@ofug.org --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=kern.post.mk.diff Index: kern.post.mk =================================================================== RCS file: /home/ncvs/src/sys/conf/kern.post.mk,v retrieving revision 1.7 diff -u -r1.7 kern.post.mk --- kern.post.mk 10 Jan 2002 03:52:00 -0000 1.7 +++ kern.post.mk 22 Feb 2002 00:22:39 -0000 @@ -93,10 +93,10 @@ ${SYSTEM_SFILES} ${MFILES:T:S/.m$/.h/} if [ -f .olddep ]; then mv .olddep .depend; fi rm -f .newdep - env MKDEP_CPP="${CC} -E" CC="${CC}" \ - mkdep -a -f .newdep ${CFLAGS} ${CFILES} ${SYSTEM_CFILES} ${GEN_CFILES} - env MKDEP_CPP="${CC} -E" \ - mkdep -a -f .newdep ${ASM_CFLAGS} ${SFILES} ${SYSTEM_SFILES} + ${MAKE} -VCFILES -VSYSTEM_CFILES -VGEN_CFILES | xargs\ + env MKDEP_CPP="${CC} -E" CC="${CC}" mkdep -a -f .newdep ${CFLAGS} + ${MAKE} -VSFILES -VSYSTEM_FILES | xargs\ + env MKDEP_CPP="${CC} -E" mkdep -a -f .newdep ${ASM_CFLAGS} rm -f .depend mv .newdep .depend --=-=-=-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message