port to package amd64 to i386

Da Rock freebsd-questions at herveybayaustralia.com.au
Wed Mar 7 01:45:06 UTC 2012


On 03/07/12 04:13, Adam Vande More wrote:
> On Tue, Mar 6, 2012 at 11:36 AM, Bernt Hansson<bah at 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.


More information about the freebsd-questions mailing list