Snow Leopard +universal necessity

Ryan Schmidt ryandesign at macports.org
Wed Sep 2 23:03:02 PDT 2009


On Sep 2, 2009, at 16:31, Joshua Root wrote:

> There is already a ticket open for this feature request:
> <http://trac.macports.org/ticket/20739>

> My initial thought is that ports that can only be built for limited
> architectures should be checking the archs of their dependencies and
> giving an informative error message if they are not what's needed.

Until we have #20739 and related, that's what I'd like to do. What's  
the best way for a port to figure out the architecture of a file? Do I  
have to use [exec lipo -info ${prefix}/lib/some.dylib] and parse the  
output or is there an easier way?




More information about the macports-dev mailing list