Date: Wed, 07 Mar 2012 11:39:50 +1000 From: Da Rock <freebsd-questions@herveybayaustralia.com.au> To: freebsd-questions@freebsd.org Subject: Re: port to package amd64 to i386 Message-ID: <4F56BC66.5000908@herveybayaustralia.com.au> In-Reply-To: <CA%2BtpaK2tjz8NDD0e=vLkfN27pcTW_-k=bSAjzBiQ5CpusGGyfQ@mail.gmail.com> References: <4F547C59.1040604@bananmonarki.se> <4F548571.1050203@gmail.com> <4F54ED12.1090409@bananmonarki.se> <20120305175551.ae24b6f0.freebsd@edvax.de> <4F564B17.1010700@bananmonarki.se> <CA%2BtpaK2tjz8NDD0e=vLkfN27pcTW_-k=bSAjzBiQ5CpusGGyfQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 03/07/12 04:13, Adam Vande More wrote: > On Tue, Mar 6, 2012 at 11:36 AM, Bernt Hansson<bah@bananmonarki.se> wrote: > >> Again, a "problem" is that packages can only be generated >>> if the port has been installed >>> >> Why is that. I hope you can educate me on that. >> > Because a package is the result of what is installed. It essentially works > somewhat like Debian's checkinstall by keeping track of what's installed by > the installation script, then using the info of what's installed to build > the package. I'm not exactly sure how "make package" works internally, but > it wouldn't surprise me if it's almost the same as "pkg_create -b". From what I understand of ports (as a maintainer) that is the case; plus some other bits and pieces for checking, verification, and cleanup.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F56BC66.5000908>