how to avoid recompiling applications?

Donald J. O'Neill duncan.fbsd at gmail.com
Sun Jun 4 10:42:37 PDT 2006


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.

Don


More information about the freebsd-questions mailing list