how to avoid recompiling applications?
Donald J. O'Neill
duncan.fbsd at gmail.com
Sun Jun 4 14:24:18 PDT 2006
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 at 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
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.
More information about the freebsd-questions