From owner-freebsd-questions@FreeBSD.ORG Sun Jun 4 21:24:18 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 61FA416A49E for ; Sun, 4 Jun 2006 21:24:18 +0000 (UTC) (envelope-from duncan.fbsd@gmail.com) Received: from smtp101.sbc.mail.re2.yahoo.com (smtp101.sbc.mail.re2.yahoo.com [68.142.229.104]) by mx1.FreeBSD.org (Postfix) with SMTP id C9B7843D49 for ; Sun, 4 Jun 2006 21:24:17 +0000 (GMT) (envelope-from duncan.fbsd@gmail.com) Received: (qmail 17948 invoked from network); 4 Jun 2006 21:24:17 -0000 Received: from unknown (HELO pres1750.airedalians.com) (donaldj@ameritech.net@75.7.74.134 with plain) by smtp101.sbc.mail.re2.yahoo.com with SMTP; 4 Jun 2006 21:24:17 -0000 From: "Donald J. O'Neill" To: Mikhail Goriachev Date: Sun, 4 Jun 2006 16:23:25 -0500 User-Agent: KMail/1.9.1 References: <200606031212.11908.jhorne@dfwlp.com> <200606041241.43397.duncan.fbsd@gmail.com> <44831E55.6090707@webanoide.org> In-Reply-To: <44831E55.6090707@webanoide.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606041623.25563.duncan.fbsd@gmail.com> Cc: Jonathan Horne , freebsd-questions@freebsd.org, Nikolas Britton Subject: Re: how to avoid recompiling applications? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jun 2006 21:24:18 -0000 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 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