<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>muniversal overrides configure. In that function, there is a loop over <span class="Apple-style-span" style="font-family: Menlo; font-size: 11px; ">universal_archs_to_use</span>. I want the portfile to be able intercept each iteration of that loop and take an action based on the current configure.XXX variables.</div><div><br></div><div><br></div><div>the reason for the need:</div><div><br></div><div>To build the boost port for arm, I need to use muniversal since the "combined" architecture setting is specific to powerpc/intel.  In the boost portfile, I need a user-config.jam for each arch.</div><div><br></div><div><br></div><div>NOTE: I have looked into modifying the boost build system so that "combined" works for armv6 and armv7. It should be doable, but I want to get the system working for the existing structure of boost since the whole point of this exercise is to prove the existing structure of macports can be extended to cover the needs of various ports.</div><div><br></div><div>-James</div><div><br></div><div><br></div><br><div><div>On Feb 8, 2011, at 2:26 PM, Daniel J. Luke wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On Feb 8, 2011, at 5:11 PM, James Gregurich wrote:<br><blockquote type="cite"><br></blockquote><blockquote type="cite">I'm trying to figure out how to add a callback to a port such that the function gets called if it exists. Can someone point me to an example of how to properly set that pattern up?<br></blockquote><br>It might help if you would explain what you're actually trying to accomplish (as there may be an alternate way of achieving what you want).<br><br>--<br>Daniel J. Luke                                                                   <br>+========================================================+                        <br>| *---------------- <a href="mailto:dluke@geeklair.net">dluke@geeklair.net</a> ----------------* |                          <br>| *-------------- <a href="http://www.geeklair.net">http://www.geeklair.net</a> -------------* |                          <br>+========================================================+                        <br>|   Opinions expressed are mine and do not necessarily   |                          <br>|          reflect the opinions of my employer.          |                          <br>+========================================================+<br><br><br><br></div></blockquote></div><br></body></html>