Subject: Re: how to build a package without installation
To: Alexander Bubnov <alexander.bubnov@gmail.com>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-users
Date: 03/05/2007 13:59:38
> Hello! I am a new in NetBSD. Can you help to find out the subj.?
> 
> On my PC package B is installed. But I would like to build this package B
> for my friend from pkgsrc because my friend does not want to download it or
> build from source. If I try to do in this case I get an error that package B
> is already installed.
> How can I install package B without reinstallation?

Use pkgsrc/pkgtools/pkg_tarup to build a binary package of a package you 
already have installed.

Or "deinstall" your current package and then reinstall it with "make 
package".

Or build it with a different LOCALBASE.

Or build it in a chroot environment.

Several other ways too...


  Jeremy C. Reed