Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Jun 2006 03:54:29 +1000
From:      Mikhail Goriachev <mikhailg@webanoide.org>
To:        "Donald J. O'Neill" <duncan.fbsd@gmail.com>
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:  <44831E55.6090707@webanoide.org>
In-Reply-To: <200606041241.43397.duncan.fbsd@gmail.com>
References:  <200606031212.11908.jhorne@dfwlp.com>	<200606041205.20737.jhorne@dfwlp.com>	<ef10de9a0606041019m37693824y27e541088ef206c0@mail.gmail.com> <200606041241.43397.duncan.fbsd@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: mikhailg@webanoide.org
Web: http://www.webanoide.org

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44831E55.6090707>