Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Aug 2000 07:16:32 -0400 (EDT)
From:      "Chris D. Faulhaber" <jedgar@fxp.org>
To:        Brandon Fosdick <bfoz@glue.umd.edu>
Cc:        ports@freebsd.org
Subject:   Re: make clean in /usr/ports
Message-ID:  <Pine.BSF.4.21.0008090712140.2042-100000@earth.causticlabs.com>
In-Reply-To: <3990CC2A.B9A2EED8@glue.umd.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 8 Aug 2000, Brandon Fosdick wrote:

> Why do I have to specify -DNOCLEANDEPENDS when doing a 'make clean' in
> /usr/ports? Why would anyone want to clean dependencies when cleaning the entire
> ports tree? Isn't that kinda redundant? 

Why would anyone 'make clean' in /usr/ports in the first
place?  Dependencies are cleaned automatically so that when a port is
installed, everything that may have been built is cleaned.

> 
> I can already hear the response..."Send a patch...". Have you actually looked at
> the makefiles? I have a better chance of decphering the Iliad written in
> cuneiform.
> 

Hmmm, if you *need* to 'make clean' in /usr/ports, how about just adding
"NOCLEANDEPENDS=yes" to /usr/ports/Makefile ?

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/Makefile,v
retrieving revision 1.57
diff -u -r1.57 Makefile
--- Makefile	2000/07/31 00:09:41	1.57
+++ Makefile	2000/08/09 11:15:55
@@ -48,6 +48,7 @@
 SUBDIR += x11-toolkits
 SUBDIR += x11-wm
 
+NOCLEANDEPENDS=	yes
 PORTSTOP=	yes
 
 .include <bsd.port.subdir.mk>

-----
Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org
--------------------------------------------------------
FreeBSD: The Power To Serve   -   http://www.FreeBSD.org



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?Pine.BSF.4.21.0008090712140.2042-100000>