Date: Sun, 4 Jun 2006 16:23:25 -0500 From: "Donald J. O'Neill" <duncan.fbsd@gmail.com> To: Mikhail Goriachev <mikhailg@webanoide.org> Cc: Jonathan Horne <jhorne@dfwlp.com>, freebsd-questions@freebsd.org, Nikolas Britton <nikolas.britton@gmail.com> Subject: Re: how to avoid recompiling applications? Message-ID: <200606041623.25563.duncan.fbsd@gmail.com> In-Reply-To: <44831E55.6090707@webanoide.org> References: <200606031212.11908.jhorne@dfwlp.com> <200606041241.43397.duncan.fbsd@gmail.com> <44831E55.6090707@webanoide.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 04 June 2006 12:54, Mikhail Goriachev wrote: > Donald J. O'Neill wrote: > > On Sunday 04 June 2006 12:19, Nikolas Britton wrote: > >> On 6/4/06, Jonathan Horne <jhorne@dfwlp.com> wrote: > >>> so, could i theoretically use 'make reinstall' on a fresh system > >>> where the port had never been previously installed? > > > > No, you can't. > > > >> Yes... but what's the point?... when you can make your own > >> packages. instead of typing 'make install' type 'make package', > >> this will spit out a .tbz file you can use with pkg_add etc... > >> http://www.onlamp.com/pub/a/bsd/2003/08/07/FreeBSD_Basics.html > > > > Now, this is what I do, except do it "make package-recursive", that > > way you get any packages that have been installed as requirements. > > > > Be sure to do "mkdir /usr/ports/packages", otherwise, the packages > > you're making are going to be stored in the individual port. If you > > have /usr/ports/packages, they'll be stored in one location that > > you can copy elsewhere, cd or dvd for instance. > > You could also use pkg_create. > > man pkg_create > > Cheers, > Mikhail. Yes, you could, if it's already installed on the computer. If I took the output from pkg_info and compared it to what packages were in /usr/ports/packages/All, I could use pkg_create to build the missing packages I wanted to save to do a fast reinstall. But, if the port hasn't been built and installed yet, pkg_create will complain about it and conk out. Don
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606041623.25563.duncan.fbsd>