From owner-freebsd-questions@FreeBSD.ORG Mon Jun 5 17:17:19 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 F393916AC89 for ; Mon, 5 Jun 2006 17:17:18 +0000 (UTC) (envelope-from donaldj.fbsd@gmail.com) Received: from smtp101.sbc.mail.mud.yahoo.com (smtp101.sbc.mail.mud.yahoo.com [68.142.198.200]) by mx1.FreeBSD.org (Postfix) with SMTP id 7951E43D46 for ; Mon, 5 Jun 2006 17:17:18 +0000 (GMT) (envelope-from donaldj.fbsd@gmail.com) Received: (qmail 58957 invoked from network); 5 Jun 2006 16:34:51 -0000 Received: from unknown (HELO pres1750.airedalians.com) (donaldj@ameritech.net@75.7.74.134 with plain) by smtp101.sbc.mail.mud.yahoo.com with SMTP; 5 Jun 2006 16:34:51 -0000 From: "Donald J. O'Neill" To: freebsd-questions@freebsd.org Date: Mon, 5 Jun 2006 11:33:58 -0500 User-Agent: KMail/1.9.1 References: <200606031212.11908.jhorne@dfwlp.com> <200606041205.20737.jhorne@dfwlp.com> <44d5dn64j2.fsf@be-well.ilk.org> In-Reply-To: <44d5dn64j2.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606051133.58615.donaldj.fbsd@gmail.com> Cc: Jonathan Horne , Lowell Gilbert 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: Mon, 05 Jun 2006 17:17:31 -0000 On Monday 05 June 2006 09:49, Lowell Gilbert wrote: > Jonathan Horne writes: > > so, could i theoretically use 'make reinstall' on a fresh system > > where the port had never been previously installed? > > Maybe, maybe not. If "make install" doesn't work because there's > already a .install_done... file in the work directory, then > reinstall will be what you need. > _______________________________________________ I think a fresh system, where a port has never been installed, would not have a work directory in that port, so "make install" would work unless the port is broken. Using "make reinstall" in a port on a system that has been freshly reinstalled isn't going to save the OP anytime by avoiding recompiling ports, they'll be recompiled. How to save time is what he asked about, as he tends to experiment with this system and screw it up, requiring a reinstall from scratch. He also said that using "pkg_add -r" with, say kde, always tends to have something wrong with it. The answer is: when he installs the ports, make a package using "make package". Unfortunately, this doesn't make a package for ports required for that port, But, "make package-recursive" would, with the exception of certain ports, and he can get around that if he's clever enough. Another thing he can do is: use "pkg_create -b " and save it somewhere. Then he can do "pkg_add " and get that port and the required dependencies. If he's missing a dependency, oh well, guess what. Don