Subject: Re: update pkgsrc package
To: Georges Heinesch <geohei-ml@geohei.lu>
From: David Brownlee <abs@netbsd.org>
List: tech-pkg
Date: 05/18/2001 10:54:26
On 18 May 2001, Georges Heinesch wrote:

> Thanks very much for your explanantions.
>
> 1. Is there no tool which lists all dependencies of a package in order
>    to get a clue how to optimize the order the update should happen?
>
	You can run 'pkg_info -R <pkg>' - lintpkgsrc should probably
	be upated to involve that.

> 2. I never made "make clean" or "make clean CLEANDEPENDS=YES"
>    Should I always make one of these after a build?
>
	I always set WRKOBJDIR to /var/obj/pkg, then just rm -rf
	that as needed. I think we should have a better way to handle
	that. Hmm - I thikn thats worth a new thread :)

> 3. When updating a new package, I guess the right thing would be to cd
>    to the relevant directory and to say:
>
>        "make clean" (or "make clean CLEANDEPENDS=YES" ?)
>        "make fetch-list | sh"
>        "make update"
>
>    Is that correct?

	That would be a good procedure.