Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Oct 2001 04:40:03 -0700 (PDT)
From:      Peter Pentchev <roam@ringlet.net>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/31113: bsd.ports.subdir.mk: remove NOCLEANDEPENDS from the /etc/make.conf
Message-ID:  <200110091140.f99Be3c46014@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/31113; it has been noted by GNATS.

From: Peter Pentchev <roam@ringlet.net>
To: Edwin Groothuis <edwin@mavetju.org>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110091140.f99Be3c46014>