how to avoid recompiling applications?

Mikhail Goriachev mikhailg at
Sun Jun 4 10:54:56 PDT 2006

Donald J. O'Neill wrote:
> On Sunday 04 June 2006 12:19, Nikolas Britton wrote:
>> On 6/4/06, Jonathan Horne <jhorne at> 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...
> 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


Mikhail Goriachev

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: mikhailg at

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B

More information about the freebsd-questions mailing list