On Jan 3, 2007, at 15:36, Kevin Ballard wrote:
In addition, the Mozilla project has a script (unfortunately I forget the exact name) which takes 2 single-architecture trees and combines them via lipo. It creates a new tree that contains all files that are the same in the 2 old trees. Any differing files that are binaries it combines via lipo. Any differing files that aren't binaries it tosses (can't do anything else with them), so you have to be careful in some projects (if, say, it builds a header file for distribution that changes per-architecture), but in general it works quite well.
I was very interested in such a script, and found it inside the Firefox 2.0.0.1 source tarball. It's called "unify" and it works great for me (in a non-MacPorts context).