On Fri, Aug 29, 2008 at 05:27:37AM -0600, macintoshzoom wrote: > Hi Marc Espie, > > > Marc Espie wrote: >> On Thu, Aug 28, 2008 at 01:31:32PM -0600, macintoshzoom wrote: >>> On my 4.4 i386 make update on ports kde fetches the distfiles/sources >>> and build the packages even when not installed at all nor requested. >> >> Yes, that's a feature... > > As you may have read, I have about 90% kde installed (from packages) and > I wanted to try latest kde cvs port tree, to see for improvements I want. > But I was candid thinking that make update on ports/x11/kde should be > clever enough to detect what packages are already installed to update > them from the ports. > My mistake ended with some GB of unrequired nor installed nor requested > distfiles and packages fetched and built by make update, leaving my box > (/usr) out of space. > > >> >> make update has to build the packages to know whether or not it needs >> to update them. > > It should be a better and clever way to do that, instead of downloading > huge MBs and spending huge hours creating useless packages to say later > "not installed, not update required" or something like that. > At least it could be so kind to delete the useless distfiles and > packages, or creating those in the tmp partition, till verification of > if they are really needed.
That's not the intent of make update. Sorry, it's useful for us, we won't change semantics of make update. The goal is to keep it simple stupid, and doing what you would want is - ways more complicated - has no actual benefits. There are loads of ways to do things the way you want, you can very easily produce a SUBDIRLIST of what's installed on your machine, and use it to drive ports. Or you can read the documentation of pkg_add and fiddle with PKG_PATH.
