Date: Mon, 05 Jun 2006 20:42:06 +0100 From: Alex Zbyslaw <xfb52@dial.pipex.com> To: Jonathan Horne <jhorne@dfwlp.com> Cc: "Donald J. O'Neill" <donaldj.fbsd@gmail.com>, freebsd-questions@freebsd.org Subject: Re: how to avoid recompiling applications? Message-ID: <4484890E.1070808@dial.pipex.com> In-Reply-To: <200606051133.58615.donaldj.fbsd@gmail.com> References: <200606031212.11908.jhorne@dfwlp.com> <200606041205.20737.jhorne@dfwlp.com> <44d5dn64j2.fsf@be-well.ilk.org> <200606051133.58615.donaldj.fbsd@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Donald J. O'Neill wrote: >On Monday 05 June 2006 09:49, Lowell Gilbert wrote: > > >>Jonathan Horne <jhorne@dfwlp.com> 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. >>_______________________________________________ >> >> > >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 ><some-port-already-installed>" and save it somewhere. Then he can >do "pkg_add <that-saved-port.tbz>" and get that port and the required >dependencies. If he's missing a dependency, oh well, guess what. > > > portupgrade -pr works a treat: -p --package Build a package when each specified port is installed or upgraded. If a package is upgraded and its dependent packages are given from the com- mand line (including the case where -r is speci- fied), build packages for them as well. combined with pkg_create -b for already installed stuff and you should never have to compile the same version of a port more than once. --Alex
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4484890E.1070808>