[PC-BSD Pbi-dev] pbi_makeport process.. (via beta2.0)

Kris Moore kris at pcbsd.org
Wed Sep 28 11:36:34 PDT 2011

On 09/15/11 04:43, Tigersharke . wrote:
> Hello!
> Since I have been bitten a number of times (more than 3) by the
> "ports/pkgs erased when system is modified or updated" rule, I decided
> that I would figure out how to build PBIs of those things I use.
> pbi_makeport for my first multiple attempts _seemed to stall_.  After
> I finally decided to let it alone for what may have been in excess of
> 10 hours, is when it actually was successful and I discovered
> pbi_makeport wasn't stalled.
> Therefore, I would like to request some kind of indication (for those
> who are new to using pbi_makeport) that it is actually *doing*
> something, or that it is continuing to do something.
> An alternative to this might be a separate process (via switch) or a
> separate command, pbi_buildenv which purely does the initial
> environment construction.
> If this pbi build environment (jail) setup didn't take so long, I
> would suggest it somehow be pre-made or setup during the install
> process. Thankfully, for as long as that initial environment setup
> takes, it is only oppressively long for the very first instance.. I
> suppose, because I choose not to erase everything prior to my
> successive PBI builds. I'm sure there may be other ways to speed up
> the building of a PBI- my main hope was that if I did not 'clean' the
> port's directory after building the port (ie, simply: make install),
> that it might use things from there.
> Another thought, when using pbi_makeport, is the ports tree used?
> Specifically, if I configure a port with certain options, within its
> location of the ports tree, is that configuration honored so that the
> PBI is built according to those options?  If not, how would I
> accomplish such a thing?
> Since the wiki pages for pbi building feel like they are a little
> terse, those of us who become more familiar with the process will
> hopefully find time to improve it (myself included).
> Thanks!

The ports tree is used when doing pbi_makeport, however the
/etc/make.conf is not. Those options can be set in a PBI modules
pbi.conf file by setting something like:


Kris Moore
PC-BSD Software

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pcbsd.org/pipermail/pbi-dev/attachments/20110928/15be212a/attachment.html>

More information about the Pbi-dev mailing list