From owner-freebsd-ports Tue Oct 9 4:40: 6 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2128A37B405 for ; Tue, 9 Oct 2001 04:40:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f99Be3c46014; Tue, 9 Oct 2001 04:40:03 -0700 (PDT) (envelope-from gnats) Date: Tue, 9 Oct 2001 04:40:03 -0700 (PDT) Message-Id: <200110091140.f99Be3c46014@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Peter Pentchev Subject: Re: ports/31113: bsd.ports.subdir.mk: remove NOCLEANDEPENDS from the /etc/make.conf Reply-To: Peter Pentchev Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/31113; it has been noted by GNATS. From: Peter Pentchev To: Edwin Groothuis Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: ports/31113: bsd.ports.subdir.mk: remove NOCLEANDEPENDS from the /etc/make.conf Date: Tue, 9 Oct 2001 14:30:01 +0300 On Mon, Oct 08, 2001 at 12:03:47PM +1000, Edwin Groothuis wrote: > > >Number: 31113 > >Category: ports > >Synopsis: bsd.ports.subdir.mk: remove NOCLEANDEPENDS from the /etc/make.conf > >Originator: Edwin Groothuis > >Release: FreeBSD 4.4-RELEASE i386 > >Organization: > - > >Environment: > System: FreeBSD k7.mavetju.org 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Thu Oct 4 08:49:05 EST 2001 edwin@k7.mavetju.org:/usr/src/sys/compile/k7 i386 > > >Description: > > When using "make clean" in a directory below /usr/ports/*, default > is to do a make clean for the dependant ports also. This is nice. > > When using "make clean" in /usr/ports or in a directory of > /usr/ports/*, default is to do a make clean for the dependant ports > also. This is not nice, because a lot of ports have the same > dependencies, causing a *lot* of extra calls for "make clean"s which > are not needed. > > The solution for this is to add NOCLEANDEPENDS=yes in /etc/make.conf. > But then next time when you run "make clean" in a freshly cleaned > ports-directory, it will not clean the dependencies (which is > exactly what is wanted with putting it in /etc/make.conf). Uhm.. wouldn't a simpler solution be to specify NOCLEANDEPENDS for just that one run of make(1), on the command line? Something like 'make NOCLEANDEPENDS=yes clean' or simply 'make -DNOCLEANDEPENDS clean'? G'luck, Peter -- If the meanings of 'true' and 'false' were switched, then this sentence wouldn't be false. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message